Environment
Novell ZENworks 10 Configuration Management with Support Pack 3 - 10.3
Situation
The command "novell-zenworks-configure -c CreateExtractorPacks -Z" returns the following java error when executed on a system configured with regional settings (for example, Dutch) which is not one of:
English, German, French, Spanish, Portuguese, Italian, Japanese, Chinese.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at
com.novell.zenworks.configure.ConfigureLoader.main(ConfigureLoader.ja
va:39)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
at
com.novell.zenworks.configure.PromptManager.createDisplayPrompt(Promp
tManager.java:240)
at
com.novell.zenworks.configure.PromptManager.createDisplayPrompt(Promp
tManager.java:141)
at
com.novell.zenworks.configure.PromptManager.createDisplayPrompt(Promp
tManager.java:215)
at
com.novell.zenworks.configure.PromptManager.createDisplayPrompt(Promp
tManager.java:141)
at
com.novell.zenworks.configure.PromptManager.doSelection(PromptManager
.java:101)
at
com.novell.zenworks.configure.PromptManager.promptForValue(PromptMana
ger.java:83)
at
com.novell.zenworks.configure.ZENworksConfigure.getConfigInfoFor(ZENw
orksConfigure.java:1260)
at
com.novell.zenworks.configure.ZENworksConfigure.configure(ZENworksCon
figure.java:1159)
at
com.novell.zenworks.configure.ZENworksConfigure.main(ZENworksConfigur
e.java:1103)
English, German, French, Spanish, Portuguese, Italian, Japanese, Chinese.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at
com.novell.zenworks.configure.ConfigureLoader.main(ConfigureLoader.ja
va:39)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
at
com.novell.zenworks.configure.PromptManager.createDisplayPrompt(Promp
tManager.java:240)
at
com.novell.zenworks.configure.PromptManager.createDisplayPrompt(Promp
tManager.java:141)
at
com.novell.zenworks.configure.PromptManager.createDisplayPrompt(Promp
tManager.java:215)
at
com.novell.zenworks.configure.PromptManager.createDisplayPrompt(Promp
tManager.java:141)
at
com.novell.zenworks.configure.PromptManager.doSelection(PromptManager
.java:101)
at
com.novell.zenworks.configure.PromptManager.promptForValue(PromptMana
ger.java:83)
at
com.novell.zenworks.configure.ZENworksConfigure.getConfigInfoFor(ZENw
orksConfigure.java:1260)
at
com.novell.zenworks.configure.ZENworksConfigure.configure(ZENworksCon
figure.java:1159)
at
com.novell.zenworks.configure.ZENworksConfigure.main(ZENworksConfigur
e.java:1103)
Resolution
This is fixed in version 10.3.2 - see KB 7007237 "ZENworks
Configuration Management 10.3.2 - update information and list of fixes"
which can be found at https://www.novell.com/support
Additional Information
"novell-zenworks-configure" will try to find the resource strings for the language (location) the server has been configured to use, and will fail if it is not among the above listed.