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 167304 - com.sun.jdi.IncompatibleThreadStateException at com.sun.tools.jdi.ThreadReferenceImpl.privateFrames
Summary: com.sun.jdi.IncompatibleThreadStateException at com.sun.tools.jdi.ThreadRefer...
Status: CLOSED DUPLICATE of bug 158750
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@debugger
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-18 13:16 UTC by Erno Mononen
Modified: 2010-05-06 08:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 151798


Attachments
stacktrace (949 bytes, text/plain)
2009-06-18 13:17 UTC, Erno Mononen
Details
stacktrace (949 bytes, text/plain)
2009-06-19 20:17 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2009-06-18 13:16:01 UTC
Build: NetBeans IDE 6.7 RC3 (Build 200906142201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.27-14-generic, amd64

User Comments:
GUEST: Stepping through code in Java / Sjsp environment.
Exception stated that the fault was recoverable and the ide would continue unaffected (Or words to that effect)

emononen: Debugging a test case in a netbeans module, resumed after hitting a breakpoint.



Stacktrace: 
com.sun.jdi.IncompatibleThreadStateException
        at com.sun.tools.jdi.ThreadReferenceImpl.privateFrames(ThreadReferenceImpl.java:365)
        at com.sun.tools.jdi.ThreadReferenceImpl.frame(ThreadReferenceImpl.java:277)
        at org.netbeans.modules.debugger.jpda.jdi.ThreadReferenceWrapper.frame(ThreadReferenceWrapper.java:132)
        at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.evaluateCondition(BreakpointImpl.java:596)
        at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.processCondition(BreakpointImpl.java:345)
        at org.netbeans.modules.debugger.jpda.breakpoints.ClassBasedBreakpoint.processCondition(ClassBasedBreakpoint.java:85)
Comment 1 Erno Mononen 2009-06-18 13:17:17 UTC
Created attachment 83750 [details]
stacktrace
Comment 2 misterm 2009-06-19 20:17:19 UTC
Build: NetBeans IDE 6.7 RC1 (Build 200905282243)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP, 5.1, x86

User Comments: 
Just hit a breakpoint during a debug session

Stacktrace: 
com.sun.jdi.IncompatibleThreadStateException
        at com.sun.tools.jdi.ThreadReferenceImpl.privateFrames(ThreadReferenceImpl.java:365)
        at com.sun.tools.jdi.ThreadReferenceImpl.frame(ThreadReferenceImpl.java:277)
        at org.netbeans.modules.debugger.jpda.jdi.ThreadReferenceWrapper.frame(ThreadReferenceWrapper.java:132)
        at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.evaluateCondition(BreakpointImpl.java:596)
        at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.processCondition(BreakpointImpl.java:345)
        at org.netbeans.modules.debugger.jpda.breakpoints.ClassBasedBreakpoint.processCondition(ClassBasedBreakpoint.java:85)
Comment 3 misterm 2009-06-19 20:17:22 UTC
Created attachment 83829 [details]
stacktrace
Comment 4 Martin Entlicher 2009-06-30 14:40:00 UTC
This is, in general, a duplicate of issue #158750.
A thread is suspended by a breakpoint or step and we need to obtain the stack frame. But someone resumes the thread in
between.

*** This issue has been marked as a duplicate of 158750 ***
Comment 5 Marian Mirilovic 2010-05-06 08:02:21 UTC
verified duplicate