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 212772 - javacard.ri.platform.loader.CardDataObject$CardDataNode: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
Summary: javacard.ri.platform.loader.CardDataObject$CardDataNode: Should not acquire C...
Status: RESOLVED FIXED
Alias: None
Product: javacard
Classification: Unclassified
Component: Java Card (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: onkentes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-21 10:36 UTC by sunbiz
Modified: 2013-05-22 02:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 188150


Attachments
stacktrace (11.10 KB, text/plain)
2012-05-21 10:36 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2012-05-21 10:36:41 UTC
Build: NetBeans IDE Dev (Build 201205200400)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01, Java(TM) SE Runtime Environment, 1.6.0_31-b05
OS: Windows 7

User Comments:
sunbiz: JavaCard and then Manage Devices... Delete on the Default Device threw this exception




Stacktrace: 
java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
   at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1918)
   at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1328)
   at org.openide.util.Mutex.readAccess(Mutex.java:356)
   at org.openide.explorer.view.VisualizerNode$QP.run(VisualizerNode.java:682)
   at org.openide.util.Mutex.doEvent(Mutex.java:1343)
   at org.openide.util.Mutex.writeAccess(Mutex.java:457)
Comment 1 sunbiz 2012-05-21 10:36:45 UTC
Created attachment 119680 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-05-21 11:06:35 UTC
Calls is coming from:

	at org.netbeans.modules.javacard.ri.platform.loader.CardDataObject$CardDataNode.checkForRunningStateChange(CardDataObject.java:437)
	at org.netbeans.modules.javacard.ri.platform.loader.CardDataObject.onStateChange(CardDataObject.java:242)
Comment 3 J Bachorik 2012-08-01 08:41:54 UTC
changing owner
Comment 4 Roman Svitanic 2013-05-21 09:54:32 UTC
fixed in jet-main:
http://hg.netbeans.org/jet-main/rev/1d57f275d300
Comment 5 Quality Engineering 2013-05-22 02:36:13 UTC
Integrated into 'main-golden', will be available in build *201305212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1d57f275d300
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #212772 - javacard.ri.platform.loader.CardDataObject$CardDataNode: Should not acquire Children.MUTEX while holding ProjectManager.mutex()