Page 1 of 1

Oxygen 6.2 doesn't start

Posted: Thu Jan 12, 2006 4:01 am
by Boris
I can see splash screen and then nothing.

I launched the program by using oxygen.bat file:

"SET CP="%~dp0;%~dp0/lib/oxygen.jar;%~dp0/classes;"

java -Xmx256m -cp %CP% ro.sync.exml.Oxygen %1 %2 %3 %4 %5 %6 %7
"

The log I'm getting is this:


D:\Program Files\Oxygen 6.2>rem D:\Program Files\Oxygen 6.2\ is expanded pathname of the current script under NT

D:\Program Files\Oxygen 6.2>SET CP="D:\Program Files\Oxygen 6.2\;D:\Program Files\Oxygen 6.2\/lib/oxygen.jar;D:\Program Files\Oxygen 6.2\/classes;"

D:\Program Files\Oxygen 6.2>java -Xmx256m -cp "D:\Program Files\Oxygen 6.2\;D:\Program Files\Oxygen 6.2\/lib/oxygen.jar;D:\Program Files\Oxygen 6.2\/classes;" ro.sync.exml.Oxygen
java.lang.NullPointerException
at javax.swing.border.EmptyBorder.<init>(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer.getTableCellRendererComponent(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderHeight(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.createHeaderSize(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.ViewportLayout.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.ScrollPaneLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at javax.swing.JViewport.validateView(Unknown Source)
at javax.swing.JViewport.scrollRectToVisible(Unknown Source)
at javax.swing.JComponent.scrollRectToVisible(Unknown Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.a(Unknown Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.access$2700(Unknown Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$e_.componentResized(Unknown Source)
at java.awt.AWTEventMulticaster.componentResized(Unknown Source)
at java.awt.AWTEventMulticaster.componentResized(Unknown Source)
at java.awt.Component.processComponentEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
16:57:25,567 0 FATAL [ main ] ro.sync.ui.application.ApplicationLauncher - java.lang.NullPointerException
java.lang.NullPointerException
at javax.swing.border.EmptyBorder.<init>(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer.getTableCellRendererComponent(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderHeight(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.createHeaderSize(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.ViewportLayout.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.ScrollPaneLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at java.awt.Window.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at ro.sync.ui.application.E.setVisible(Unknown Source)
at ro.sync.exml.MainFrame.setVisible(Unknown Source)
at com.jidesoft.action.DefaultDockableBarManager.showInitial(Unknown Source)
at ro.sync.exml.M.E(Unknown Source)
at ro.sync.exml.MainFrame.setVisible(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)

D:\Program Files\Oxygen 6.2>REM Uncomment the following line (and comment the above one)

D:\Program Files\Oxygen 6.2>REM if using the version with the JRE included.

D:\Program Files\Oxygen 6.2>REM jre\bin\java -Xmx256m -cp ".;lib/oxygen.jar;classes;" ro.sync.exml.Oxygen

D:\Program Files\Oxygen 6.2>pause
Press any key to continue . . .

Posted: Thu Jan 12, 2006 4:02 am
by Boris
Forgot to mention that I'm using

java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)

Posted: Thu Jan 12, 2006 12:03 pm
by sorin_ristache
Hello Boris,

I assume your platform is Windows XP. Make sure you have the Service Pack 2 installed. If you installed any application which modifies the Windows display settings (for example the Starskin theme manager, with Oceanbreeze/Vision set as current theme) please reset the Windows display settings to their default as the changes may conflict with the Windows look and feel of the Java virtual machine, which is not able to render Java Swing components properly. After you successfully start up <oXygen/> you can change the look and feel to Metal from Options -> Preferences -> Global -> Look and feel and then restore the current Windows display settings.

Another thing to try out is downloading and installing the <oXygen/> kit for Windows which includes a Java virtual machine (that is version 1.5.0_05 of the Sun Microsystems JVM).

Regards,
Sorin

Posted: Thu Jan 12, 2006 8:30 pm
by Boris
Thank you Sorin. Resetting to Windows XP theme fixed the problem.