Start a new topic

NPE: Edit Cell in Window

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

When looking at table data in the "Data" tab, occasionally when I attempt to edit a cell's data using "Edit Cell in Window" I get a NullPointerException. I've only seen the problem where the cell currently contains a NULL value. I've observed the problem in 6.0.9 and 6.0.10, but 6.0.7 seems to be fine (haven't tried 6.0.8). Here's the stack trace: ====================================== An internal error occurred: Exception: java.lang.NullPointerException java.lang.NullPointerException The error may have affected the application state. Please notify vendor. Stack Trace: java.lang.NullPointerException at com.onseven.dbvis._.u.?(Z:2786) at com.onseven.dbvis._.u.?(Z:298) at com.onseven.dbvis._.u.?(Z:1196) at com.onseven.dbvis._.t.?(Z:3568) at com.onseven.dbvis._.p.?(Z:2099) at com.onseven.dbvis._.K.?(Z:981) at com.onseven.dbvis._.M$2.execute(Z:2714) at se.pureit.swing.xmlactions.DelegateAction.actionPerformed(Z:1129) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:334) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051) at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5602) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5367) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4068) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1791) at java.awt.Component.dispatchEvent(Component.java:3903) 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:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

[This reply is migrated from our old forums.]

Re: NPE: Edit Cell in Window
Steve, Argh... (I hate stack traces...). Problem has been identified and this happen only for null values as you pointed out. Thanks for reporting this. Best Regards Roger
[This reply is migrated from our old forums.]

Re: NPE: Edit Cell in Window
Steve, Just to inform you that this is fixed in the just released 6.0.11 version. http://www.minq.se/products/dbvis/doc/relnotes/index.jsp?version=6.0.11 Best Regards Roger