You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CommonToken constructor org.antlr.runtime.CommonToken#CommonToken(int, java.lang.String) does not set input and so it has a default value of null.
There are a couple of places in org.stringtemplate.v4.misc.ErrorManager which do not check for null when calling org.antlr.runtime.Token#getInputStream.
There was a guard put in one of the compileTimeError methods but not the other 2 overloads. See 7bff6cf
The
CommonToken
constructororg.antlr.runtime.CommonToken#CommonToken(int, java.lang.String)
does not setinput
and so it has a default value of null.There are a couple of places in
org.stringtemplate.v4.misc.ErrorManager
which do not check for null when callingorg.antlr.runtime.Token#getInputStream
.There was a guard put in one of the
compileTimeError
methods but not the other 2 overloads. See7bff6cf
I encountered this in foundweekends/giter8#460
The text was updated successfully, but these errors were encountered: