com.atlassian.jira.issue.search.SearchException

org.apache.lucene.queryParser.ParseException: Cannot parse 'foo\': Lexical error at line 1, column 5. Encountered: <EOF> after : ""

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via Atlassian JIRA by Jeff Turner (Unused account), 9 months ago
    org.apache.lucene.queryParser.ParseException: Cannot parse 'foo\': Lexical error at line 1, column 5. Encountered: <EOF> after : ""
  • via Atlassian JIRA by Jeff Turner, 1 year ago
    org.apache.lucene.queryParser.ParseException: Cannot parse 'foo\': Lexical error at line 1, column 5. Encountered: <EOF> after : ""
  • via Atlassian JIRA by Shawn Windler, 10 months ago
    org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 9. Encountered: <EOF> after : ""
  • Stack trace

    • com.atlassian.jira.issue.search.SearchException: org.apache.lucene.queryParser.ParseException: Cannot parse 'foo\': Lexical error at line 1, column 5. Encountered: <EOF> after : "" at com.atlassian.jira.issue.search.util.LuceneQueryCreator.getQueryFromSearchRequest(LuceneQueryCreator.java:193) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.getHits(LuceneSearchProvider.java:67) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:208) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:202) at com.atlassian.sal.jira.search.JiraSearchProvider.performSearch(JiraSearchProvider.java:118) at com.atlassian.sal.jira.search.JiraSearchProvider.search(JiraSearchProvider.java:106) at com.atlassian.studio.search.DefaultSearchAggregator$1.call(DefaultSearchAggregator.java:73) at com.atlassian.studio.search.DefaultSearchAggregator$1.call(DefaultSearchAggregator.java:69) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse 'foo\': Lexical error at line 1, column 5. Encountered: <EOF> after : "" at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:153) at org.apache.lucene.queryParser.MultiFieldQueryParser.parse(MultiFieldQueryParser.java:253) at com.atlassian.jira.issue.search.parameters.lucene.util.QueryForCommentsCreator.createTextQuery(QueryForCommentsCreator.java:125) at com.atlassian.jira.issue.search.parameters.lucene.MultipleFieldSingleValueLuceneParameter.getIssueQuery(MultipleFieldSingleValueLuceneParameter.java:81) at com.atlassian.jira.issue.search.util.LuceneQueryCreator.getQueryFromSearchRequest(LuceneQueryCreator.java:115) ... 12 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.