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 219982 - IllegalStateException: Different suspend counts! JPDA Thread = 2, thread instance of java.lang.Thread(name='main', id=1) = 1
Summary: IllegalStateException: Different suspend counts! JPDA Thread = 2, thread inst...
Status: RESOLVED DUPLICATE of bug 214331
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-12 10:32 UTC by Chiana
Modified: 2012-10-23 09:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 193458


Attachments
stacktrace (1.76 KB, text/plain)
2012-10-12 10:32 UTC, Chiana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2012-10-12 10:32:51 UTC
Build: NetBeans IDE Dev (Build 201210110002)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

User Comments:
Chiana: Occured while debugging a package that involves heavy synchronization and Thread creation/deletion. My guess is that this occured because one of the treads finished between step and next instruction in the main thread.




Stacktrace: 
java.lang.IllegalStateException: Different suspend counts! JPDA Thread = 2, thread instance of java.lang.Thread(name='main', id=1) = 1
   at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.notifyMethodInvoking(JPDAThreadImpl.java:1295)
   at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:998)
   at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:962)
   at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.invokeMethod(AbstractObjectVariable.java:594)
   at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.invokeMethod(AbstractObjectVariable.java:531)
   at org.netbeans.modules.debugger.jpda.ui.BreakpointOutput.substitute(BreakpointOutput.java:334)
Comment 1 Chiana 2012-10-12 10:32:54 UTC
Created attachment 125842 [details]
stacktrace
Comment 2 Martin Entlicher 2012-10-23 09:58:58 UTC

*** This bug has been marked as a duplicate of bug 214331 ***