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.
[r33 dec 12] I had manually cleaned out my system/Windows/ directory (deleting a bunch of useless stuff) with NetBeans not running (to try to prevent some mysterious other exceptions that started appearing whenever I shut down). Do not recall exactly what I changed, but mostly involved deleting some useless modes for things that were not visible anyway. After starting NetBeans again and running it and shutting down, got this NPE. Probably "user error" for deleting things manually, but at least the layer code could be a bit more robust and report what exactly was missing or went wrong so it might be corrected.
Created attachment 3854 [details] Stack trace
Jiri, please take care of this one :-)
Target milestone -> 3.4
Hi Jesse, could you add some steps which you had done before you saw the attached exceptions? I tried some ways I removed any folders or any definitions files then I saw the configuration else then I expected but I didn't see any exceptions. What I did: 1. Remove editor folder ... it looks ok, editor isn't there 2. Remove editor.wsmode but folder not ... it looks ok 3. Remove some files (the selected file too) from the editor folder ... the files are there even though 4. Remove folder of a workspace ... it looks ok, a definition is read from the relevant module
If I knew what the steps to reproduce were, I would attach them. The bug report is more asking for the window system to throw a useful error indicating what is actually wrong. An NPE is not helpful in correcting the problem. E.g. java.lang.IllegalStateException: workspace folder Foo/ has no matching .wswksp file at SuchAndSuch.java:181 ....
*** This issue has been marked as a duplicate of 20516 ***
Resolved for 3.4.x or earlier, no new info since then -> verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.