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.
Summary: | Cannot create project with the same name after project delete | ||
---|---|---|---|
Product: | projects | Reporter: | Milan Kubec <mkubec> |
Component: | Ant | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | REGRESSION |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41535 | ||
Attachments: |
exc stack trace in console
exc in IDE dialog exc stack trace |
Description
Milan Kubec
2004-08-19 09:11:50 UTC
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. |