[oXygen-user] InvocationTargetException

Sorin Ristache
Tue Apr 24 09:46:36 CDT 2007


We got this error with a Java virtual machine 1.6.0 beta version but the 
Java 1.6.0 final version fixed the problem. What is the Java version 
reported by the following command?

java -version

You should try to run oXygen with a different version of Java virtual 
machine. If you start oXygen from the Start menu in order to change the 
Java virtual machine you have to set the home folder of the JVM that 
will run oXygen with a property like

JRE Path=C:\path\to\JRE\home\folder

added in the file [oXygen-install-folder]\oxygen8.1.ini, the section 
[Virtual Machine Parameters].

If you start oXygen using the oxygen.bat script you have to set the full 
path to java.exe in the java command inside this script. Other 
possibility is to install the Windows kit that includes a JVM because 
the included JVM was tested with oXygen before the release.


Chris Lilley wrote:
> On Tuesday, April 24, 2007, 9:12:36 AM, Sorin wrote:
> SR> Hello,
> SR> Please select and copy the whole stack trace from the dialog and post it
> SR> to the list. The lower part should contain a "caused by" stack trace and
> SR> it is not visible in your screenshot.
> Its truncated in the dialog, which is why I asked if there was some log file that I should post. Here is the contents of the dialog:
> Cannot start <oXygen/> XML Editor.
> 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.R.<init>(Unknown Source)
> 	at ro.sync.ui.F.<init>(Unknown Source)
> 	at ro.sync.ui.F.A(Unknown Source)
> 	at ro.sync.ui.application.L.<init>(Unknown Source)
> 	at ro.sync.exml.MainFrame.<init>(Unknown Source)
> 	at ro.sync.exml.MainFrame.<init>(Unknown Source)
> 	... 11 more
> The "11 more" is literal text in the dialog

More information about the oXygen-user mailing list