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 200812110201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux, 2.6.27-9-generic, i386 User Comments: fzamboj: - trying to debug using exception breakpoint - IDE throws exception after Array Index Out Of Bound Exception is thrown - it doesn't stop when throw exc. as specified in breakpoint proerties fzamboj: - trying to debug using exception breakpoint - IDE throws exception after Array Index Out Of Bound Exception is thrown - it doesn't stop when throw exc. as specified in breakpoint proerties Stacktrace: org.netbeans.api.debugger.jpda.InvalidExpressionException: No current context at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:915) at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:903) at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.invokeMethod(AbstractObjectVariable.java:432) at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.invokeMethod(AbstractObjectVariable.java:373) at org.netbeans.modules.debugger.jpda.ui.BreakpointOutput.substitute(BreakpointOutput.java:315) at org.netbeans.modules.debugger.jpda.ui.BreakpointOutput.breakpointReached(BreakpointOutput.java:147)
Created attachment 74861 [details] stacktrace
Filip, did you customize the exception breakpoint somehow - e.g. the Suspend property? I'm not able to reproduce this so far...
Build: NetBeans IDE Dev (Build 200812160201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux, 2.6.27-9-generic, i386 User Comments: add an exception breakpoint for java.lang.* run debugging session Stacktrace: org.netbeans.api.debugger.jpda.InvalidExpressionException: No current context at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:915) at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:903) at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.invokeMethod(AbstractObjectVariable.java:432) at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.invokeMethod(AbstractObjectVariable.java:373) at org.netbeans.modules.debugger.jpda.ui.BreakpointOutput.substitute(BreakpointOutput.java:316) at org.netbeans.modules.debugger.jpda.ui.BreakpointOutput.breakpointReached(BreakpointOutput.java:148)
Created attachment 75018 [details] stacktrace
Created attachment 75021 [details] entering exception
no, I didn't. I attached screenshot. it was nightly build (Build 200812160201)
and, one more thing ... I run with clear userdir, of course
Build: NetBeans IDE Dev (Build 200812170242) VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Linux, 2.6.27-9-generic, amd64 User Comments: Add a new exception breakpoint. Set it to stop on java.io.IOException Run debugging session and here you go ... the exception is thrown Stacktrace: org.netbeans.api.debugger.jpda.InvalidExpressionException: No current context at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:915) at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:903) at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.invokeMethod(AbstractObjectVariable.java:432) at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.invokeMethod(AbstractObjectVariable.java:373) at org.netbeans.modules.debugger.jpda.ui.BreakpointOutput.substitute(BreakpointOutput.java:316) at org.netbeans.modules.debugger.jpda.ui.BreakpointOutput.breakpointReached(BreakpointOutput.java:148)
Created attachment 75089 [details] stacktrace
I reported again, because of NB 7.0M1 test.
Created attachment 75090 [details] breakpoint_dialog
This issue has already 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=143304
Should be fixed after http://hg.netbeans.org/main/rev/ee23e0e1b5a6