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 4178 - Sometimes the TopComponent`s for a properties file (edit mode) cannot be closed.
Summary: Sometimes the TopComponent`s for a properties file (edit mode) cannot be closed.
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-10-04 19:39 UTC by Jesse Glick
Modified: 2008-12-23 10:54 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 Jesse Glick 1999-10-04 19:39:58 UTC
I`m not sure how to reproduce this, but I have open a couple of Bundle.properties files in the IDE (opened in Edit mode, i.e. text only). I cannot close these TopComponents--this problem is still he
re after several IDE restarts (the windows for the files are correctly restored with workspaces, but still I cannot close them). Exception on console:

Exception occurred during event dispatching:
java.lang.NullPointerException
        at com.netbeans.developer.modules.loaders.properties.PropertiesParser.readNextElem(PropertiesParser.java:199)
        at com.netbeans.developer.modules.loaders.properties.PropertiesParser.parseFileMain(PropertiesParser.java:125)
        at com.netbeans.developer.modules.loaders.properties.PropertiesParser.parseFile(PropertiesParser.java:109)
        at com.netbeans.developer.modules.loaders.properties.StructHandler.reparseNowBlocking(StructHandler.java:91)
        at com.netbeans.developer.modules.loaders.properties.PropertiesEditorSupport$PropertiesEditor.closeLast(PropertiesEditorSupport

        at org.openide.windows.CloneableTopComponent$Ref.unregister(CloneableTopComponent.java:219)
        at org.openide.windows.CloneableTopComponent.canClose(CloneableTopComponent.java:104)
        at org.openide.text.EditorSupport$Editor.canClose(EditorSupport.java:1029)
        at org.openide.windows.TopComponent.close(TopComponent.java:226)
        at org.openide.windows.TopComponent.close(TopComponent.java:203)
        at com.netbeans.developer.impl.windows.ModeImpl.containerClosing(ModeImpl.java:476)
        at com.netbeans.developer.impl.windows.MultiTabListenerImpl.windowClosing(MultiTabListenerImpl.java:59)
        at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:291)
        at java.awt.Window.processWindowEvent(Window.java:635)
        at javax.swing.JFrame.processWindowEvent(JFrame.java:182)
        at java.awt.Window.processEvent(Window.java:611)
        at java.awt.Component.dispatchEventImpl(Comp
Comment 1 Marek Grummich 2000-07-25 09:25:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 14:56:33 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 3 Quality Engineering 2003-07-02 15:18:37 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.