[jwulf@nitai scratch]$ skynet list - Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at java.lang.String.charAt(String.java:694) at com.redhat.skynetclient.OptionHandler.parseArgs(OptionHandler.java:785) at com.redhat.skynetclient.Client.main(Client.java:57) ... 5 more
Fixed in 0.16.1. The problem came from trying to read 2 variables out of an array that only contained one. I've added a check to make sure that it contains at least two variables if not then it'll throw an error.
[jwulf@radhe temp]$ csprocessor list - Error: Invalid argument! csprocessor list [OPTIONS] [ID] OPTIONS: --contentspec, -c --snapshot, -s --force, -F ID - The ID of the content specification to list snapshots for.