|
Hello!
Can anybody help me with the exception below ..
when do I normally get that exception? how can I prevent that exception being
thrown?
It happens when I try to show one of my dialogs
..
Thanks in advance
and kind regards,
Gerald.
18:28:35:--------- UNCAUGHT EXCEPTION
---------
java.lang.NullPointerException: disposed component 18:28:35: at sun.awt.windows.WGraphics.createFromComponent(Native Method) 18:28:35: at sun.awt.windows.WGraphics.<init>(WGraphics.java, Compiled Code) 18:28:35: at sun.awt.windows.WComponentPeer.getGraphics(WComponentPeer.java, Compiled Code) 18:28:35: at java.awt.Component.getGraphics(Component.java, Compiled Code) 18:28:35: at java.awt.Component.getGraphics(Component.java, Compiled Code) 18:28:35: at javax.swing.JComponent.getGraphics(JComponent.java, Compiled Code) 18:28:35: at java.awt.Component.getGraphics(Component.java, Compiled Code) 18:28:35: at javax.swing.JComponent.getGraphics(JComponent.java, Compiled Code) 18:28:35: at java.awt.Component.getGraphics(Component.java, Compiled Code) 18:28:35: at javax.swing.JComponent.getGraphics(JComponent.java, Compiled Code) 18:28:35: at java.awt.Component.getFontMetrics(Component.java, Compiled Code) 18:28:35: at javax.swing.border.TitledBorder.getBorderInsets(TitledBorder.java:403) 18:28:35: at javax.swing.border.TitledBorder.getBorderInsets(TitledBorder.java:362) 18:28:35: at javax.swing.JComponent.getInsets(JComponent.java, Compiled Code) 18:28:35: at java.awt.GridBagLayout.ArrangeGrid(GridBagLayout.java, Compiled Code) 18:28:35: at java.awt.GridBagLayout.layoutContainer(GridBagLayout.java, Compiled Code) 18:28:35: at java.awt.Container.layout(Container.java, Compiled Code) 18:28:35: at java.awt.Container.doLayout(Container.java, Compiled Code) 18:28:35: at java.awt.Container.validateTree(Container.java, Compiled Code) 18:28:35: at java.awt.Container.validate(Container.java, Compiled Code) 18:28:35: at com.lisec.GPSCORBA.dialog.GPSSearch.show(GPSSearch.java, Compiled Code) 18:28:35: at com.databook.swing.configurable.OrtPostleitzahl.startSearch(OrtPostleitzahl.java) 18:28:35: at com.databook.swing.configurable.OrtPostleitzahl.connEtoC1(OrtPostleitzahl.java) 18:28:35: at com.databook.swing.configurable.OrtPostleitzahl.access$1(OrtPostleitzahl.java) 18:28:35: at com.databook.swing.configurable.OrtPostleitzahl$IvjEventHandler.actionPerformed(OrtPostleitzahl.java) 18:28:35: at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066) 18:28:35: at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101) 18:28:35: at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378) 18:28:35: at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250) 18:28:35: at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:204) 18:28:35: at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230) 18:28:35: at java.awt.Component.processMouseEvent(Component.java, Compiled Code) 18:28:35: at java.awt.Component.processEvent(Component.java, Compiled Code) 18:28:35: at java.awt.Container.processEvent(Container.java, Compiled Code) 18:28:35: at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code) 18:28:35: at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code) 18:28:35: at java.awt.Component.dispatchEvent(Component.java, Compiled Code) 18:28:35: at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Compiled Code) 18:28:35: at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Compiled Code) 18:28:35: at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled Code) 18:28:35: at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code) 18:28:35: at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code) 18:28:35: at java.awt.Component.dispatchEvent(Component.java, Compiled Code) 18:28:35: at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code) 18:28:35: at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code) 18:28:35: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92) 18:28:35: at java.awt.EventDispatchThread.run(EventDispatchThread.java:83) |
