Page 1 of 1

Cannot start <oXygen/>

Posted: Wed Jan 17, 2007 12:12 am
by erik_y
Really hate to make my first post like this...
Attempting to start Oxygen gives the following message in a "fatal error" window at 2%
Cannot start <oXygen/>.
Due to:java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.A(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.launch(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at ro.sync.exml.Oxygen.main(Unknown Source)
Caused by: java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at javax.swing.ImageIcon.<init>(Unknown Source)
at sun.swing.WindowsPlacesBar.<init>(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFolder(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponents(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknown Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknown Source)
at javax.swing.JFileChooser.setup(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at ro.sync.ui.Q.<init>(Unknown Source)
at ro.sync.ui.F.<init>(Unknown Source)
at ro.sync.ui.F.A(Unknown Source)
at ro.sync.ui.application.K.<init>(Unknown Source)
at ro.sync.exml.MainFrame.<init>(Unknown Source)
at ro.sync.exml.MainFrame.<init>(Unknown Source)
... 11 more
I've tried everything from uninstalling everything java and oxygen and reinstalling them to a few tries at similar looking problems (resetting any changes between each attempt,) with no luck. I don't know enough about Java or the internals of Oxygen to figure out what's going wrong, and it was working fine up until a few days ago.

Posted: Wed Jan 17, 2007 12:56 pm
by sorin_ristache
Hello,

It seems a problem in the JVM that cannot load an icon for the Swing file browser dialog that comes with the JVM. Install a different version of the JVM and start oXygen with this JVM by setting the JAVA_HOME variable to the home folder of the JVM if you start oXygen from the shortcut or specifying the path to the java executable in the oxygen.bat script if you start oXygen with this script.


Regards,
Sorin

Posted: Thu Jan 18, 2007 6:13 am
by erik_y
sorin wrote:...JVM... cannot load an icon...
Oh.

:oops:
This is one of those cases where "replace user and try again" is wholly appropriate.

I had altered the default icons for several system folders, and then just recently, and rather stupidly, deleted the folder containing said icons.

Restored all icons to default and Oxygen works.
:D