Home » DbVisualizer Forums » DbVisualizer » DbVisualizer - Support

Thread: java.lang.NullPointerException


Permlink Replies: 4 - Pages: 1 - Last Post: Apr 25, 2012 1:19 AM Last Post By: Hans Bergsten
Thomas

Posts: 59
Registered: 02/08/08
java.lang.NullPointerException
Posted: Apr 19, 2012 9:40 AM
   thread.click_reply Reply
Hi,

got NPE on query execution in SQL Commander

Thomas

java.lang.NullPointerException

The error may have affected the application state. Please notify vendor.

Stack Trace:
java.lang.NullPointerException
at com.onseven.dbvis.c.A.B.Ă(Z:1011)
at com.onseven.dbvis.E.B.Ď(Z:1172)
at com.onseven.dbvis.E.B.ʄ(Z:178)
at com.onseven.dbvis.E.B$8.execute(Z:2196)
at se.pureit.swing.Q.F.actionPerformed(Z:1875)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1661)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2879)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2940)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2842)
at com.jidesoft.editor.CodeEditor.processKeyEvent(Unknown Source)
at com.onseven.dbvis.c.A.B$A.processKeyEvent(Z:835)
at java.awt.Component.processEvent(Component.java:6282)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1890)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:752)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1017)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:889)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:717)
at java.awt.Component.dispatchEventImpl(Component.java:4731)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Window.dispatchEventImpl(Window.java:2713)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:680)
at java.awt.EventQueue$4.run(EventQueue.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
at com.onseven.dbvis.L.A.V.dispatchEvent(Z:483)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

System Information:
Product: DbVisualizer Personal 8.0.8
Build: #1745 (2012/02/14 10:52)
Java VM: Java HotSpot(TM) Server VM
Java Version: 1.7.0_03
Java Vendor: Oracle Corporation
OS Name: Linux
OS Arch: i386
OS Version: 2.6.37.6-0.11-pae

PostgreSQL
9.0.6
PostgreSQL Native Driver
PostgreSQL 9.0 JDBC4 (build 801)

Hans Bergsten


Posts: 1,576
Registered: 10/11/06
Re: java.lang.NullPointerException
Posted: Apr 19, 2012 8:16 PM    global.in_response_to.tooltip in response to: Thomas
   thread.click_reply Reply
Hi Thomas,

I assume that this only happens occasionally?

Can you please post (or email) the exact content of the editor and information about exactly where the caret is placed when you issue the Execute Current operation and get this result? We need this in order to figure out what's going wrong.

Best Regards,
Hans
Thomas

Posts: 59
Registered: 02/08/08
Re: java.lang.NullPointerException
Posted: Apr 20, 2012 8:45 AM    global.in_response_to.tooltip in response to: Hans Bergsten
   thread.click_reply Reply
Hi,

this happens only once. The caret was and the end of the statement but not at the end of editor. The statement started with explain analyze
Hans Bergsten


Posts: 1,576
Registered: 10/11/06
Re: java.lang.NullPointerException
Posted: Apr 20, 2012 8:28 PM    global.in_response_to.tooltip in response to: Thomas
   thread.click_reply Reply
Hi Thomas,

If it happens again, please save the content of the editor to a file and send it to us along with information about where the caret was placed when it happened. I am unable to reproduce it, so it probably only happens in very rare cases.

Best Regards,
Hans
Hans Bergsten


Posts: 1,576
Registered: 10/11/06
Re: java.lang.NullPointerException
Posted: Apr 25, 2012 1:19 AM    global.in_response_to.tooltip in response to: Thomas
   thread.click_reply Reply
Hi Thomas,

I just realized that this is the same issue as in http://www.dbvis.com/forum/thread.jspa?threadID=3827 . It will be fixed in the next maintenance release.

Best Regards,
Hans

Point your RSS reader here for a feed of the latest messages in all forums