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 200803250006) VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b13 OS: Windows XP, 5.1, x86 User Comments: Step out throws an exception.
Created attachment 59369 [details] stacktrace
This looks like a big corner case. ThreadReference.frame(0) threw IndexOutOfBoundsException. Thus there is no frame on the thread? Then Step Out does not have any sense anyway. Can you please describe where did you step from? Any steps to reproduce are appreciated.
Build: NetBeans IDE Dev (Build 080723) VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 65372 [details] stacktrace
mentlicher, I stepped out of the following method: public void setRequest(Request request) { this.request.set(request); } where this.request is ThreadLocal<Request>. Why would this be a corner-case?
Build: NetBeans IDE Dev (Build 080723) VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.IndexOutOfBoundsException at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:41) at com.sun.tools.jdi.ThreadReferenceImpl.privateFrames(ThreadReferenceImpl.java:367) at com.sun.tools.jdi.ThreadReferenceImpl.frame(ThreadReferenceImpl.java:277) at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:587) at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getDefaultStratum(CallStackFrameImpl.java:182) at org.netbeans.modules.debugger.jpda.ui.models.CallStackNodeModel.getCSFName(CallStackNodeModel.java:170)
Created attachment 65573 [details] stacktrace
Build: NetBeans IDE Dev (Build 200807240010) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05, Java(TM) SE Runtime Environment, 1.6.0_03-b05 OS: Windows XP, 5.1, x86 User Comments: [65cat][tools] Visual JSF project, stepping through the code using [F8] in the debugger and received this error. Stacktrace: java.lang.IndexOutOfBoundsException at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:41) at com.sun.tools.jdi.ThreadReferenceImpl.privateFrames(ThreadReferenceImpl.java:367) at com.sun.tools.jdi.ThreadReferenceImpl.frame(ThreadReferenceImpl.java:277) at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:587) at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getDefaultStratum(CallStackFrameImpl.java:182) at org.netbeans.modules.debugger.jpda.ui.models.CallStackNodeModel.getCSFName(CallStackNodeModel.java:170)
Created attachment 65614 [details] stacktrace
Build: NetBeans IDE Dev (Build 200807240010) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.IndexOutOfBoundsException at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:41) at com.sun.tools.jdi.ThreadReferenceImpl.privateFrames(ThreadReferenceImpl.java:367) at com.sun.tools.jdi.ThreadReferenceImpl.frame(ThreadReferenceImpl.java:277) at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:587) at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getDefaultStratum(CallStackFrameImpl.java:182) at org.netbeans.modules.debugger.jpda.ui.models.CallStackNodeModel.getCSFName(CallStackNodeModel.java:170)
Created attachment 65689 [details] stacktrace
Build: NetBeans IDE Dev (Build 200807251401) VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02 OS: Linux, 2.6.24-19-generic, i386 User Comments: Debugging "Zillow Tutorial" example Stacktrace: java.lang.IndexOutOfBoundsException at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:41) at com.sun.tools.jdi.ThreadReferenceImpl.privateFrames(ThreadReferenceImpl.java:367) at com.sun.tools.jdi.ThreadReferenceImpl.frame(ThreadReferenceImpl.java:277) at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:587) at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getDefaultStratum(CallStackFrameImpl.java:182) at org.netbeans.modules.debugger.jpda.ui.models.CallStackNodeModel.getCSFName(CallStackNodeModel.java:170)
Created attachment 65715 [details] stacktrace
Build: NetBeans IDE Dev (Build 200807240010) VM: Java HotSpot(TM) Client VM, 1.5.0_13-119, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-237 OS: Mac OS X, 10.5.4, i386 User Comments: Clicked Navigate->Goto Source on a call to a library routine (for which I had source code) Stacktrace: java.lang.IndexOutOfBoundsException at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:41) at com.sun.tools.jdi.ThreadReferenceImpl.privateFrames(ThreadReferenceImpl.java:366) at com.sun.tools.jdi.ThreadReferenceImpl.frame(ThreadReferenceImpl.java:276) at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:587) at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getDefaultStratum(CallStackFrameImpl.java:182) at org.netbeans.modules.debugger.jpda.ui.models.CallStackNodeModel.getCSFName(CallStackNodeModel.java:170)
Created attachment 65750 [details] stacktrace
IOOBE which of stack trace contains org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:587) is a duplicate of issue 141690 and it has been already fixed. It remains to fix the originally reported IOOBE at org.netbeans.modules.debugger.jpda.actions.StepActionProvider.addMethodExitBP(StepActionProvider.java:219)
Fixed in changeset: 155077:ac5ccb4b2292 http://hg.netbeans.org/main/rev/ac5ccb4b2292
Integrated into 'main-golden', will be available in build *200912030200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ac5ccb4b2292 User: mentlicher@netbeans.org Log: #131557 - Catch IndexOutOfBoundsException.