org.antlr.v4.runtime.misc.ParseCancellationException: line 1:0 no viable alternative at input '<EOF>'

GitHub | koppor | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 1995#248392982

    GitHub | 7 months ago | koppor
    org.antlr.v4.runtime.misc.ParseCancellationException: line 1:0 no viable alternative at input '<EOF>'
  2. 0

    GitHub comment 1995#248519514

    GitHub | 7 months ago | koppor
    org.antlr.v4.runtime.misc.ParseCancellationException: line 1:0 no viable alternative at input '<EOF>'

    Root Cause Analysis

    1. org.antlr.v4.runtime.misc.ParseCancellationException

      line 1:0 no viable alternative at input '<EOF>'

      at net.sf.jabref.model.search.rules.GrammarBasedSearchRule$ThrowingErrorListener.syntaxError()
    2. net.sf.jabref
      GrammarBasedSearchRule$ThrowingErrorListener.syntaxError
      1. net.sf.jabref.model.search.rules.GrammarBasedSearchRule$ThrowingErrorListener.syntaxError(GrammarBasedSearchRule.java:50)[main/:?]
      1 frame
    3. ANTLR 4 Runtime
      DefaultErrorStrategy.reportError
      1. org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)[antlr4-runtime-4.5.3.jar:4.5.3]
      2. org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:564)[antlr4-runtime-4.5.3.jar:4.5.3]
      3. org.antlr.v4.runtime.DefaultErrorStrategy.reportNoViableAlternative(DefaultErrorStrategy.java:308)[antlr4-runtime-4.5.3.jar:4.5.3]
      4. org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:145)[antlr4-runtime-4.5.3.jar:4.5.3]
      4 frames
    4. net.sf.jabref
      GlobalSearchBar.performSearch
      1. net.sf.jabref.search.SearchParser.expression(SearchParser.java:283)[main/:?]
      2. net.sf.jabref.search.SearchParser.start(SearchParser.java:108)[main/:?]
      3. net.sf.jabref.model.search.rules.GrammarBasedSearchRule.init(GrammarBasedSearchRule.java:91)[main/:?]
      4. net.sf.jabref.model.search.rules.GrammarBasedSearchRule.validateSearchStrings(GrammarBasedSearchRule.java:108)[main/:?]
      5. net.sf.jabref.model.search.rules.SearchRules.getSearchRuleByQuery(SearchRules.java:12)[main/:?]
      6. net.sf.jabref.logic.search.SearchQuery.<init>(SearchQuery.java:29)[main/:?]
      7. net.sf.jabref.gui.search.GlobalSearchBar.getSearchQuery(GlobalSearchBar.java:348)[main/:?]
      8. net.sf.jabref.gui.search.GlobalSearchBar.clearSearch(GlobalSearchBar.java:271)[main/:?]
      9. net.sf.jabref.gui.search.GlobalSearchBar.performSearch(GlobalSearchBar.java:304)[main/:?]
      9 frames