This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Almost everytime I close a file, be it a plain text file or Java source file or whatever, I get a NullPointerException. Here is the stack trace: java.lang.NullPointerException at org.netbeans.editor.Utilities.getDocument(Utilities.java:958) at org.netbeans.editor.BaseTextUI.uninstallUI(BaseTextUI.java:173) at javax.swing.JComponent.setUI(JComponent.java:619) at javax.swing.text.JTextComponent.setUI(JTextComponent.java:297) at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:307) at org.netbeans.editor.BaseKit.deinstall(BaseKit.java:519) at javax.swing.JEditorPane.setEditorKit(JEditorPane.java:952) [catch] at org.openide.text.CloneableEditor$1.run(CloneableEditor.java:131) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:201) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:231) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Please append 'java -version' output. Thanks.
*** Issue 38792 has been marked as a duplicate of this issue. ***
java -version output: java version "1.5.0-beta" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b31) Java HotSpot(TM) Client VM (build 1.5.0-beta-b31, mixed mode)
Thanks for info.
*** This issue has been marked as a duplicate of 39015 ***
v/c