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 167182 - IllegalArgumentException: Project J2SEProject[Q:\projects\hymerfania\JNIAntTasks] not created by org.netbeans.api.project.ProjectManager@748fdb or was already deleted
Summary: IllegalArgumentException: Project J2SEProject[Q:\projects\hymerfania\JNIAntTa...
Status: RESOLVED DUPLICATE of bug 162927
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2009-06-16 19:31 UTC by charlweed
Modified: 2010-04-12 23:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 3190


Attachments
stacktrace (2.05 KB, text/plain)
2009-06-16 19:31 UTC, charlweed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charlweed 2009-06-16 19:31:31 UTC
Build: NetBeans IDE Dev (Build 090614)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments:
charlweed: Opening a JavaSE project that worked fine when I last opened it.
 No changes to netbeans or project since then.

kiran_bhumana: I was trying to add a dependency library to the project



Stacktrace: 
java.lang.IllegalArgumentException: Project J2SEProject[Q:\projects\hymerfania\JNIAntTasks] not created by org.netbeans.api.project.ProjectManager@748fdb or was already deleted
        at org.netbeans.api.project.ProjectManager$6.run(ProjectManager.java:639)
        at org.netbeans.api.project.ProjectManager$6.run(ProjectManager.java:632)
        at org.openide.util.Mutex.writeAccess(Mutex.java:433)
        at org.netbeans.api.project.ProjectManager.saveProject(ProjectManager.java:632)
        at org.netbeans.modules.java.j2seproject.J2SEProject$ProjectOpenedHookImpl$1$1.run(J2SEProject.java:601)
        at org.netbeans.modules.java.j2seproject.J2SEProject$ProjectOpenedHookImpl$1$1.run(J2SEProject.java:549)
Comment 1 charlweed 2009-06-16 19:31:37 UTC
Created attachment 83655 [details]
stacktrace
Comment 2 Milos Kleint 2009-07-28 10:54:27 UTC
related to "feature on demand" I guess, it's wrapping project instances somehow. please evaluate.

If anyone has a reproducible scenario, please add it to the issue.
Comment 3 Jaroslav Tulach 2009-08-07 13:24:43 UTC
The ui gestures file at
http://statistics.netbeans.org/exceptions/exception.do?id=216294
contains with UI_INIT_PROJECTS (e.g. the IDE has been started) and then shows no sign of FoD activity. This failure is 
not releated to FoD I am afraid.

Also FoD does not create projects itself, it always asks ProjectManager to create the project. Again, FoD does not 
seem to be cause of this problem.
Comment 4 Exceptions Reporter 2009-09-02 17:54:15 UTC
This issue already has 9 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=3190
Comment 5 Antonin Nebuzelsky 2010-03-29 14:11:07 UTC
Change of default owner.
Comment 6 Jesse Glick 2010-03-30 23:02:40 UTC
No idea how to reproduce or what would cause this. Even if the project were deleted while it was being opened, removedProjects should contain it and thus saveProject should quietly return early. Perhaps some rare race condition involving proj2Factory?
Comment 7 Jesse Glick 2010-04-12 23:52:20 UTC
Still no idea what would cause this, but anyway it has been downgraded to a warning.

*** This bug has been marked as a duplicate of bug 162927 ***