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 6.5.1 (Build 200903060201) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows XP, 5.1, x86 User Comments: GUEST: setting a breakpoint in a web application Stacktrace: java.lang.NullPointerException at org.netbeans.api.debugger.DebuggerManager.registerBreakpoint(DebuggerManager.java:528) at org.netbeans.api.debugger.DebuggerManager.addBreakpoint(DebuggerManager.java:520) at org.netbeans.modules.web.client.javascript.debugger.ui.breakpoints.NbJSBreakpointManager.addBreakpoint(NbJSBreakpointManager.java:131) at org.netbeans.modules.web.client.javascript.debugger.ui.breakpoints.NbJSBreakpointActionProvider.doAction(NbJSBreakpointActionProvider.java:81) at org.netbeans.api.debugger.ActionsManager.doAction(ActionsManager.java:168) at org.netbeans.modules.debugger.jpda.ui.actions.ToggleMethodFieldBreakpointAction.actionPerformed(ToggleMethodFieldBreakpointAction.java:121)
Created attachment 79916 [details] stacktrace
A defect in NbJSBreakpointManager, which provides a null breakpoint. BTW: Why don't you have "debugger" subcomponent under "javascript" component? "debuggerjavascript" is not easy to find.
This issue already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=124028
This issue already has 23 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=124028
Build: NetBeans IDE 6.7 (Build 200906241340) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: SunOS, 5.11, x86 User Comments: I've been debugging my JSF application, setting breakpoints, applying code changes, trying the new changes, etc. Stacktrace: java.lang.NullPointerException at org.netbeans.api.debugger.DebuggerManager.registerBreakpoint(DebuggerManager.java:528) at org.netbeans.api.debugger.DebuggerManager.addBreakpoint(DebuggerManager.java:520) at org.netbeans.modules.web.client.javascript.debugger.ui.breakpoints.NbJSBreakpointManager.addBreakpoint(NbJSBreakpointManager.java:131) at org.netbeans.modules.web.client.javascript.debugger.ui.breakpoints.NbJSBreakpointActionProvider.doAction(NbJSBreakpointActionProvider.java:81) at org.netbeans.spi.debugger.ActionsProvider$1.run(ActionsProvider.java:112) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
Created attachment 88958 [details] stacktrace
Build: NetBeans IDE 6.7 (Build 200906241340) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: SunOS, 5.11, x86 User Comments: First I commented out some code that had a breakpoint in it. Then I turned off the breakpoint for the commented out line by clicking the red square on the left. This exception appeared. Stacktrace: java.lang.NullPointerException at org.netbeans.api.debugger.DebuggerManager.registerBreakpoint(DebuggerManager.java:528) at org.netbeans.api.debugger.DebuggerManager.addBreakpoint(DebuggerManager.java:520) at org.netbeans.modules.web.client.javascript.debugger.ui.breakpoints.NbJSBreakpointManager.addBreakpoint(NbJSBreakpointManager.java:131) at org.netbeans.modules.web.client.javascript.debugger.ui.breakpoints.NbJSBreakpointActionProvider.doAction(NbJSBreakpointActionProvider.java:81) at org.netbeans.spi.debugger.ActionsProvider$1.run(ActionsProvider.java:112) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
Created attachment 89013 [details] stacktrace
A new implementation of JavaScript debugger is in trunk. Closing old issues.