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 61358

Summary: Cannot open project after deleting project
Product: editor Reporter: Milan Kubec <mkubec>
Component: -- Other --Assignee: issues@editor <issues>
Status: CLOSED WORKSFORME    
Severity: blocker CC: jglick
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 61142    
Attachments: exc stack trace

Description Milan Kubec 2005-07-25 14:44:17 UTC
[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.
Comment 1 Milan Kubec 2005-07-25 14:44:36 UTC
Created attachment 23267 [details]
exc stack trace
Comment 2 Milan Kubec 2005-07-25 14:48:51 UTC
I forgot to mention that I deleted the project including sources.
Comment 3 Marian Mirilovic 2005-07-28 10:36:11 UTC
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 ...
Comment 4 Jesse Glick 2005-08-01 19:23:59 UTC
*** Issue 61606 has been marked as a duplicate of this issue. ***
Comment 5 Marian Mirilovic 2005-08-03 13:43:34 UTC
Ok, this is Q-build 200508021800 stopper ...
Comment 6 Jesse Glick 2005-08-03 23:30:19 UTC
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.
Comment 7 Miloslav Metelka 2005-08-04 11:09:02 UTC
I will try to fix this in the editor/bookmarks.
Comment 8 Milan Kubec 2005-08-05 13:53:07 UTC
Not able to reproduce either on dev-200508041800 or QBuild-200508021800. If
somebody knows how to reproduce please provide better reproducible scenario.
Comment 9 Milan Kubec 2005-10-27 15:10:02 UTC
C