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 110305-e2467b8d7ca8) VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04 OS: Windows XP User Comments: vkvashin: I was debugging full remote project on Windows, clicked on gutter to set a breakpoint Stacktrace: java.lang.NullPointerException at org.netbeans.modules.cnd.debugger.gdb2.GdbHandlerExpert.commandFormNew(GdbHandlerExpert.java:162) at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.Handler.postNewHandler(Handler.java:263) at org.netbeans.modules.cnd.debugger.common2.debugger.actions.ToggleBreakpointActionProvider.doAction(ToggleBreakpointActionProvider.java:177) at org.netbeans.modules.cnd.debugger.common2.debugger.actions.NativeActionsProvider.postAction(NativeActionsProvider.java:80) at org.netbeans.modules.cnd.debugger.common2.debugger.actions.ToggleBreakpointActionProvider.postAction(ToggleBreakpointActionProvider.java:84) at org.netbeans.api.debugger.ActionsManager.postAction(ActionsManager.java:240)
Created attachment 106748 [details] stacktrace
this could happen if gdb was not started properly. easy steps to reproduce: - change gdb location in the toolchain to the incorrect one - start debugging it will end up in the endless "starting gdb" - but the progress window is not modal, so you can go and try to set a line breakpoint and get the exception
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=177302
occurred in hotspot dev
hotspot by default is compiled in optimized mode and user does some clicks before can set real breakpoint
Created attachment 109846 [details] stacktrace
fixed in http://hg.netbeans.org/cnd-main/rev/f3df59ad9009
please verify on elif
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/f3df59ad9009 User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #196352 (NPE in GdbHandlerExpert.commandFormNew)
verified in NetBeans IDE 7.0.1 (Build oss-platform-build-23-on-20110818)
integrated in release701_fixes: 105628ef851c transplanted to eb8bbc63bf7a 84915cc3965a
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/eb8bbc63bf7a User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #196352 (NPE in GdbHandlerExpert.commandFormNew) (transplanted from 105628ef851c48a9acd91f787582a2b355b91338)
verified in 7.0.1 patch
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/105628ef851c User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #196352 (NPE in GdbHandlerExpert.commandFormNew)
Integrated into 'main-silver', will be available in build *201704080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1ffe3ed4099e User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #196352 (NPE in GdbHandlerExpert.commandFormNew)