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 163843

Summary: IllegalArgumentException: unknown format type at
Product: nblocalization Reporter: _ mihmax <mihmax>
Component: CodeAssignee: _ mihmax <mihmax>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=150199
Issue Type: DEFECT Exception Reporter: 150199
Attachments: stacktrace

Description _ mihmax 2009-04-28 08:41:41 UTC
Build: NetBeans IDE 6.5.1 (Build 200903060201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b02
OS: Windows XP, 5.1, x86

User Comments:
mihmax: Updated to most recent Russian 6.5 localization



Stacktrace: 
java.lang.IllegalArgumentException: unknown format type at 
        at java.text.MessageFormat.makeFormat(MessageFormat.java:1433)
        at java.text.MessageFormat.applyPattern(MessageFormat.java:450)
        at java.text.MessageFormat.<init>(MessageFormat.java:350)
        at org.netbeans.modules.project.ui.actions.ActionsUtil.formatName(ActionsUtil.java:202)
        at org.netbeans.modules.project.ui.actions.ProjectAction.<init>(ProjectAction.java:99)
        at org.netbeans.modules.project.ui.actions.ProjectAction.<init>(ProjectAction.java:79)
Comment 1 _ mihmax 2009-04-28 08:41:52 UTC
Created attachment 81037 [details]
stacktrace
Comment 2 _ mihmax 2009-04-28 09:11:02 UTC
The cause is one of translations of projectui/src/org/netbeans/modules/project/ui/actions/Bundle.properties's
LBL_CloseProjectAction_Name
LBL_CloseProjectAction_Popup_Name
Comment 3 _ mihmax 2009-04-28 09:41:46 UTC
http://hg.netbeans.org/release65/l10n/
20 seconds ago	Maxym Mykhalchuk	[ru] [#163843] wrong message format bugfix 
Comment 4 _ mihmax 2009-04-28 09:44:44 UTC
P.S. duplicate is http://statistics.netbeans.org/analytics/detail.do?id=150200
Comment 5 _ mihmax 2009-05-05 09:11:40 UTC
verified fixed in nb6.5-community-ml build # 162
http://deadlock.netbeans.org/hudson/job/nb6.5-community-ml/162/
Comment 6 _ mihmax 2009-05-06 12:38:26 UTC
*** Issue 164579 has been marked as a duplicate of this issue. ***
Comment 7 _ mihmax 2009-05-06 12:40:03 UTC
another translation issue found, now in swing GUI editor - #164579
Comment 8 _ mihmax 2009-05-06 13:03:02 UTC
the cause is
form/src/org/netbeans/modules/form/Bundle.properties 's
FMT_FormMVTCTitle
Comment 9 _ mihmax 2009-05-06 13:45:16 UTC
committed
http://hg.netbeans.org/release65/l10n/
2 minutes ago	Maxym Mykhalchuk	[ru] [#163843] wrong message format bugfix - form module
Comment 10 _ mihmax 2009-05-07 08:43:19 UTC
localized Swing form editor works fine now