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 211229 - IllegalStateException: Attempt to call ProjectManager.findProject within the body of ProjectFactory.loadProject
Summary: IllegalStateException: Attempt to call ProjectManager.findProject within the ...
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-16 08:47 UTC by Exceptions Reporter
Modified: 2013-10-07 09:58 UTC (History)
13 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144404


Attachments
stacktrace (3.27 KB, text/plain)
2012-04-16 08:48 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-04-16 08:47:55 UTC
This issue was reported manually by mmirilovic.
It already has 20 duplicates 


Build: NetBeans IDE 7.1 (Build 201112071828)
VM: Java HotSpot(TM) Client VM, 20.5-b03, Java(TM) SE Runtime Environment, 1.6.0_30-b12
OS: Windows XP

User Comments:
t_yano: it occurs when I am installing 'MountFilesystems' plugin.

mauroxme: Pruebas con portlets liferay-icefaces

GUEST: bringing up netbean project. It is a project with GWT4NB and App Engine plugin.

GUEST: When open NetBeans 7.0

GUEST: New project from existing sources.

GUEST: Downloading and installing Visual JSF

GUEST: just tried to change the Project Group




Stacktrace: 
java.lang.IllegalStateException: Attempt to call ProjectManager.findProject within the body of ProjectFactory.loadProject (hint: try using ProjectManager.mutex().postWriteRequest(...) within the body of your Project's constructor to prevent this)
   at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:247)
   at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:233)
   at org.openide.util.Mutex.readAccess(Mutex.java:330)
   at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:233)
   at org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.getOwner(SimpleFileOwnerQueryImplementation.java:131)
   at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:104)
Comment 1 Exceptions Reporter 2012-04-16 08:48:00 UTC
Created attachment 118309 [details]
stacktrace
Comment 2 Jesse Glick 2012-04-16 22:31:57 UTC
Same error message but various culprits. Only 7.1 report is from someone using flexbean.sf.net.