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 8.1 (Build 201510222201) VM: OpenJDK 64-Bit Server VM, 25.91-b14, OpenJDK Runtime Environment, 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14 OS: Linux User Comments: GUEST: Compiled code, tried to run the debugger. Netbeans Window with "Connecting debugger..." appears. Netbeans crash report showing up with a NullPointerException in org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerimpl.expandCanonicalPath Stacktrace: java.lang.NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerImpl.expandCanonicalPath(NativeDebuggerImpl.java:348) at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerImpl.remoteToLocal(NativeDebuggerImpl.java:414) at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl$MILocation.make(GdbDebuggerImpl.java:224) at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.genericStoppedWithSrc(GdbDebuggerImpl.java:3775) at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.access$5500(GdbDebuggerImpl.java:141) at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl$40.onDone(GdbDebuggerImpl.java:4026)
Created attachment 160151 [details] stacktrace
fixed in changeset: 298976:93a07a6b9d48 tag: tip user: Maria Dalmatova <mromashova@netbeans.org> date: Thu Jul 07 11:04:55 2016 +0300 summary: fixed bz#262554 - NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerImpl.expandCanonicalPath but this fixed prevents NPE only. NPE could occurr because of func name is unknown (markes with ?) and file name is absent in stack, probably the code was compiled without debug info?
Integrated into 'main-silver', will be available in build *201607080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/93a07a6b9d48 User: Maria Dalmatova <mromashova@netbeans.org> Log: fixed bz#262554 - NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerImpl.expandCanonicalPath but this fixed prevents NPE only. NPE could occurr because of func name is unknown (markes with ?) and file name is absent in stack, probably the code was compiled without debug info?
*** Bug 262790 has been marked as a duplicate of this bug. ***