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.
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)
Created attachment 88694 [details] stacktrace
This issue already has 6 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=150629
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)
Created attachment 88695 [details] stacktrace
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.
Created attachment 96814 [details] stacktrace Stepping through code in the debugger.
Created attachment 99705 [details] stacktrace Evaluated code during debugging
Occurs during expression evaluation - looks like the same problem as in issue #141061. *** This bug has been marked as a duplicate of bug 141061 ***