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.
[ BUILD # : 20080802 ] [ JDK VERSION : 1.6.0_06 ] Stack trace sent in on Exception #: 86725 java.lang.AssertionError: Expecting a Project reference for AntProjectHelper[C:\src\Java\G4AutoRegistration] This is a new project created in this build
please attach the exception stacktrace and provide steps to reproduce. what does 86725 number mean?
reassigning to ant. it seems to be related to line 197 in AntBasedProjectFactorySingleton AntProjectHelper helper = HELPER_CALLBACK.createHelper(projectDirectory, projectXml, state, provider); Project project = provider.createProject(helper); project2Helper.put(project, new WeakReference<AntProjectHelper>(helper)); synchronized (helper2Project) { helper2Project.put(helper, new WeakReference<Project>(project)); } the helper2project map is populated after provider.createProjects(helper), I guess under some circumstances some other code can access the Factory singleton from code spawned by provider.createProject(helper) content.
*** This issue has been marked as a duplicate of 142938 ***