Fatal Error oXygen 7.1

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Eric
Posts: 5
Joined: Tue Apr 18, 2006 5:18 pm

Fatal Error oXygen 7.1

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
Eric
Posts: 5
Joined: Tue Apr 18, 2006 5:18 pm

Doesn't Work

Post 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,
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
Eric
Posts: 5
Joined: Tue Apr 18, 2006 5:18 pm

Many Many Thanks!

Post 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
Mircea
Posts: 130
Joined: Tue Mar 25, 2003 11:21 am

Post 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.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Eric
Posts: 5
Joined: Tue Apr 18, 2006 5:18 pm

OK,I'll try...

Post 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
Eric
Posts: 5
Joined: Tue Apr 18, 2006 5:18 pm

It doesn't work

Post 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
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Post 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.
Satoru
Posts: 4
Joined: Mon Jun 22, 2015 8:53 am

Re: Fatal Error oXygen 7.1

Post 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.
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Fatal Error oXygen 7.1

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply