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 243734 - com.sun.jdi.IncompatibleThreadStateException at com.sun.tools.jdi.ClassTypeImpl.invokeMethod
Summary: com.sun.jdi.IncompatibleThreadStateException at com.sun.tools.jdi.ClassTypeIm...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.0
Hardware: All All
: P4 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2014-04-10 13:47 UTC by Tomas Danek
Modified: 2015-02-06 17:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209051


Attachments
stacktrace (1.58 KB, text/plain)
2014-04-10 13:47 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2014-04-10 13:47:06 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 7

User Comments:
musilt2: debugging NB platform app




Stacktrace: 
com.sun.jdi.IncompatibleThreadStateException
   at com.sun.tools.jdi.ClassTypeImpl.invokeMethod(ClassTypeImpl.java:231)
   at org.netbeans.modules.debugger.jpda.jdi.ClassTypeWrapper.invokeMethod(ClassTypeWrapper.java:280)
   at org.netbeans.modules.debugger.jpda.visual.RemoteServices.getBootstrapClassLoader(RemoteServices.java:172)
   at org.netbeans.modules.debugger.jpda.visual.RemoteServices.uploadBasicClasses(RemoteServices.java:234)
   at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:257)
   at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:116)
Comment 1 Tomas Danek 2014-04-10 13:47:08 UTC
Created attachment 146673 [details]
stacktrace
Comment 2 Martin Entlicher 2014-04-11 14:28:28 UTC
This is a result of a preceding IllegalStateException: Different suspend counts!
Comment 3 Martin Entlicher 2014-04-11 14:36:30 UTC
Some steps to reproduce would be helpful, it's hard to guess why is the thread resumed, when we think it's suspended after the breakpoint event.
Comment 4 Martin Entlicher 2014-07-24 10:27:36 UTC
Occurred just once and we have no steps to reproduce.
Comment 5 Martin Entlicher 2015-02-06 17:51:54 UTC
Fixed by http://hg.netbeans.org/core-main/rev/2726556ad319