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 205635

Summary: [71cat] com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Product: debugger Reporter: williambacchi
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal CC: jmichelberger, lolo_101
Priority: P3 Keywords: RANDOM, THREAD
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 183262
Attachments: stacktrace
stacktrace

Description williambacchi 2011-11-29 08:57:53 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 7.1 RC1 (Build 201111242103)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows XP

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.thisObject(StackFrameImpl.java:111)
   at org.netbeans.modules.debugger.jpda.expr.EvaluationContext.getContextObject(EvaluationContext.java:183)
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.getIdentifierByName(EvaluatorVisitor.java:1700)
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:1804)
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:194)
Comment 1 williambacchi 2011-11-29 08:57:56 UTC
Created attachment 113603 [details]
stacktrace
Comment 2 Martin Entlicher 2011-11-29 09:13:58 UTC
*** Bug 205611 has been marked as a duplicate of this bug. ***
Comment 3 Martin Entlicher 2011-11-29 09:51:58 UTC
Steps to reproduce are required to fix this.
According to the logs, the thread in question is suspended, so it's not apparent where is the problem.
Comment 4 Martin Entlicher 2012-05-31 14:13:21 UTC
*** Bug 205642 has been marked as a duplicate of this bug. ***
Comment 5 Exceptions Reporter 2012-07-13 17:17:06 UTC
Created attachment 122019 [details]
stacktrace
Comment 6 Martin Entlicher 2012-10-19 08:03:42 UTC
*** Bug 219895 has been marked as a duplicate of this bug. ***
Comment 7 Martin Entlicher 2012-10-19 08:05:46 UTC
This seems to occur on JDK 1.6 only. Therefore it's likely fixed in JDK 1.7.
Comment 8 Martin Entlicher 2013-07-25 12:18:51 UTC
NetBeans 7.4 runs only on JDK 7 and newer. Thus it's fixed.