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.
[beta 1 candidate 200408181510, JDK 1.5.0 b63] Steps to reproduce: 1) Have a java project 2) Close the project in IDE 3) Delete the project from disk 4) Return to IDE AssertionError is thrown to console, see attachment. 5) Create project with the same name AssertionError (FileNotFoundException) is thrown again, in this case not to console. The project is not created.
Created attachment 16937 [details] exc stack trace in console
Created attachment 16938 [details] exc in IDE dialog
Also exception is thrown when I hit F6 to run another just opened project.
Created attachment 16939 [details] exc stack trace
I suspect the LogicalViewChildren to get some events from SourcesHeleper even after the project is closed (it of course does not matter until someone deleted all the files). When the files are deleted the SourceHeleper fires a change and LogicalViewChildren try to react. The children would have to know that the project was closed (GC may be too late). Listen to OpenProjects in projectuiapi?
Probably some easier solution in SourcesHelper.
Can reproduce. Have simple patch which seems to correct it.
Should have fixed it, please verify on your machine to make sure. committed Up-To-Date 1.8 ant/project/src/org/netbeans/spi/project/support/ant/SourcesHelper.java
*** Issue 47662 has been marked as a duplicate of this issue. ***
Verified in custom 20040826.