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.
[dev-200507241800, JDK 1.5.0_04] Steps to reproduce: 1) Open Java project 2) Open some sources from the project 3) Delete the project using its context menu item Delete Project 4) Try to open another Java project AssertionError is thrown and project is not opened. After restarting IDE the project is opened in Explorer.
Created attachment 23267 [details] exc stack trace
I forgot to mention that I deleted the project including sources.
It's really annoying , once you delete some project you are not able to open/create another one... Honza it will be nice to have it fixed soon ...
*** Issue 61606 has been marked as a duplicate of this issue. ***
Ok, this is Q-build 200508021800 stopper ...
IMHO this is a bug in editor/bookmarks and should be fixed there. It is going through every project which was ever opened and is still loaded, and trying to modify them all! It should specifically check which projects were just *closed* and save only their bookmarks. Would be helpful for OpenProjects to fire property changes with a non-null oldValue and newValue for PROPERTY_OPEN_PROJECTS, though EditorBookmarksModule could also keep track of the previous value itself, with a little more work.
I will try to fix this in the editor/bookmarks.
Not able to reproduce either on dev-200508041800 or QBuild-200508021800. If somebody knows how to reproduce please provide better reproducible scenario.
C