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 157042 - com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Summary: com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Status: CLOSED DUPLICATE of bug 141061
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-01-19 11:09 UTC by stefan79
Modified: 2010-04-29 09:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 145132


Attachments
stacktrace (2.94 KB, text/plain)
2009-01-19 11:09 UTC, stefan79
Details
stacktrace (2.65 KB, text/plain)
2009-01-22 08:59 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan79 2009-01-19 11:09:32 UTC
Build: NetBeans IDE Dev (Build 200901150201)
VM: Java HotSpot(TM) Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments:
GUEST: I'm trying to debug a REST-ful Web Service.

GUEST: Ctrl+left mouse on function name



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.visibleVariableByName(StackFrameImpl.java:177)
        at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.getIdentifierByName(EvaluatorVisitor.java:1403)
        at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:1467)
        at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:178)
        at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1689)
Comment 1 stefan79 2009-01-19 11:09:40 UTC
Created attachment 75977 [details]
stacktrace
Comment 2 stefan79 2009-01-22 08:59:19 UTC
Build: NetBeans IDE Dev (Build 200901191401)
VM: Java HotSpot(TM) Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments: 
Step by Step - Debuggin and then the Breakpoint went back to the other class and then the Exception occured.

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.visibleVariableByName(StackFrameImpl.java:177)
        at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.getIdentifierByName(EvaluatorVisitor.java:1403)
        at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:1467)
        at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:178)
        at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1689)
Comment 3 stefan79 2009-01-22 08:59:30 UTC
Created attachment 76124 [details]
stacktrace
Comment 4 Martin Entlicher 2009-01-22 09:16:31 UTC
Either a stack frame is outdated by some method invocation, or the evaluation thread is resumed asynchronously.
Comment 5 Martin Entlicher 2009-02-09 16:06:41 UTC

*** This issue has been marked as a duplicate of 141061 ***
Comment 6 Quality Engineering 2010-04-29 09:46:53 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.