KClaisse

Massive UI problems when running compiled jar

Discussion created by KClaisse on Feb 20, 2007

When I compile Spark, execute the jar from my command line, and then try to open any dialogs I get this:

 

 

Exception occurred during event dispatching:

java.lang.NullPointerException

        at de.javasoft.plaf.synthetica.painter.TabbedPanePainter.drawContentBorderLine4Sel ectedTab(TabbedPanePainter.java:523)

        at de.javasoft.plaf.synthetica.painter.TabbedPanePainter.paintTabbedPaneContentBor der(TabbedPanePainter.java:141)

        at de.javasoft.plaf.synthetica.painter.SyntheticaPainter.paintTabbedPaneContentBor der(SyntheticaPainter.java:342)

        at javax.swing.plaf.synth.ParsedSynthStyle$DelegatingPainter.paintTabbedPaneConten tBorder(Unknown Source)

        at javax.swing.plaf.synth.SynthTabbedPaneUI.paintContentBorder(Unknown Source)

        at javax.swing.plaf.synth.SynthTabbedPaneUI.paint(Unknown Source)

        at javax.swing.plaf.synth.SynthTabbedPaneUI.update(Unknown Source)

        at javax.swing.JComponent.paintComponent(Unknown Source)

        at javax.swing.JComponent.paint(Unknown Source)

        at javax.swing.JComponent.paintChildren(Unknown Source)

        at javax.swing.JComponent.paint(Unknown Source)

        at javax.swing.JComponent.paintToOffscreen(Unknown Source)

        at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)

        at javax.swing.RepaintManager.paint(Unknown Source)

        at javax.swing.JComponent._paintImmediately(Unknown Source)

        at javax.swing.JComponent.paintImmediately(Unknown Source)

        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

        at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)

        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

        at java.awt.event.InvocationEvent.dispatch(Unknown Source)

        at java.awt.EventQueue.dispatchEvent(Unknown Source)

        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

        at java.awt.Dialog$1.run(Unknown Source)

        at java.awt.Dialog$3.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.awt.Dialog.show(Unknown Source)

        at java.awt.Component.show(Unknown Source)

        at java.awt.Component.setVisible(Unknown Source)

        at java.awt.Window.setVisible(Unknown Source)

        at java.awt.Dialog.setVisible(Unknown Source)

        at org.jivesoftware.LoginSettingDialog.invoke(LoginSettingDialog.java:182)

        at org.jivesoftware.LoginDialog$LoginPanel.actionPerformed(LoginDialog.java:428)

        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

        at java.awt.Component.processMouseEvent(Unknown Source)

        at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)

        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

        at java.awt.Container.dispatchEventImpl(Unknown Source)

        at java.awt.Window.dispatchEventImpl(Unknown Source)

        at java.awt.Component.dispatchEvent(Unknown Source)

        at java.awt.EventQueue.dispatchEvent(Unknown Source)

        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

        at java.awt.EventDispatchThread.pumpEventsForFilter(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)

 

 

It just keeps coming out. The plain old logins screen is fine, but any other window that Spark creates (i.e. Main window, advanced preferences, etc) the terminal keeps printing that over and over again.  The windows it tries to create never appears either.

Outcomes