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 173524 - com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Summary: com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Status: RESOLVED DUPLICATE of bug 141061
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@debugger
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-01 19:43 UTC by iceman81
Modified: 2010-07-16 15:16 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 150629


Attachments
stacktrace (1.84 KB, text/plain)
2009-10-01 19:43 UTC, iceman81
Details
stacktrace (1.39 KB, text/plain)
2009-10-01 19:44 UTC, iceman81
Details
stacktrace (2.40 KB, text/plain)
2010-04-06 21:01 UTC, gholmer
Details
stacktrace (1.32 KB, text/plain)
2010-06-01 12:03 UTC, Erno Mononen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iceman81 2009-10-01 19:43:50 UTC
This issue was originally marked as duplicate of issue 141061, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200909301401)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments:
iceman81: during multi-threaded debugging.



Stacktrace: 
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
        at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:62)
        at com.sun.tools.jdi.StackFrameImpl.location(StackFrameImpl.java:71)
        at org.netbeans.modules.debugger.jpda.expr.TreeEvaluator.indexOf(TreeEvaluator.java:215)
        at org.netbeans.modules.debugger.jpda.expr.TreeEvaluator.evaluate(TreeEvaluator.java:126)
        at org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluateIn(JavaEvaluator.java:137)
        at org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluate(JavaEvaluator.java:86)
Comment 1 iceman81 2009-10-01 19:43:59 UTC
Created attachment 88694 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-10-01 19:44:05 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=150629
Comment 3 iceman81 2009-10-01 19:44:51 UTC
Build: NetBeans IDE Dev (Build 200909301401)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
        at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:62)
        at com.sun.tools.jdi.StackFrameImpl.location(StackFrameImpl.java:71)
        at org.netbeans.modules.debugger.jpda.expr.TreeEvaluator.indexOf(TreeEvaluator.java:215)
        at org.netbeans.modules.debugger.jpda.expr.TreeEvaluator.evaluate(TreeEvaluator.java:126)
        at org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluateIn(JavaEvaluator.java:137)
        at org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluate(JavaEvaluator.java:86)
Comment 4 iceman81 2009-10-01 19:44:55 UTC
Created attachment 88695 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-10-01 19:44:59 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=150629
Comment 6 Martin Entlicher 2009-10-27 11:56:12 UTC
It's hard to find the cause of this - we do not know where the thread was actually resumed.
It might be a synchronization issue in NetBeans, or JDK issue.
I did not reproduce it even by a stress-test doing fast stepping and evaluation in between.

If you have any concrete steps that can be used to reproduce this, they are welcomed.
Until we're able to reproduce this or get more reports with more information, I'm moving this to P4.
Comment 7 gholmer 2010-04-06 21:01:18 UTC
Created attachment 96814 [details]
stacktrace

Stepping through code in the debugger.
Comment 8 Erno Mononen 2010-06-01 12:03:04 UTC
Created attachment 99705 [details]
stacktrace

Evaluated code during debugging
Comment 9 Martin Entlicher 2010-07-16 15:16:28 UTC
Occurs during expression evaluation - looks like the same problem as in issue #141061.

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