Start a new topic

NPE on Save

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

Hit Cmd+s on an unsaved tab, and received the NullPointerException below. Error repeats if Cmd+s is pressed again. Saving the tab with a new filename, stops the error. This has only happened once so far, but felt it was worth reporting. 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 java.io.FileOutputStream.(FileOutputStream.java:186) at java.io.FileOutputStream.(FileOutputStream.java:145) at com.onseven.dbvis.N.N.ā(Z:2226) at com.onseven.dbvis.F.A.C.ā(Z:3115) at com.onseven.dbvis.E.E.ā(Z:3233) at com.onseven.dbvis.B.B.ă(Z:621) at com.onseven.dbvis.B.C.Ŋ(Z:2035) at com.onseven.dbvis.B.C$3.execute(Z:2942) at com.onseven.dbvis.j.D$1.execute(Z:605) at se.pureit.swing.R.F.actionPerformed(Z:2594) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1645) at javax.swing.JComponent.processKeyBinding(JComponent.java:2859) at javax.swing.JMenuBar.processKeyBinding(JMenuBar.java:645) at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267) at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:229) at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2936) at javax.swing.JComponent.processKeyBindings(JComponent.java:2928) at javax.swing.JComponent.processKeyEvent(JComponent.java:2822) at com.jidesoft.editor.CodeEditor.processKeyEvent(Unknown Source) at com.onseven.dbvis.f.A.B$A.processKeyEvent(Z:789) at java.awt.Component.processEvent(Component.java:6159) at java.awt.Container.processEvent(Container.java:2083) at java.awt.Component.dispatchEventImpl(Component.java:4744) at java.awt.Container.dispatchEventImpl(Container.java:2141) at java.awt.Component.dispatchEvent(Component.java:4572) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1856) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:722) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1000) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:865) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:686) at java.awt.Component.dispatchEventImpl(Component.java:4616) at java.awt.Container.dispatchEventImpl(Container.java:2141) at java.awt.Window.dispatchEventImpl(Window.java:2489) at java.awt.Component.dispatchEvent(Component.java:4572) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:704) 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.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$3.run(EventQueue.java:677) at java.awt.EventQueue$3.run(EventQueue.java:675) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:674) 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 9.0 Build: #1902 (2012/11/30 15:08) 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 Save
Matt, Are you able to repeat this and post a scenario? I've tried reproducing it but fail... Regards Roger
[This reply is migrated from our old forums. The original author name has been removed]

Re: NPE on Save
I have not been able to reproduce.