Fix for issue 926.
@@ -160,9 +160,11 @@ public class GatewayCommandLineProcessor {
String[] nextLine;
while ((nextLine = script_options.readNext()) != null) {
+ if (nextLine.length >= 3 ) {
Option o = new Option(null, nextLine[0], Boolean.parseBoolean(nextLine[1]), nextLine[2]);
all_opt.addOption(o);
}
+ }
script_options.close();
}
