Page 1 of 1

can't start Oxygen (java.lang.reflect.InvocationTargetExcept

Posted: Thu Mar 20, 2014 9:22 pm
by amberink
Hi there,

Mysteriously, I am no longer able to start any instances of Oxygen on my Win 7 system. This includes v. 13.2, 14.2, and 15.2 (yes, I have all of these...).

Any ideas on what caused this to suddenly occur and how to fix this?

Re: can't start Oxygen (java.lang.reflect.InvocationTargetEx

Posted: Tue Mar 25, 2014 5:03 pm
by adrian
Hi,

I'm mentioning here the cause and the solution in case anyone else encounters this.
The full stack trace is:

Code: Select all

Cannot start <oXygen/> XML Author.
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.h(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)
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 com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
at ro.sync.exml.MainFrame.<init>(Unknown Source)
at ro.sync.exml.MainFrame.<init>(Unknown Source)
... 18 more
Caused by: java.lang.NullPointerException
at ro.sync.exml.s.g.<clinit>(Unknown Source)
... 20 more
The point of failure is at the end of the stack trace:

Code: Select all

Caused by: java.lang.NullPointerException
at ro.sync.exml.s.g.<clinit>(Unknown Source)
... 20 more
The problem in this case was that the temporary folder that Oxygen uses (OxygenXMLTemp from the system temporary folder) no longer had write access for some reason.
Deleting or renaming the OxygenXMLTemp folder from the system temporary folder resolved the problem.
To quickly locate the system temporary folder in Windows, open Windows Explorer, type in the address bar %TEMP% and press Enter.

Regards,
Adrian