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.
With the latest NB6.0 nightly bits... Without compilers/gdb included in the PATH, launch the IDE and create a sample Quote project. Build Debug A popup with the "gdb: not found" msg appears as expected; click OK. => java.lang.NullPointerException at org.netbeans.modules.cnd.debugger.gdb.GdbDebuggerImpl.finish(GdbDebuggerImpl.java:253) at org.netbeans.modules.cnd.debugger.gdb.actions.KillActionProvider.runAction(KillActionProvider.java:90) at org.netbeans.modules.cnd.debugger.gdb.actions.KillActionProvider.doAction(KillActionProvider.java:78) at org.netbeans.api.debugger.ActionsManager.doAction(ActionsManager.java:136) at org.netbeans.api.debugger.Session.kill(Session.java:256) at org.netbeans.modules.cnd.debugger.gdb.GdbDebuggerImpl.startDebugger(GdbDebuggerImpl.java:147) at org.netbeans.modules.cnd.debugger.gdb.actions.StartActionProvider.doAction(StartActionProvider.java:73) at org.netbeans.modules.cnd.debugger.gdb.actions.StartActionProvider$1.run(StartActionProvider.java:117) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964) Per gordonp, this is a known problem that needs to be documented.
Fixed. Check for null object and skip dereferencing it if null. Also use Build Tools to ensure a gdb command is available.
Verified in nightly build 20071023