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.
When Ctrl-cliking a selected item in New Locale dialog, following exception is thrown: java.lang.NullPointerException at org.netbeans.modules.properties.LocalePanel.supportedListValueChanged(LocalePanel.java:456) at org.netbeans.modules.properties.LocalePanel.access$300(LocalePanel.java:39) at org.netbeans.modules.properties.LocalePanel$8.valueChanged(LocalePanel.java:404) at javax.swing.JList.fireSelectionValueChanged(JList.java:1317) ... (whole stack trace attached) Steps to reproduce: ---------------------- 1) In a project, add a properties file 2) Right-click it inside Explorer and select 'Add Locale...' from the menu 3) Select an item. 4) try to unselect it via ctrl-click --> exception [5.0dev 200509281800, JDK 1.5.0_05, solaris 10/sparc]
Created attachment 25349 [details] exception stack trace
Confirmed, accepted. Tested with build 20051019, JDK 1.5.0_05, Linux @ x86.
Fixed in the trunk. The diff (trivial) is self-explanatory. Modified file: properties/src/org/netbeans/modules/properties/LocalePanel.java (1.14) Diff: http://properties.netbeans.org/source/browse/properties/src/org/netbeans/modules/properties/LocalePanel.java?r1=1.13&r2=1.14&diff_format=u
Verified in 200510251800.