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 185699 - IllegalArgumentException: can't parse argument number 0/
Summary: IllegalArgumentException: can't parse argument number 0/
Status: RESOLVED DUPLICATE of bug 176509
Alias: None
Product: nblocalization
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Masaki Katakai
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 13:37 UTC by ssadak28
Modified: 2010-06-04 13:24 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 161813


Attachments
stacktrace (1.13 KB, text/plain)
2010-05-07 13:37 UTC, ssadak28
Details
stacktrace (1.48 KB, text/plain)
2010-05-11 13:44 UTC, ssadak28
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ssadak28 2010-05-07 13:37:21 UTC
Build: NetBeans IDE 6.8 (Build 201004041201)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP

Stacktrace: 
java.lang.IllegalArgumentException: can't parse argument number 0/
   at java.text.MessageFormat.makeFormat(MessageFormat.java:1339)
   at java.text.MessageFormat.applyPattern(MessageFormat.java:458)
   at java.text.MessageFormat.<init>(MessageFormat.java:350)
   at java.text.MessageFormat.format(MessageFormat.java:811)
   at org.openide.util.NbBundle.getMessage(NbBundle.java:728)
   at org.openide.util.NbBundle.getMessage(NbBundle.java:650)
Comment 1 ssadak28 2010-05-07 13:37:26 UTC
Created attachment 98628 [details]
stacktrace
Comment 2 dlipin 2010-05-07 18:31:54 UTC
Masaki, I see a lot of "/{0/}" substring (which is wrong as it is should be just "{0}") in "ar" localization, specifically in

http://hg.netbeans.org/main/l10n/file/tip/src/ar/platform/autoupdate-services/autoupdate-services/org/netbeans/modules/autoupdate/services/Bundle_ar.properties
and
http://hg.netbeans.org/main/l10n/file/tip/src/ar/platform/autoupdate-ui/autoupdate-ui/org/netbeans/modules/autoupdate/ui/Bundle_ar.properties
Could you please fix it or let the owner of Arabic localization know?
Comment 3 Masaki Katakai 2010-05-10 23:05:46 UTC
Thank you Dmitry for the evaluation. Will try to fix at 6.9.
Comment 4 ssadak28 2010-05-11 13:44:42 UTC
Created attachment 98768 [details]
stacktrace
Comment 5 Masaki Katakai 2010-06-04 13:24:53 UTC
fixed in 6.9.

*** This bug has been marked as a duplicate of bug 176509 ***