ErrLookup › antlr/antlr4
antlr/antlr4
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. · Java · 1,214 source files
Analyzed at 7d5770395b on 2026-08-14. 235 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| FileStream is only available when running in Node! | exception | critical | antlr, installation, classpath, stringtemplate, corrupted-jar, fatal |
| replace: range invalid: ${from}..${to}(size=${this.tokens.si | exception | critical | antlr, fatal-error, java-lang-error, error-manager, installation |
| replace op boundaries of ${rop} overlap with previous ${prev | exception | error | antlr, java, intervaset, immutable-state |
| insert op ${iop} within boundaries of previous ${rop} | exception | error | antlr, java, intervaset, immutable-state, one-way-flag |
| should only be one op per index | exception | error | antlr, java, unsupported-operation, orderedhashset, partial-api |
| index cannot be negative | exception | error | antlr, java, parse-tree-pattern, configuration, validation |
| missing interface implementation | exception | error | antlr, java, parse-tree-pattern, null-argument, precondition |
| Fatal error occured while evaluating the names of the gramma | exception | error | antlr, java, parse-tree-pattern, null-argument, precondition |
| Error creating an instanceof the ANTLR tool. | exception | error | antlr, java, parse-tree-pattern, pattern-compile, grammar-mismatch |
| Dependency analysis failed. | exception | error | antlr, java, parse-tree-pattern, pattern-compile, grammar-mismatch |
| ANTLR 4 caught {} build errors. | exception | error | antlr, java, parse-tree-pattern, pattern-compile, validation |
| Cannot handle relative paths containing '..' | exception | error | antlr, java, parse-tree-pattern, pattern-syntax, delimiters |
| Could not create checksum {} | exception | error | antlr, java, parse-tree-pattern, pattern-syntax, delimiters |
| expected {} to be prefixed with {} | exception | error | antlr, java, parse-tree-pattern, pattern-syntax, delimiters |
| cannot consume EOF | exception | error | antlr, java, parse-tree-pattern, null-argument, validation |
| tokenSource cannot be null | exception | error | antlr, token-stream, null-check, constructor |
| cannot consume EOF | exception | error | antlr, token-stream, eof, consume, off-by-one |
| token index {} out of range 0..{} | exception | error | antlr, token-stream, index-out-of-bounds, off-by-one |
| start {} or stop {} not in 0..{} | exception | error | antlr, token-stream, index-out-of-bounds, range |
| {} not in 0..{} | exception | error | antlr, token-stream, hidden-tokens, index-out-of-bounds |
| cannot consume EOF | exception | error | antlr, char-stream, eof, consume |
| nextToken requires a non-null input stream. | exception | error | antlr, lexer, null-input, lifecycle |
| The ATN must be a lexer ATN. | exception | error | antlr, lexer-interpreter, atn, validation |
| tokens cannot be null | exception | error | antlr, token-source, null-check, constructor |
| listener | exception | error | antlr, parser, listener, null-check |
| The current parser does not support an ATN with bypass alter | exception | error | antlr, parser, pattern-matching, atn, unsupported-operation |
| Parser can't discover a lexer to use | exception | error | antlr, pattern-matching, lexer, token-source, unsupported-operation |
| precpred(_ctx, %d) | exception | error | antlr, parser-interpreter, precedence, left-recursion, atn |
| Unrecognized ATN transition type. | exception | error | antlr, parser-interpreter, version-mismatch, atn, classloading |
| delegates | exception | error | antlr, error-listener, null-check, constructor |
| The current recognizer does not provide a list of rule names | exception | error | antlr, parser, xpath, tree-pattern, rule-names |
| there is no serialized ATN | exception | error | antlr, atn, interpreter, serialization |
| listener cannot be null. | exception | error | antlr, null-check, error-listener, api-misuse |
| replace: range invalid: {from}..{to}(size={size}) | exception | error | antlr, token-stream-rewriter, index-out-of-range, validation |
| replace op boundaries of {rop} overlap with previous {prevRo | exception | error | antlr, token-stream-rewriter, overlap, rewrite |
| insert op {iop} within boundaries of previous {rop} | exception | error | antlr, token-stream-rewriter, insert, overlap |
| cannot consume EOF | exception | error | antlr, char-stream, eof, consume |
| Invalid UTF-16 (low surrogate with no preceding high surroga | exception | critical | antlr, char-stream, utf-16, encoding, surrogate |
| Invalid UTF-16 (high surrogate followed by code point > U+FF | exception | error | antlr, char-stream, utf-16, surrogate, custom-reader |
| Invalid UTF-16 (dangling high surrogate at end of file) | exception | critical | antlr, char-stream, utf-16, truncation, surrogate |
| Invalid UTF-16 (dangling high surrogate | exception | critical | antlr, char-stream, utf-16, encoding, surrogate |
| release() called with an invalid marker. | exception | error | antlr, char-stream, mark-release, lifo, buffer |
| cannot seek to negative index {index} | exception | error | antlr, char-stream, seek, backward, buffer |
| seek to index outside buffer: {index} not in {bufferStartInd | exception | error | antlr, char-stream, seek, eof, buffer |
| Unbuffered stream cannot know its size | exception | error | antlr, char-stream, size, unsupported-operation, memory |
| invalid interval | exception | error | antlr, char-stream, interval, validation, gettext |
| the interval extends past the end of the stream | exception | error | antlr, char-stream, interval, eof, gettext |
| interval {interval} outside buffer: {bufferStartIndex}..{buf | exception | error | antlr, char-stream, interval, buffer, gettext |
| get({i}) outside buffer: {bufferStartIndex}..{bufferStartInd | exception | error | antlr, token-stream, index-out-of-bounds, buffer, random-access |
| LT({i}) gives negative index | exception | error | antlr, token-stream, lookbehind, lt, buffer |
| cannot consume EOF | exception | error | antlr, java, token-stream, eof, unbuffered |
| release() called with an invalid marker. | exception | error | antlr, java, token-stream, markers, backtracking |
| cannot seek to negative index {index} | exception | error | antlr, java, token-stream, seek, backtracking |
| seek to index outside buffer: {index} not in {bufferStartInd | exception | error | antlr, java, token-stream, seek, random-access |
| Unbuffered stream cannot know its size | exception | warning | antlr, java, token-stream, size, streaming |
| interval {interval} not in token buffer window: {bufferStart | exception | error | antlr, java, token-stream, text, interval, buffer |
| Invalid state number. | exception | error | antlr, java, atn, expected-tokens, validation |
| This set is readonly | exception | error | antlr, java, atn, atn-config-set, readonly, dfa |
| This method is not implemented for readonly sets. | exception | warning | antlr, java, atn, atn-config-set, readonly, contains |
| The object is read only. | exception | error | antlr, java, atn, deserialization, options, readonly |
| Could not deserialize ATN with version %d (expected %d). | exception | critical | antlr, java, atn, serialization, version, compatibility |
| Couldn't identify final state of the precedence rule prefix | exception | error | antlr, java, atn, left-recursion, bypass, serialization |
| The specified transition type is not valid. | exception | critical | antlr, java, atn, transition, serialization, corruption |
| The specified state type %d is not valid. | exception | critical | antlr, java, atn, state, serialization, compatibility |
| The specified lexer action type %s is not valid. | exception | critical | antlr, java, lexer, lexer-action, serialization, compatibility |
| Serialized ATN data element[i] = v doesn't fit in 31 bits | exception | error | antlr, java, atn, serialization, encoding, validation |
| The specified lexer action type %s is not valid. | exception | error | antlr, java, lexer, lexer-action, serialization, custom-action |
| Cannot serialize a transition to a removed state. | exception | error | antlr, java, atn, serialization, corrupt-state |
| This ATN simulator does not support clearing the DFA. | exception | warning | antlr, java, atn, dfa, unsupported-operation |
| Precedence predicates are not supported in lexers. | exception | error | antlr, java, lexer, precedence, predicate, unsupported-operation |
| target cannot be null. | exception | error | antlr, java, atn, transition, null-pointer |
| Only precedence DFAs may contain a precedence start state. | exception | error | antlr, java, dfa, precedence, illegal-state |
| The precedenceDfa field cannot change after a DFA is constru | exception | warning | antlr, java, dfa, precedence, deprecated, migration |
| Unexpected data entry | exception | error | antlr, java, interp, interpreter, file-format |
| can't alter readonly IntervalSet | exception | error | antlr, java, intervalset, readonly, immutability |
| set is empty | exception | error | |
| tree cannot be null | validation | error | |
| pattern cannot be null | validation | error | |
| labels cannot be null | validation | error | |
| start cannot be null or empty | validation | error | |
| stop cannot be null or empty | validation | error | |
| tree cannot be null | validation | error | |
| patternTree cannot be null | validation | error | |
| Unknown token "+tagChunk.getTag()+" in pattern: "+pattern | validation | error | |
| Unknown rule "+tagChunk.getTag()+" in pattern: "+pattern | validation | error | |
| invalid tag: "+tagChunk.getTag()+" in pattern: "+pattern | exception | error | |
| unterminated tag in pattern: "+pattern | exception | error | |
| missing start tag in pattern: "+pattern | exception | error | |
| tag delimiters out of order in pattern: "+pattern | exception | error | |
| ruleName cannot be null or empty. | validation | error | |
| tag cannot be null or empty | validation | error | antlr, parse-tree-pattern, validation, java |
| text cannot be null | validation | error | antlr, parse-tree-pattern, null-safety, java |
| Could not read path: "+path | exception | error | antlr, xpath, defensive, java |
| Invalid tokens or characters at index "+pos+" in path '"+pat | exception | error | antlr, xpath, syntax, java |
| Unknowth path element "+el | exception | error | antlr, xpath, version-mismatch, java |
| Missing path element at end of path | exception | error | antlr, xpath, syntax, java |
| {word} at index {startIndex} isn't a valid token name | validation | error | antlr, xpath, token-names, java |
| {word} at index {startIndex} isn't a valid rule name | validation | error | antlr, xpath, rule-names, java |
| ANTLR panic | panic | critical | antlr, tool, fatal, java |
| ANTLR ErrorManager panic | panic | critical | antlr, error-manager, fatal, java |
| A lexer interpreter can only be created for a lexer or combi | exception | error | antlr, grammar, interpreter, java |
| A parser interpreter can only be created for a parser or com | exception | error | antlr, grammar, interpreter, java |
| can't create parser to match incoming {parserClass} | exception | error | antlr, reflection, interpreter, java |
| Invalid state number. | validation | error | antlr, atn, csharp, validation |
| The object is read only. | exception | error | antlr, atn, immutability, csharp |
| Couldn't identify final state of the precedence rule prefix | exception | critical | antlr, atn, version-mismatch, csharp |
| Could not deserialize ATN with version {0} (expected {1}). | exception | critical | antlr, atn, version-mismatch, csharp |
| Not yet implemented. | exception | error | antlr, atn, optimizer, csharp |
| The specified transition type is not valid. | exception | critical | antlr, atn, version-mismatch, csharp |
| The specified state type {0} is not valid. | exception | critical | antlr, csharp, atn, deserialization, version-mismatch |
| The specified lexer action type {0} is not valid. | exception | critical | antlr, csharp, lexer, atn, deserialization, version-mismatch |
| This ATN simulator does not support clearing the DFA. | exception | error | antlr, csharp, dfa, simulator, api-misuse |
| Precedence predicates are not supported in lexers. | exception | critical | antlr, csharp, lexer, precedence, atn, api-misuse |
| target cannot be null. | exception | error | antlr, csharp, atn, transition, null-check |
| tokenSource cannot be null | exception | error | antlr, csharp, token-stream, null-check, constructor |
| cannot consume EOF | exception | error | antlr, csharp, token-stream, eof, api-misuse |
| token index {i} out of range 0..{tokens.Count - 1} | exception | error | antlr, csharp, token-stream, index-out-of-range |
| start {start} or stop {stop} not in 0..{tokens.Count - 1} | exception | error | antlr, csharp, token-stream, index-out-of-range |
| {tokenIndex} not in 0..{tokens.Count - 1} | exception | error | antlr, csharp, token-stream, hidden-tokens, index-out-of-range |
| EdgeMap of type {0} is supported yet. | exception | warning | antlr, csharp, dfa, edge-map, internal-api |
| Only precedence DFAs may contain a precedence start state. | exception | error | antlr, csharp, dfa, precedence, state-machine |
| nextToken requires a non-null input stream. | exception | error | antlr, csharp, lexer, null-check, input-stream |
| The ATN must be a lexer ATN. | exception | error | antlr, csharp, lexer, interpreter, validation |
| tokens cannot be null | exception | error | antlr, csharp, token-source, null-check, constructor |
| {parameterName} | exception | error | antlr, csharp, null-check, guard, api-contract |
| can't alter readonly IntervalSet | exception | error | antlr, csharp, interval-set, immutability, shared-state |
| Rule dependency version mismatch: {0} has maximum dependency | validation | error | |
| listener | validation | error | |
| The current parser does not support an ATN with bypass alter | exception | error | |
| Parser can't discover a lexer to use | exception | error | |
| precpred(_ctx, {0}) | exception | error | |
| Unrecognized ATN transition type. | exception | error | |
| delegates | validation | error | |
| The current recognizer does not provide a list of rule names | exception | error | |
| there is no serialized ATN | exception | error | |
| nbits | validation | error | |
| index | validation | error | |
| fromIndex | validation | error | |
| set | validation | error | |
| replace: range invalid: {from}..{to}(size={size}) | validation | error | |
| replace op boundaries of {rop} overlap with previous {prevRo | validation | error | antlr, csharp, token-stream-rewriter, overlap, rewrite |
| insert op {iop} within boundaries of previous {rop} | validation | error | antlr, csharp, token-stream-rewriter, insert, rewrite |
| tree cannot be null | validation | error | antlr, csharp, parse-tree-match, null-check, pattern-matching |
| pattern cannot be null | validation | error | antlr, csharp, parse-tree-match, null-check, pattern |
| labels cannot be null | validation | error | antlr, csharp, parse-tree-match, null-check, labels |
| start cannot be null or empty | validation | error | antlr, csharp, pattern-matcher, delimiters, validation |
| stop cannot be null or empty | validation | error | antlr, csharp, pattern-matcher, delimiters, validation |
| tree cannot be null | validation | error | antlr, csharp, pattern-matcher, null-check, match |
| patternTree cannot be null | validation | error | antlr, csharp, pattern-matcher, null-check, match |
| Unknown token {tag} in pattern: {pattern} | validation | error | antlr, csharp, pattern, vocabulary, grammar-mismatch |
| Unknown rule {tag} in pattern: {pattern} | validation | error | antlr, csharp, pattern, rule-names, grammar-mismatch |
| invalid tag: {tag} in pattern: {pattern} | validation | error | antlr, csharp, pattern, tag, naming-convention |
| unterminated tag in pattern: {pattern} | validation | error | antlr, csharp, pattern, delimiters, escaping |
| missing start tag in pattern: {pattern} | validation | error | antlr, csharp, pattern, delimiters, escaping |
| tag delimiters out of order in pattern: {pattern} | validation | error | antlr, csharp, pattern, delimiters, malformed |
| ruleName cannot be null or empty. | validation | error | antlr, csharp, rule-tag-token, null-check, pattern |
| tag cannot be null or empty | exception | error | antlr, csharp, tag-chunk, null-check, pattern |
| text cannot be null | exception | error | antlr, csharp, text-chunk, null-check, pattern |
| Could not read path: ${path} | exception | warning | antlr, csharp, xpath, io, unreachable |
| Invalid tokens or characters at index ${pos} in path '${path | exception | error | antlr, csharp, xpath, lexer, syntax |
| Unknowth path element ${el} | exception | error | antlr, csharp, xpath, input-validation |
| Missing path element at end of path | exception | error | antlr, csharp, xpath, input-validation |
| ${word} at index ${startIndex} isn't a valid token name | exception | error | antlr, csharp, xpath, tokens, code-generation |
| ${word} at index ${startIndex} isn't a valid rule name | exception | error | antlr, csharp, xpath, parser-rules, code-generation |
| cannot consume EOF | exception | error | antlr, csharp, char-stream, eof, streaming |
| Invalid UTF-16 (low surrogate with no preceding high surroga | exception | error | antlr, csharp, unicode, utf-16, input-validation |
| Invalid UTF-16 (high surrogate followed by code point > U+FF | exception | error | antlr, csharp, unicode, utf-16, streaming |
| release() called with an invalid marker. | exception | error | antlr, csharp, char-stream, markers, streaming |
| cannot seek to negative index ${index} | exception | error | antlr, csharp, char-stream, seek, streaming |
| seek to index outside buffer: ${index} not in ${bufferStartI | exception | error | antlr, csharp, char-stream, seek, streaming |
| Unbuffered stream cannot know its size | exception | error | antlr, csharp, char-stream, unsupported-operation, streaming |
| invalid interval | exception | error | antlr, csharp, intervals, char-stream, input-validation |
| the interval extends past the end of the stream | exception | error | antlr, csharp, intervals, eof, char-stream |
| interval ${interval} outside buffer: ${bufferStartIndex}..${ | exception | error | antlr, csharp, char-stream, intervals, streaming |
| get(${i}) outside buffer: ${bufferStartIndex}..${bufferStart | exception | error | antlr, csharp, token-stream, streaming, random-access |
| LT(${i}) gives negative index | exception | error | antlr, csharp, token-stream, lookahead, input-validation |
| The specified start and stop symbols are not supported. | exception | error | antlr, csharp, token-stream, text-extraction, null-safety |
| cannot consume EOF | exception | error | antlr, csharp, token-stream, eof, streaming |
| release() called with an invalid marker. | exception | error | antlr, csharp, token-stream, markers, lifo |
| cannot seek to negative index ${index} | exception | error | antlr, csharp, token-stream, seek, rolling-buffer |
| seek to index outside buffer: ${index} not in ${bufferStartI | exception | error | antlr, csharp, token-stream, seek, eof |
| Unbuffered stream cannot know its size | exception | error | antlr, csharp, token-stream, not-supported, streaming |
| interval ${interval} not in token buffer window: ${bufferSta | exception | error | antlr, csharp, token-stream, gettext, rolling-buffer |
| cannot consume EOF | exception | error | antlr, python, token-stream, eof, consume |
| ${tokenIndex} not in 0..${len(tokens)-1} | exception | error | antlr, python, token-stream, hidden-tokens, index-out-of-range |
| cannot consume EOF | exception | error | antlr, python, char-stream, eof, consume |
| nextToken requires a non-null input stream. | exception | error | antlr, python, lexer, null-input, initialization |
| Empty Stack | exception | error | antlr, python, lexer, modes, grammar |
| tokens cannot be null | exception | error | antlr, python, token-source, null-argument, constructor |
| listener | exception | error | antlr, python, parser, listeners, null-argument |
| The current parser does not support an ATN with bypass alter | exception | error | antlr, python, parser, atn, tree-patterns |
| Parser can't discover a lexer to use | exception | error | antlr, python, parser, tree-patterns, lexer-discovery |
| failed predicate: {predicate}? | exception | error | antlr, python, parser-interpreter, semantic-predicates |
| precpred(_ctx, {}) | exception | error | antlr, python, parser-interpreter, left-recursion, precedence |
| Unrecognized ATN transition type. | exception | error | antlr, python, parser-interpreter, atn, version-mismatch |
| The current recognizer does not provide a list of token name | exception | error | antlr, python, recognizer, token-names, xpath |
| The current recognizer does not provide a list of rule names | exception | error | antlr, python, recognizer, rule-names, xpath |
| replace: range invalid: {}..{}(size={}) | exception | error | antlr4, python, token-stream-rewriter, index-out-of-range, validation |
| replace op boundaries of {} overlap with previous {} | exception | error | antlr4, python, token-stream-rewriter, overlapping-edits, validation |
| insert op {} within boundaries of previous {} | exception | error | antlr4, python, token-stream-rewriter, insert-after-replace, validation |
| should be only one op per index | exception | error | antlr4, python, token-stream-rewriter, duplicate-index, invariant |
| Invalid state number. | exception | error | antlr4, python, atn, state-number, validation |
| The object is read only. | exception | error | antlr4, python, atn, deserialization-options, readonly |
| Could not deserialize ATN with version {} (expected {}). | exception | critical | antlr4, python, atn, version-mismatch, deserialization |
| IllegalState | exception | critical | antlr4, python, atn, corrupt-data, deserialization |
| Couldn't identify final state of the precedence rule prefix | exception | critical | antlr4, python, atn, left-recursion, deserialization |
| The specified transition type: {} is not valid. | exception | critical | antlr4, python, atn, version-mismatch, deserialization |
| The specified state type {} is not valid. | exception | critical | antlr4, python, atn, version-mismatch, deserialization |
| The specified lexer action type {} is not valid. | exception | critical | antlr4, python, lexer, version-mismatch, deserialization |
| LexerNoViableAltException('{}') | exception | error | antlr4, python, lexer, no-viable-alt, grammar |
| Precedence predicates are not supported in lexers. | exception | error | antlr4, python, lexer, precedence-predicate, unsupported-operation |
| delegates | exception | error | antlr4, python, error-listener, null-argument, validation |
| tree cannot be null | exception | error | antlr4, python, parse-tree-match, null-argument, validation |
| pattern cannot be null | exception | error | antlr4, python, parse-tree-match, null-argument, validation |
| labels cannot be null | exception | error | antlr, python, parse-tree-matching, precondition |
| start cannot be null or empty | exception | error | antlr, python, parse-tree-matching, validation |
| stop cannot be null or empty | exception | error | antlr, python, parse-tree-matching, validation |
| StartRuleDoesNotConsumeFullPattern | exception | error | antlr, python, parse-tree-matching, pattern-compile |
| Unknown token %s in pattern: %s | exception | error | antlr, python, parse-tree-matching, pattern-compile |
| Unknown rule %s in pattern: %s | exception | error | antlr, python, parse-tree-matching, pattern-compile |
| invalid tag: %s in pattern: %s | exception | error | antlr, python, parse-tree-matching, pattern-compile |
| unterminated tag in pattern: %s | exception | error | antlr, python, parse-tree-matching, pattern-compile |
| missing start tag in pattern: %s | exception | error | antlr, python, parse-tree-matching, pattern-compile |
| tag delimiters out of order in pattern: %s | exception | error | antlr, python, parse-tree-matching, pattern-compile |
| Invalid tokens or characters at index %d in path '%s' | exception | error | antlr, python, xpath, lexer |
| Missing element after %s | exception | error | antlr, python, xpath, validation |
| Unknown path element %s | exception | error | antlr, python, xpath, validation |
| Missing path element at end of path | exception | error | antlr, python, xpath, validation |
| %s at index %d isn't a valid token name | exception | error | antlr, python, xpath, validation |
| %s at index %d isn't a valid rule name | exception | error | antlr, python, xpath, validation |
| output directory `%s` is not a directory | validation | error | antlr, go, statistics, filesystem |
| LexerNoViableAltException + symbol | exception | error | antlr, go, lexer, panic |
| ANTLR installation corrupted; cannot find ANTLR messages for | console | critical | antlr, java, tool, installation, classpath |
| ANTLR installation corrupted; can't load messages format fil | console | error | |
| ANTLR installation corrupted; ANTLR messages format file + | console | error |