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

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
amberink
Posts: 12
Joined: Sat Apr 14, 2012 9:00 pm

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

Post by amberink » Thu Mar 20, 2014 9:22 pm

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?

adrian
Posts: 2659
Joined: Tue May 17, 2005 4:01 pm

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

Post by adrian » Tue Mar 25, 2014 5:03 pm

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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Post Reply