Page 1 of 1

java.lang.reflect.InvocationTargetException

Posted: Thu Sep 22, 2011 8:32 pm
by 4jsshannon
Hi,

I'm getting the error below when I try to open XML Editor 12.1. I have tried installing a fresh copy into a different directory and I still have the issue.

I am using Windows 7 Professional, 32-bit

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.e(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.NullPointerException
at ro.sync.exml.editor.projecteditingstate.c.h(Unknown Source)
at ro.sync.exml.editor.projecteditingstate.c.q(Unknown Source)
at ro.sync.exml.editor.projecteditingstate.c.i(Unknown Source)
at ro.sync.exml.project.z.ltf(Unknown Source)
at ro.sync.exml.project.m.xjl(Unknown Source)
at ro.sync.exml.project.m.dkl(Unknown Source)
at ro.sync.exml.project.m.vjl(Unknown Source)
at ro.sync.exml.MainFrame.<init>(Unknown Source)
at ro.sync.exml.MainFrame.<init>(Unknown Source)
... 18 more

Re: java.lang.reflect.InvocationTargetException

Posted: Thu Sep 22, 2011 9:49 pm
by adrian
Hello,

This issue has been resolved in v12.2 of Oxygen. You can download it from our software archive:
http://www.oxygenxml.com/software_archive.html

If for some reason you would rather keep using v12.1, you can resolve this issue by moving(or renaming) the Oxygen options file:
C:\Users\<username>\AppData\Roaming\com.oxygenxml\oxyOptionsSa12.1.xml
When starting Oxygen, all options will be reset to their defaults. If you need the old options, you can import them from the old options file with Options > Import Global Options.

Regards,
Adrian