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.

Bug 252359 - NullPointerException at org.netbeans.modules.cnd.debugger.gdb2.mi.MIRecord.toString
Summary: NullPointerException at org.netbeans.modules.cnd.debugger.gdb2.mi.MIRecord.to...
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: henk89
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-12 12:22 UTC by IAbstract
Modified: 2015-07-14 13:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217256


Attachments
stacktrace (1.12 KB, text/plain)
2015-05-12 12:22 UTC, IAbstract
Details

Note You need to log in before you can comment on or make changes to this bug.
Description IAbstract 2015-05-12 12:22:55 UTC
This bug was originally marked as duplicate of bug 214106, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
IAbstract: IDE debugger throws exception on a printf statement using the "%s" formatter and a null terminated char* value.

GUEST: Attempted to debug basic C++ Project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.debugger.gdb2.mi.MIRecord.toString(MIRecord.java:182)
   at java.util.Formatter$FormatSpecifier.printString(Formatter.java:2886)
   at java.util.Formatter$FormatSpecifier.print(Formatter.java:2763)
   at java.util.Formatter.format(Formatter.java:2520)
   at java.util.Formatter.format(Formatter.java:2455)
   at java.lang.String.format(String.java:2927)
Comment 1 IAbstract 2015-05-12 12:22:57 UTC
Created attachment 153616 [details]
stacktrace
Comment 2 henk89 2015-07-09 14:40:36 UTC
I'm unable to reproduce the issue.

Could you please follow the steps:
1. try debugging in gdb
2. provide me with a sample project to reproduce the issue
3. attach a gdb log (http://wiki.netbeans.org/GdbLog)