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 267340

Summary: IllegalStateException: Attempt to call ProjectManager.findProject within the body of ProjectFactory.loadProject (hint: try using ProjectManager.mutex().postWriteRequest(...) within the body of your Pr
Product: projects Reporter: thruminds
Component: AntAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal CC: ak2049l
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220259
Attachments: stacktrace

Description thruminds 2016-07-27 21:34:35 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17
OS: Linux

User Comments:
GUEST: just popped up

thruminds: Started Netbeans after a crash

GUEST: same

GUEST: re open netbeans

GUEST: same




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.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:258)
   at org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:243)
   at org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:252)
   at org.openide.util.Mutex.readAccess(Mutex.java:250)
   at org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:243)
   at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:167)
Comment 1 thruminds 2016-07-27 21:34:37 UTC
Created attachment 161475 [details]
stacktrace