Under some situations, ParseException is constructed
with a null "currentToken" member variable.
A call to ParseException.getErrorLineNumber therefore
fails with a NullPointerException.
The exception message has however been correctly
Parse error at line 35, column 20. Encountered: (
The source code line that caused this problem is:
That is, there is a missing ")".