Description
In the Parser command-line tool, if an input line is comprised of solely whitespace, then you get an array index exception in parseLine
String text = sb.substring(0, sb.length() - 1);
because the whitespace doesn't produce any tokens thus sb.length() is 0, and you wind up with an end position of -1.
Simple solution is to .trim() the input string in ParserTool.