Page 1 of 1

Cannot start oXygen XML Author due to java.lang.reflect.InvocationTargetException

Posted: Tue Jan 19, 2016 8:12 pm
by amberink
Hi there,

After the latest round of Windows updates, I can no longer start any of my oxygen products. When I try, I get the following error:
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

Can you please tell me how to fix this?

Thanks, Amber

Re: Cannot start oXygen XML Author due to java.lang.reflect.InvocationTargetException

Posted: Tue Jan 19, 2016 10:00 pm
by adrian
Hi,

What version of Oxygen is this? (The error can only be decoded if the version is known.)
Also, on what version of Windows are you running Oxygen?

Regards,
Adrian

Re: Cannot start oXygen XML Author due to java.lang.reflect.InvocationTargetException

Posted: Tue Jan 19, 2016 10:18 pm
by adrian
Hi again,

I've checked our issue tracking tool and this looks like a problem with write access to the temporary folder from your user account.

Could you please check if you have write access in the TEMP folder (C:\Users\<username>\AppData\Local\Temp) ?
You can easily navigate to the Temp folder by typing in the Windows Explorer address bar "%TEMP%" (without the quotes) and pressing ENTER.
Inside the Temp folder look for a folder named "OxygenXMLTemp" and if it exists, please delete it.
Try running Oxygen again.

Let me know if the problem persists.

Regards,
Adrian

Re: Cannot start oXygen XML Author due to java.lang.reflect.InvocationTargetException

Posted: Tue Feb 02, 2016 9:13 pm
by amberink
Thanks for the help. Although I'm the administrator for the computer, I'm not able to change the permissions on the Temp folder from Read-only. I've tried taking ownership and then changing them, but still no joy. This is Windows 7. I realize that this is a Windows issue, but would appreciate any suggestions that you might have.

Thanks, Amber

Re: Cannot start oXygen XML Author due to java.lang.reflect.InvocationTargetException

Posted: Tue Feb 02, 2016 10:00 pm
by adrian
Hi,

Not sure what can be done about the Temp folder issue. Can you create or delete folders within it?
Did you find the OxygenXMLTemp folder there? Can you delete or rename it?

Regards,
Adrian

Re: Cannot start oXygen XML Author due to java.lang.reflect.InvocationTargetException

Posted: Wed Feb 03, 2016 12:41 am
by amberink
There is no OxygenXMLTemp folder in Temp and I think it's because it can't be created due to the read only setting on the folder.

I'll keep looking online for solutions to the permissions issue.

Thanks for your help, A