Version: 13.0-dev-45
Build #: 30453
Build Date: 2012-Dec-05 02:51:56 PM
1. Open a query analyzer to SQLite
2. Right click inside and select Tools--> Object Search
3. Search for an object
4. Close object Search
5. Next select Tools --> Import
In View Log you can see an exception is generated
java.sql.SQLException: java.lang.NullPointerException
at \\...\\ .\\हिñçêČάй語简�?한\\.aꃂꍬꃿꂬ else 6.executeQuery(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.zꇬꄢ⣇ char 7.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.zꇬꄢ⣇ char 7.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.zꇬꄢ⣇ char 7.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.zꇬꄢ⣇ char 7.c(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Hꌘꁧ⣌ꂝ default.G(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Uᡳ̀ᠭꍕ double try.hg(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.aꇶꇍꃟꄌ package.itemStateChanged(Unknown Source)
at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1205)
at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1262)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1309)
at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
at javax.swing.JComboBox.addItem(JComboBox.java:696)
at \\...\\ .\\हिñçêČάй語简�?한\\.Uᡳ̀ᠭꍕ double try.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Uᡳ̀ᠭꍕ double try.hg(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Uᡳ̀ᠭꍕ double try.aHh(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Uᡳ̀ᠭꍕ double try.<init>(Unknown Source)
at com.aquafold.datastudio.queryanalyzer.Wꃞꎠꁲꀰ implements.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6297)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6062)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:627)
at java.awt.EventQueue$2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:641)
at java.awt.EventQueue$3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
at org.sqlite.Stmt.executeQuery(Stmt.java:121)
... 57 more
|
110 KB
This problem was not specific to SQLite. It happened for all database types. After the Object Search dialog was closed in step 4, the database connection from Query Analyzer was closed. Therefore, the Import dialog didn't have a valid connection from Query Analyzer. If you ran a query in the Query Analyzer window, you would have also encountered an error.
For example, with MySQL, you would get the error "No operations allowed after connection closed."
Issue #8026 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build 30480 |
No time estimate |
This problem was not specific to SQLite. It happened for all database types. After the Object Search dialog was closed in step 4, the database connection from Query Analyzer was closed. Therefore, the Import dialog didn't have a valid connection from Query Analyzer. If you ran a query in the Query Analyzer window, you would have also encountered an error.
For example, with MySQL, you would get the error "No operations allowed after connection closed."