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.
RC2, jdk1.4.1_02 Steps to reproduce : 1) Create new properties file 2) Add Locale e.g. cs_CZ 3) Remove this locale 4) Try rename your properties file -> Exception appeared (java.lang.IllegalStateException: Resource Bundle: Should never happen -> name1_cs_CZ doesn't start with name2)
Created attachment 10235 [details] Add attach
DataNode.setName(XXX, true) if not probably handled properly. Again openide.loaders will die, Delaying till global refactoring.
Accepted. Since the code has been changed because of fix of bug #36788 ("Locales' node names?"), a different stack trace is displayed now: java.lang.AssertionError at org.n.m.properties.Util.getLocaleSuffix(line 132) at org.n.m.properties.PropertiesLocaleNode.getName(line 116) at org.openide.nodes.FilterNode.getName(line 411) [catch] at org.openide.explorer.view.VisualizerNode.run(line 322) ... (AWT-event-queue thread)
Fixed.
Verified in 4.0 beta 1.