You are here

JPortable Bug when querying sun.awt.shell.Win32ShellFolder2

1 post / 0 new
Mexxxi
Offline
Last seen: 10 years 7 months ago
Joined: 2013-10-01 05:04
JPortable Bug when querying sun.awt.shell.Win32ShellFolder2

I tried to use JPortable 7 u40 with JPC-rr, a DOS-emulator (http://tasvideos.org/EmulatorResources/JPC.html). Part of it starts, but it errors out before being fully loaded with the following message:


Attempted to access null pointer

call of sun.awt.shell.Win32ShellFolder2$7
call of sun.awt.shell.Win32ShellFolder2$7
invoke of sun.awt.shell.Win32ShellFolderManager2$ComInvoker
invoke of sun.awt.shell.ShellFolder
invoke of sun.awt.shell.ShellFolder
getFileSystemPath of sun.awt.shell.Win32ShellFolder2
access$300 of sun.awt.shell.Win32ShellFolder2
call of sun.awt.shell.Win32ShellFolder2$2
call of sun.awt.shell.Win32ShellFolder2$2
innerRun of java.util.concurrent.FutureTask$Sync
run of java.util.concurrent.FutureTask
runTask of java.util.concurrent.ThreadPoolExecutor$Worker
run of java.util.concurrent.ThreadPoolExecutor$Worker
run of sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3
run of java.lang.Thread

The error occurs when starting the program manually via command line as well as when using JavaPortableLauncher. This error seems to plague all virtualizing apps as it occurs also when virtualizing Java with Spoon and Thinapp, yet the program runs without a hitch when Java is installed natively.

Any fix to remedy this behaviour would be greatly appreciated.