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 - Cannot open project after deleting project
Summary: Cannot open project after deleting project
Status: CLOSED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
: 61606 (view as bug list)
Depends on:
Blocks: 61142
  Show dependency tree
 
Reported: 2005-07-25 14:44 UTC by Milan Kubec
Modified: 2007-11-05 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc stack trace (3.73 KB, text/plain)
2005-07-25 14:44 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
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