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 252034 - java.util.MissingFormatArgumentException: Format specifier '%s'
Summary: java.util.MissingFormatArgumentException: Format specifier '%s'
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: henk89
URL:
Keywords:
: 252035 252298 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-23 18:29 UTC by Exceptions Reporter
Modified: 2015-07-10 10:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 216907


Attachments
stacktrace (1.12 KB, text/plain)
2015-04-23 18:29 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-04-23 18:29:25 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b26
OS: Linux

User Comments:
GUEST: Occured while debugging




Stacktrace: 
java.util.MissingFormatArgumentException: Format specifier '%s'
   at java.util.Formatter.format(Formatter.java:2519)
   at java.util.Formatter.format(Formatter.java:2455)
   at java.lang.String.format(String.java:2928)
   at org.netbeans.modules.cnd.debugger.gdb2.mi.MICommand.getConsoleStream(MICommand.java:242)
   at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl$TermCommandImpl.onDone(GdbDebuggerImpl.java:1140)
   at org.netbeans.modules.cnd.debugger.gdb2.mi.MICommandManager.dispatch(MICommandManager.java:194)
Comment 1 Exceptions Reporter 2015-04-23 18:29:27 UTC
Created attachment 153338 [details]
stacktrace
Comment 2 henk89 2015-04-27 12:33:22 UTC
*** Bug 252035 has been marked as a duplicate of this bug. ***
Comment 3 henk89 2015-04-27 12:38:57 UTC
Fixed in:
http://hg.netbeans.org/cnd-main/rev/6188df93c181

It looks like % in the debugger output could confuse String.format()
Comment 4 Quality Engineering 2015-04-28 02:58:42 UTC
Integrated into 'main-silver', will be available in build *201504280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6188df93c181
User: Nikolay Koldunov <henk89@netbeans.org>
Log: Fixed #252034 - java.util.MissingFormatArgumentException: Format specifier '%s'
Comment 5 henk89 2015-07-10 10:04:46 UTC
*** Bug 252298 has been marked as a duplicate of this bug. ***