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 I tried --locale option without any argument e.g. ja, it causes the following exception and exits. Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5 at org.netbeans.core.startup.CLIOptions.cli(CLIOptions.java:161) at org.netbeans.core.startup.CLIOptions.cli(CLIOptions.java:92) at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:227) at org.netbeans.CLIHandler.initialize(CLIHandler.java:476) at org.netbeans.CLIHandler.initialize(CLIHandler.java:346) at org.netbeans.MainImpl.execute(MainImpl.java:180) at org.netbeans.MainImpl.main(MainImpl.java:75) at org.netbeans.Main.main(Main.java:75)
Created attachment 68254 [details] patch for the AOOBE in locale case
I'm not sure who is responsible for the CLI... I've attached patch.
Yarda normally handles CLI issues.
*** Issue 155814 has been marked as a duplicate of this issue. ***
f0c5c6e25ec8
Integrated into 'main-golden', will be available in build *200903111543* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f0c5c6e25ec8 User: Tomas Holy <t_h@netbeans.org> Log: #145006: I18N --locale option without argument causes java.lang.ArrayIndexOutOfBoundsException
Verified the fix on 200903120302 build. Thank you!