Page 1 of 1

Fatal Error oXygen 7.1

Posted: Tue Apr 18, 2006 5:26 pm
by Eric
Hi,
My OS Platform is Windows 2003 Server R2, and using Visual Studio 2003, then I install the jre-1_5_0_06-windows-i586-p.exe. After that, I install oxygen.exe(download from http://www.oxygenxml.com/download.html, w/o Java VM),but after installation, it show these error msgs.(in a Java Fatal Error dialog)
======================================================================
Cannot start <oXygen/>.
Due to:java.lang.NullPointerException
java.lang.NullPointerException
at com.sun.java.swing.plaf.windows.XPStyle.getString(Unknown Source)
at com.sun.java.swing.plaf.windows.XPStyle.getString(Unknown Source)
at com.sun.java.swing.plaf.windows.XPStyle.getDimension(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsProgressBarUI.getPreferredInnerHorizontal(Unknown Source)
at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.JRootPane$RootLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at java.awt.Window.pack(Unknown Source)
at ro.sync.ui.application.O.A(Unknown Source)
at ro.sync.ui.application.O.<init>(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)
=====================================================================
what can i do with this error? Thanks
Best Regards,
Eric

Posted: Tue Apr 18, 2006 5:53 pm
by sorin_ristache
Hello,

I think you just run into a bug in the Java runtime from Sun Microsystems. It occurs only on few Windows computers. As described on Sun's website for this bug you have to set the Windows XP style in Windows in Display Properties -> Appearance before starting <oXygen/>. If you want to use other style in Windows first set the Windows XP style in Display Properties -> Appearance, start <oXygen/>, change the look and feel in Options -> Preferences -> Global and then you can return to your Windows style in Display Properties -> Appearance. That means you cannot use at the same time the default look and feel of <oXygen/> on the Windows platform and other Windows style than the Windows XP style.

Regards,
Sorin

Doesn't Work

Posted: Wed Apr 19, 2006 2:22 am
by Eric
Hi, Thanks for your advise,but there is no XP Style option in Display Properties, I try to set the default display mode and then start oXygen, but still not work. Please,could you tell me how to set the Display Properties in XP Style, and I will try them on my other PCs(OS:WinXP Professional), anyway, Thank you very much. :D
Regards,

Posted: Wed Apr 19, 2006 10:10 am
by sorin_ristache
Hello,

In Windows you can set the style from Start menu -> Settings -> Control Panel -> Display (double-clicking on Display opens the Display Properties tab) -> the Appearance tab -> the Windows and buttons combo box. What items does this combo box contain on your Windows computer ? On my computer it contains Windows XP style and Windows Classic style.

Regards,
Sorin

Many Many Thanks!

Posted: Wed Apr 19, 2006 10:56 am
by Eric
Hi,Thanks, I got it, and it works on XP platform, many many thanks... I'll try on my Win2003Server laterly... Thank you very much!
Regards,
Eric

Posted: Wed Apr 19, 2006 11:43 am
by Mircea
Hi Eric,

We tried to implement a workaround for this problem. Please download the oxygen.jar from

http://www.oxygenxml.com/update/patchEric/oxygen.jar

and place it in the 'lib' directory of your <oXygen/> installation. Let us know if this works for you.

Regards,
Mircea.

OK,I'll try...

Posted: Thu Apr 20, 2006 3:36 am
by Eric
Thanks,
To change the display theme works on both XP and Server 2003 platform, but some anti troj software will announce that changes the registry. So maybe the better way is to solve the problem making oXygen works on every theme user use... anyway, I'll try and report to you, and thanks for your help. Sorry about my poor English...
Regards,
Eric

It doesn't work

Posted: Thu Apr 20, 2006 4:25 am
by Eric
Hi,
I tried the way to replace the oxygen.jar on C:\Program Files\Oxygen 7.1\lib\oxygen.jar
I rename the old one as oxygen.jar.old, and paste the oxygen.jar on it, but that doesn't work, Report to you these err msg as below
--------------------------------------------------------------------------------------------------------
Cannot start <oXygen/>.
Due to:java.lang.NullPointerException
java.lang.NullPointerException
at com.sun.java.swing.plaf.windows.XPStyle.getString(Unknown Source)
at com.sun.java.swing.plaf.windows.XPStyle.getString(Unknown Source)
at com.sun.java.swing.plaf.windows.XPStyle.getDimension(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsProgressBarUI.getPreferredInnerHorizontal(Unknown Source)
at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.JRootPane$RootLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at java.awt.Window.pack(Unknown Source)
at ro.sync.ui.application.O.A(Unknown Source)
at ro.sync.ui.application.O.<init>(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)
---------------------------------------------------------------------------------------------------
if you need another test , please let me know
Regards,
Eric

Posted: Fri May 19, 2006 2:20 pm
by Radu
Hi Eric,

We made another patch for this problem. Please download the new patch from http://www.oxygenxml.com/update/patchEric/oxygen.jar and place it in the 'lib' directory of your <oXygen/> installation.
Then, set the theme that originally generated the exception, start Oxygen and let us
know if this works for you.

Regards,
Radu.

Re: Fatal Error oXygen 7.1

Posted: Tue Sep 27, 2016 1:13 pm
by Satoru
Hi Radu,

I am using oXygen 7.1. I had same Fatal Error.
I would like to download patch from http://www.oxygenxml.com/update/patchEric/oxygen.jar
but It has broken links. Could you update it again.

Regards,
Satoru.

Re: Fatal Error oXygen 7.1

Posted: Tue Sep 27, 2016 1:41 pm
by Radu
Hi Satoru,

Between Oxygen 18.0 (current version) and 7.1 there are about 9-10 years of development time.
We do not support anymore Oxygen 7.1. Our end of life policy is listed here:

https://www.oxygenxml.com/eol.html

Also I cannot find in the logged issue the particular fix which was proposed to the Eric back then or the JAR library which was uploded to our server.
Looking in our issues list, the problem was officially fixed in Oxygen 8.2 so maybe you could at least try to use that version instead:

https://www.oxygenxml.com/xml_editor/so ... ditor.html

Regards,
Radu