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 214248 - IllegalArgumentException: Cannot format given Object as a Number
Summary: IllegalArgumentException: Cannot format given Object as a Number
Status: RESOLVED FIXED
Alias: None
Product: nblocalization
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Masaki Katakai
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-15 02:32 UTC by fortruth
Modified: 2012-09-19 15:47 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 189039


Attachments
stacktrace (4.73 KB, text/plain)
2012-06-15 02:32 UTC, fortruth
Details
stacktrace (4.73 KB, text/plain)
2012-06-27 10:14 UTC, fortruth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fortruth 2012-06-15 02:32:19 UTC
Build: NetBeans IDE Dev (Build 201206110001)
VM: OpenJDK 64-Bit Server VM, 22.0-b10, OpenJDK Runtime Environment, 1.7.0_03-b147
OS: Linux

User Comments:
GUEST: when save




Stacktrace: 
java.lang.IllegalArgumentException: Cannot format given Object as a Number
   at java.text.NumberFormat.format(NumberFormat.java:247)
   at java.text.Format.format(Format.java:157)
   at java.text.MessageFormat.subformat(MessageFormat.java:1253)
   at java.text.MessageFormat.format(MessageFormat.java:860)
   at java.text.Format.format(Format.java:157)
   at java.text.MessageFormat.format(MessageFormat.java:836)
Comment 1 fortruth 2012-06-15 02:32:25 UTC
Created attachment 120878 [details]
stacktrace
Comment 2 fortruth 2012-06-27 10:14:07 UTC
Created attachment 121437 [details]
stacktrace
Comment 3 Dusan Balek 2012-09-18 13:13:02 UTC
It seems hat localized bundles do not reflect recent changes to java.editor/src/org/netbeans/modules/editor/java/Bundle.properties made as a part of http://hg.netbeans.org/jet-main/rev/09317b52cc3f
Comment 4 Masaki Katakai 2012-09-19 15:47:54 UTC
This should not happen on ja,zh_CN,ru and pt_BR but may happen on community languages because
there have not been any update since last translation. I just commented out these lines to avoid
the exception. It will be into next community release.

http://hg.netbeans.org/releases/l10n/rev/b7ee2ddbaba3
http://hg.netbeans.org/releases/l10n/rev/dd72d0927c0d