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 177627

Summary: com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Product: debugger Reporter: Marian Petras <mpetras>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 162926
Attachments: stacktrace

Description Marian Petras 2009-11-25 13:13:39 UTC
This bug was originally marked as duplicate of bug 141061, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 091125-a924683176ac)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.0-b12, Java(TM) SE Runtime Environment, 1.6.0_18-ea-b05
OS: Linux, 2.6.26-1-amd64, amd64

User Comments:
mpetras: I attached a debugger to a second instance. Before the attachment, I had already had four line breakpoints set. Just about the moment one of the breakpoint was hit, I got the exception.

The second instance of NetBeans (the one being debugged) was the same build of NetBeans as the one used for debugging. It was also running on the same JDK (JDK 6u18-ea-b05).



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.visitIdentifier(EvaluatorVisitor.java:1862)
        at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:188)
        at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1689)
        at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitBinary(EvaluatorVisitor.java:1095)
Comment 1 Marian Petras 2009-11-25 13:13:44 UTC
Created attachment 91700 [details]
stacktrace
Comment 2 Martin Entlicher 2009-11-26 01:40:32 UTC
Bug #141061 was reopened, therefore resolving as a duplicate.

*** This bug has been marked as a duplicate of bug 141061 ***
Comment 3 Marian Mirilovic 2010-05-18 13:22:44 UTC
verified duplicate