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 - IllegalStateException: Attempt to call ProjectManager.findProject within the body of ProjectFactory.loadProject (hint: try using ProjectManager.mutex().postWriteRequest(...) within the body of your Pr
Summary: IllegalStateException: Attempt to call ProjectManager.findProject within the ...
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-27 21:34 UTC by thruminds
Modified: 2018-02-19 18:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220259


Attachments
stacktrace (4.30 KB, text/plain)
2016-07-27 21:34 UTC, thruminds
Details

Note You need to log in before you can comment on or make changes to this bug.
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