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 164640 - IllegalArgumentException: Unmatched braces in the pattern.
Summary: IllegalArgumentException: Unmatched braces in the pattern.
Status: RESOLVED FIXED
Alias: None
Product: nblocalization
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Magdalena Goldyn
URL: http://statistics.netbeans.org/except...
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2009-05-06 21:38 UTC by adv
Modified: 2009-07-13 14:36 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 142145


Attachments
stacktrace (1.66 KB, text/plain)
2009-05-06 21:38 UTC, adv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adv 2009-05-06 21:38:38 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments:
GUEST: On run j2me project.

GUEST: Debbugin a J2ME project

GUEST: When I was stating to debug



Stacktrace: 
java.lang.IllegalArgumentException: Unmatched braces in the pattern.
        at java.text.MessageFormat.applyPattern(MessageFormat.java:0)
        at java.text.MessageFormat.<init>(MessageFormat.java:0)
        at java.text.MessageFormat.format(MessageFormat.java:0)
        at org.openide.util.NbBundle.getMessage(NbBundle.java:698)
        at org.openide.util.NbBundle.getMessage(NbBundle.java:647)
        at org.netbeans.modules.debugger.jpda.ui.debugging.ClickableIcon.changeIcon(ClickableIcon.java:156)
Comment 1 adv 2009-05-06 21:38:44 UTC
Created attachment 81691 [details]
stacktrace
Comment 2 Martin Entlicher 2009-05-07 08:49:55 UTC
All reports have "pt_BR" locale. It looks there's something bad in that locale.
Look for keys LBL_RESUME_THREAD and LBL_SUSPEND_THREAD in
debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/debugging/Bundle.properties
Comment 3 Martin Entlicher 2009-05-07 08:50:48 UTC
Version 6.7 is missing here?? Why?
Comment 4 Martin Entlicher 2009-05-07 08:54:42 UTC
Looking at
http://hg.netbeans.org/main/l10n/file/a5e519b0f5fb/src/pt_BR/java2/debugger-jpda-ui/debugger-jpda-ui/org/netbeans/modules/debugger/jpda/ui/debugging/Bundle_pt_BR.properties
showed the error:
LBL_RESUME_THREAD=Retomar thread \{ \{\{0\}\}

Should be trivial to fix.
Comment 5 Masaki Katakai 2009-05-07 23:44:51 UTC
Adding 6.7.
Comment 6 Masaki Katakai 2009-05-07 23:46:50 UTC
Magda, could you check this issue in pt_BR translation?
Comment 7 Magdalena Goldyn 2009-05-11 15:27:08 UTC
I fixed the file in repository. Translation memory will be updated accordingly.
Comment 8 Magdalena Goldyn 2009-07-13 14:36:49 UTC
The key was corrected. I verified 6.7 build and could not reproduce this issue anymore. I'm marking it as fixed.