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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by koppor
, 1 year ago
line 1:0 no viable alternative at input '<EOF>'
via GitHub by koppor
, 1 year ago
line 1:0 no viable alternative at input '<EOF>'
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(GrammarBasedSearchRule.java:50)
at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:564)
at org.antlr.v4.runtime.DefaultErrorStrategy.reportNoViableAlternative(DefaultErrorStrategy.java:308)
at net.sf.jabref.search.SearchParser.expression(SearchParser.java:283)
at net.sf.jabref.search.SearchParser.start(SearchParser.java:108)
at net.sf.jabref.model.search.rules.GrammarBasedSearchRule.init(GrammarBasedSearchRule.java:91)
at net.sf.jabref.model.search.rules.GrammarBasedSearchRule.validateSearchStrings(GrammarBasedSearchRule.java:108)
at net.sf.jabref.model.search.rules.SearchRules.getSearchRuleByQuery(SearchRules.java:12)
at net.sf.jabref.logic.search.SearchQuery.(SearchQuery.java:29)
at net.sf.jabref.gui.search.GlobalSearchBar.getSearchQuery(GlobalSearchBar.java:348)
at net.sf.jabref.gui.search.GlobalSearchBar.clearSearch(GlobalSearchBar.java:271)
at net.sf.jabref.gui.search.GlobalSearchBar.performSearch(GlobalSearchBar.java:304)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.