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.
I deleted the (CVS) mounted directory (with NB being closed) and got a messagedialog on startup. Then I cannot shutdown NB and get an errordialog with a NPE instead. I will attach ide.log.
Created attachment 4455 [details] BZIP2 compressed ide.log containing the NPE
It does happen with RC3, too.
Problem is that there was unmounted filesystem while exit action were in progress (Window system save etc.) and from that filesystem were opened the properties table editor. After second start there were corrupted information read. Also ide couldn't be exited due to NPE from properties module writeexternal. Properties should at least check for null. E.g. Cloneableeditorsupport handles this problem now. DataObjectNotFound exceptions are caused by the unmounting while exiting too (filesystem was removed but editor was saved with the reference to unmounted file). Generally spoken there isn't solved such situation when ide is exitting and some additional action is executed. I am going to file new enhancement to solve this problem, will attach id later. Following NPE should be fixed in properties module, moving there: *********** Exception occurred ************ Mon Jan 28 14:47:23 CET 2002: java.lang.NullPointerException: <no message> java.lang.NullPointerException at org.netbeans.modules.properties.PropertiesOpen$PropertiesCloneableTopComponent.writeExternal(PropertiesOpen.java:743) at org.openide.windows.TopComponent$Replacer.writeObject(TopComponent.java:737) at java.lang.reflect.Method.invoke(Native Method) at java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1864) at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1210) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366) at org.openide.loaders.XMLSettingsSupport.storeSerialData(XMLSettingsSupport.java:145) <...>
Created issue #19902.
fixed in [maintrunk] /cvs/properties/src/org/netbeans/modules/properties/PropertiesOpen.jav a,v <-- PropertiesOpen.java new revision: 1.54; previous revision: 1.53
Please, copy the attached patch patch19842.jar into <NBDir>/modules/patches/org-netbeans-modules-properties/ folder and restart NB.
Created attachment 4587 [details] Bugfix - patch19842.jar
*** Issue 20389 has been marked as a duplicate of this issue. ***
*** Issue 20454 has been marked as a duplicate of this issue. ***
*** Issue 20679 has been marked as a duplicate of this issue. ***
Adding keyword 3.3.2_CANDIDATE. diff of the fix: http://properties.netbeans.org/source/browse/properties/src/org/netbea ns/modules/properties/PropertiesOpen.java.diff?r1=1.53&r2=1.54
*** Issue 20580 has been marked as a duplicate of this issue. ***
*** Issue 21247 has been marked as a duplicate of this issue. ***
I am increasing the priority because of the large amount of duplicates .
fixed in [orion_fcs] /cvs/properties/src/org/netbeans/modules/properties/PropertiesOpen.jav a,v <-- PropertiesOpen.java new revision: 1.47.6.2.4.1; previous revision: 1.47.6.2
*** Issue 22314 has been marked as a duplicate of this issue. ***
*** Issue 22405 has been marked as a duplicate of this issue. ***
*** Issue 22406 has been marked as a duplicate of this issue. ***
*** Issue 22661 has been marked as a duplicate of this issue. ***
*** Issue 23013 has been marked as a duplicate of this issue. ***
Verified in dev build [200210160100].
Resolved for 3.4.x or earlier, no new info since then -> closing.