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.
Build: NetBeans IDE Dev (Build 20110929-a85624a5b652) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: SunOS User Comments: vv159170: baloon evaluation over private static final boolean DISABLED variable GUEST: debug during load of osgi module. 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.jdi.StackFrameWrapper.location(StackFrameWrapper.java:279) at org.netbeans.modules.debugger.jpda.SourcePath.getURL(SourcePath.java:167) at org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluateIn(JavaEvaluator.java:122) at org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluate(JavaEvaluator.java:91)
Created attachment 111300 [details] stacktrace
*** Bug 203493 has been marked as a duplicate of this bug. ***
Created attachment 112257 [details] stacktrace
*** Bug 204936 has been marked as a duplicate of this bug. ***
*** Bug 204937 has been marked as a duplicate of this bug. ***
*** Bug 205423 has been marked as a duplicate of this bug. ***
When this happens, do your breakpoints suspend only the current thread (the default), or did you change them to suspend all threads?
I did not change anything in breakpoints settings (all default values)
Created attachment 115802 [details] stacktrace
Created attachment 120149 [details] stacktrace
Created attachment 120424 [details] stacktrace debugging nb module
116 dups ... at least P2
There is no report from JDK 7, which suggests that this arise from some inconsistency in JDI. There was bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6700889 which can cause exceptions like this at any time and maybe there are some more fixes of this sort in JDK 7. I'm afraid that we can only try to make the probability of this issue lower.
Workarounded by changeset: 233854:ac1ba4273d76 http://hg.netbeans.org/main/rev/ac1ba4273d76
Integrated into 'main-golden', will be available in build *201209220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ac1ba4273d76 User: mentlicher@netbeans.org Log: #202813: When we happen to have the stack frames invalidated in between, try again.