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 190981 - AssertionError: Debugger lock taken in AWT Event Queue!
Summary: AssertionError: Debugger lock taken in AWT Event Queue!
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 14:01 UTC by Jiri Kovalsky
Modified: 2010-10-19 13:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 173143


Attachments
stacktrace (3.68 KB, text/plain)
2010-10-13 14:01 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2010-10-13 14:01:32 UTC
Build: NetBeans IDE 7.0 M2 (Build 201010121358)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
jkovalsky: On breakpoint hit I right clicked "TimerQueue" thread in Threads view and invoked "Make Current" from its popup menu. For the detailed step by step procedure, see: "1. Switch to thread" test case in Java Debugger Sanity Test specification [1].

[1] http://wiki.netbeans.org/TS_68_Debugger_Sanity




Stacktrace: 
java.lang.AssertionError: Debugger lock taken in AWT Event Queue!
   at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl$DebuggerReentrantReadWriteLock$DebuggerReadLock.lock(JPDADebuggerImpl.java:2125)
   at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl$ThreadReentrantReadWriteLock$ThreadReadLock.lock(JPDAThreadImpl.java:2006)
   at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.getSourcePath(JPDAThreadImpl.java:506)
   at org.netbeans.modules.debugger.jpda.ui.SourcePath.sourceAvailable(SourcePath.java:259)
   at org.netbeans.modules.debugger.jpda.ui.models.ThreadsActionsProvider.isGoToSourceSupported(ThreadsActionsProvider.java:267)
   at org.netbeans.modules.debugger.jpda.ui.models.ThreadsActionsProvider.access$100(ThreadsActionsProvider.java:73)
Comment 1 Jiri Kovalsky 2010-10-13 14:01:40 UTC
Created attachment 102391 [details]
stacktrace
Comment 2 Martin Entlicher 2010-10-15 15:11:08 UTC
Fixed in changeset:   179740:002c9e777132 and changeset:   179741:aa7ef1926487
http://hg.netbeans.org/main/rev/002c9e777132
http://hg.netbeans.org/main/rev/aa7ef1926487
Comment 3 Quality Engineering 2010-10-16 02:53:31 UTC
Integrated into 'main-golden', will be available in build *201010160000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/002c9e777132
User: mentlicher@netbeans.org
Log: #190981 Do not retrieve source path from jdwp thread in AWT.
Comment 4 Jiri Kovalsky 2010-10-19 13:30:04 UTC
Verified in development build 201010190000 of NetBeans 7.0.