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.

Bug 1429 - Exception after saving Java source document
Summary: Exception after saving Java source document
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All Other
: P2 normal (vote)
Assignee: support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-04-03 02:31 UTC by phamernik
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phamernik 1999-04-03 02:31:15 UTC
On Solaris only.
1) modify any java source in the editor
2) close the editor
3) confirm save
after closing this exception occured:

Exception occurred during event dispatching:
java.lang.NullPointerException
        at
com.netbeans.ide.text.EditorSupport.closeDocument(EditorSupport.java:199)
        at
com.netbeans.ide.text.EditorSupport.access$10(EditorSupport.java:192)
        at
com.netbeans.ide.text.EditorSupport$Editor.closeLast(EditorSupport.java:771)
        at
com.netbeans.developer.modules.loaders.java.JavaEditor$JavaEditorComponent.closeLast(JavaEditor.java:524)
        at
com.netbeans.ide.windows.CloneableTopComponent$Ref.unregister(CloneableTopComponent.java:223)
        at
com.netbeans.ide.windows.CloneableTopComponent.close(CloneableTopComponent.java:104)

        at
com.netbeans.developer.impl.MultiObjectFrame.closeView(MultiObjectFrame.java:582)
        at
com.netbeans.developer.impl.MultiObjectFrame.closeTopComponent(MultiObjectFrame.java:491)
        at
com.netbeans.developer.impl.MultiObjectFrame.closeViews(Compiled Code)
        at
com.netbeans.developer.impl.MultiObjectFrame.closeLast(MultiObjectFrame.java:571)
        at
com.netbeans.developer.impl.TopFrame.windowClosing(TopFrame.java:250)
        at
com.netbeans.ide.windows.Workspace$Element$Listener.windowClosing(Workspace.java:872)
        at java.awt.Window.processWindowEvent(Compiled Code)
        at javax.swing.JFrame.processWindowEvent(Compiled Code)
        at java.awt.Window.processEvent(Compiled Code)
        at java.awt.Component.dispatchEventImpl(Compiled Code)
        at java.awt.Container.dispatchEventImpl(Compiled Code)
        at java.awt.Window.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.EventQueue.dispatchEvent(Compiled Code)
        at java.awt.EventDispatchThread.run(Compiled Code)

java.lang.NullPointerException

        at com.netbeans.ide.text.EditorSupportLineSet.
Comment 1 Quality Engineering 2003-07-02 15:43:00 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.