Start a new topic

java.lang.NullPointerException

[This topic is migrated from our old forums. The original author name has been removed]

dbvis 6.0.7, postgresql 8.1

open connection in sql editor, connection was closed by server, first try to execute a query

java.lang.NullPointerException
    at java.util.StringTokenizer.<init>(StringTokenizer.java:182)
    at java.util.StringTokenizer.<init>(StringTokenizer.java:204)
    at com.onseven.dbvis.db.postgresql.PostgreSQLFacade.getSchema(Z:3030)
    at com.onseven.dbvis.db.A.H.Ĥ(Z:55)
    at com.onseven.dbvis.C.I$3.actionPerformed(Z:730)
    at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197)
    at javax.swing.JComboBox.setSelectedItem(JComboBox.java:561)
    at com.onseven.dbvis.G.L.setSelectedItem(Z:731)
    at com.onseven.dbvis.C.I.ā(Z:3146)
    at com.onseven.dbvis.C.A.ă(Z:1732)
    at com.onseven.dbvis.C.I.Ĉ(Z:3063)
    at com.onseven.dbvis.C.I.Ą(Z:247)
    at com.onseven.dbvis.C.I$3.actionPerformed(Z:2758)
    at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197)
    at javax.swing.JComboBox.setSelectedItem(JComboBox.java:561)
    at com.onseven.dbvis.G.L.setSelectedItem(Z:731)
    at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:597)
    at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:808)
    at javax.swing.plaf.basic.BasicComboPopup$ListMouseHandler.mouseReleased(BasicComboPopup.java:717)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
    at java.awt.Component.processMouseEvent(Component.java:5501)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
    at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(BasicComboPopup.java:476)
    at java.awt.Component.processEvent(Component.java:5266)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3968)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1778)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at com.onseven.dbvis.I.A.f.dispatchEvent(Z:2787)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

1 Comment

[This reply is migrated from our old forums.]

Re: java.lang.NullPointerException
Thomas, This is fixed in the next version. It will be released in a few days. Regards Roger