Oxgyen start up java error

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
JohnBampton
Posts: 14
Joined: Tue Feb 10, 2009 1:50 pm

Oxgyen start up java error

Post by JohnBampton » Fri Aug 14, 2009 5:15 am

Hello,

All of a sudden when I try to run oxygen i get the following error below. It was working the other day. The only thing different that I did was install calabash as an external tool. Its my favorite program. Any ideas?

Cannot start <oXygen/> XML Editor.
Due to:java.lang.NoClassDefFoundError
java/text/FieldPosition$Delegate.
java.lang.NoClassDefFoundError: java/text/FieldPosition$Delegate
at java.text.FieldPosition.getFieldDelegate(FieldPosition.java:186)
at java.text.DecimalFormat.format(DecimalFormat.java:507)
at java.text.DecimalFormat.format(DecimalFormat.java:485)
at java.text.Format.format(Format.java:140)
at javax.swing.JProgressBar.getString(JProgressBar.java:472)
at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:812)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1632)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:707)
at java.awt.Container.preferredSize(Container.java:1581)
at java.awt.Container.getPreferredSize(Container.java:1566)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1634)
at javax.swing.JRootPane$RootLayout.preferredLayoutSize(JRootPane.java:903)
at java.awt.Container.preferredSize(Container.java:1581)
at java.awt.Container.getPreferredSize(Container.java:1566)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1634)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:702)
at java.awt.Container.preferredSize(Container.java:1581)
at java.awt.Container.getPreferredSize(Container.java:1566)
at java.awt.Window.pack(Window.java:688)
at ro.sync.ui.application.a.A(Unknown Source)
at ro.sync.ui.application.a.<init>(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.launch(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at ro.sync.exml.Oxygen.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: Oxgyen start up java error

Post by sorin_ristache » Fri Aug 14, 2009 10:16 am

Hello,

The class java.text.FieldPosition.Delegate is one of the classes that come with the Java virtual machine. It seems one of the jar files that comes with the Java virtual machine included in Oxygen was modified by an application. Setting an external tool does not do that. Do you know what application could do that on your computer? I think you have to reinstall Oxygen on that computer.


Regards,
Sorin

JohnBampton
Posts: 14
Joined: Tue Feb 10, 2009 1:50 pm

Re: Oxgyen start up java error

Post by JohnBampton » Sat Aug 15, 2009 1:45 pm

Do you know which jar file that this comes from? I can maybe replace it with a jar from 10.2

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: Oxgyen start up java error

Post by sorin_ristache » Mon Aug 17, 2009 9:41 am

It comes from [JRE-home-folder]\lib\rt.jar. On Windows Oxygen runs by default with the JRE that comes with Oxygen and is located in [Oxygen-install-folder]\jre. It seems the file [Oxygen-install-folder]\jre\lib\rt.jar was corrupted so I suggested reinstalling Oxygen. Other option is setting other Java virtual machine for running Oxygen as specified in the Windows installation procedure.


Regards,
Sorin

Post Reply