Start a new topic

NPE on file save

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

After saving a new file with a name, subsequent saves generate the NPE below. Choosing Save As on the same file resulted in the Save icon being inactive. The file was saved to disk, however after a restart of DbVis, the tabe was restored in the original state (not savable). Opening the saved file seems to have created a "normal" tab/ An internal error occurred in: java.lang.NullPointerException The error may have affected the application state. Please notify vendor. Stack Trace: java.lang.NullPointerException at javax.swing.text.FlowView$FlowStrategy.layoutRow(FlowView.java:546) at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:460) at javax.swing.text.FlowView.layout(FlowView.java:184) at javax.swing.text.BoxView.setSize(BoxView.java:380) at javax.swing.text.BoxView.updateChildSizes(BoxView.java:349) at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:331) at javax.swing.text.BoxView.layout(BoxView.java:691) at javax.swing.text.BoxView.setSize(BoxView.java:380) at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1703) at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1035) at javax.swing.text.DefaultCaret.repaintNewCaret(DefaultCaret.java:1289) at javax.swing.text.DefaultCaret$1.run(DefaultCaret.java:1268) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:663) at java.awt.EventQueue$2.run(EventQueue.java:661) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:672) at com.onseven.dbvis.N.A._.dispatchEvent(Z:483) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) System Information: Product: DbVisualizer Pro 90.1854 Build: #1854 (2012/11/03 10:04) Java VM: Java HotSpot(TM) 64-Bit Server VM Java Version: 1.6.0_37 Java Vendor: Apple Inc. OS Name: Mac OS X OS Arch: x86_64 OS Version: 10.8.2

[This reply is migrated from our old forums.]

Re: NPE on file save
Matt, Thanks for reporting this. It will be fixed in the next beta. Regards Roger
[This reply is migrated from our old forums.]

Re: NPE on file save
Matt, This is now fixed in the latest beta version: http://www.dbvis.com/download/beta/ Regards Roger