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

GitHub | koppor | 3 months ago
  1. 0

    GitHub comment 1995#248519514

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

    GitHub comment 1995#248392982

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

    Java8.g gives ParseError on generated Java8Parser

    GitHub | 2 months ago | mscinar
    org.antlr.v4.runtime.misc.ParseCancellationException: offending symbol: [@2512,18234:18234=')',<58>,236:44]line 236:44 extraneous input ')' expecting {'++', '--'}, e=null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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
      JabRefFrame.lambda$init$0
      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/:?]
      10. net.sf.jabref.gui.JabRefFrame.lambda$init$0(JabRefFrame.java:648)[main/:?]
      10 frames
    5. Java RT
      JTabbedPane.add
      1. javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:416)[?:1.8.0_102]
      2. javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:270)[?:1.8.0_102]
      3. javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:132)[?:1.8.0_102]
      4. javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:67)[?:1.8.0_102]
      5. javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:616)[?:1.8.0_102]
      6. javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:591)[?:1.8.0_102]
      7. javax.swing.JTabbedPane.insertTab(JTabbedPane.java:731)[?:1.8.0_102]
      8. javax.swing.JTabbedPane.addTab(JTabbedPane.java:798)[?:1.8.0_102]
      9. javax.swing.JTabbedPane.add(JTabbedPane.java:835)[?:1.8.0_102]
      9 frames
    6. net.sf.jabref
      JabRefMain.lambda$start$1
      1. net.sf.jabref.gui.JabRefFrame.addTab(JabRefFrame.java:1646)[main/:?]
      2. net.sf.jabref.gui.JabRefFrame.addTab(JabRefFrame.java:1663)[main/:?]
      3. net.sf.jabref.gui.JabRefFrame.addParserResult(JabRefFrame.java:1386)[main/:?]
      4. net.sf.jabref.JabRefGUI.openWindow(JabRefGUI.java:126)[main/:?]
      5. net.sf.jabref.JabRefGUI.<init>(JabRefGUI.java:63)[main/:?]
      6. net.sf.jabref.JabRefMain.lambda$start$1(JabRefMain.java:116)[main/:?]
      6 frames
    7. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)[?:1.8.0_102]
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)[?:1.8.0_102]
      3. java.awt.EventQueue.access$500(EventQueue.java:97)[?:1.8.0_102]
      4. java.awt.EventQueue$3.run(EventQueue.java:709)[?:1.8.0_102]
      5. java.awt.EventQueue$3.run(EventQueue.java:703)[?:1.8.0_102]
      6. java.security.AccessController.doPrivileged(Native Method)[?:1.8.0_102]
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)[?:1.8.0_102]
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)[?:1.8.0_102]
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)[?:1.8.0_102]
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)[?:1.8.0_102]
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)[?:1.8.0_102]
      12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)[?:1.8.0_102]
      13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)[?:1.8.0_102]
      14. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)[?:1.8.0_102]
      14 frames