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

Atlassian JIRA | Jeff Turner (Unused account) | 8 years ago
  1. 0

    In the quick search bar, enter "foo\" and search. JIRA and Fisheye return "There was a communication problem.", and in the log there is an ERROR: {noformat} 2008-08-13 22:31:57,712 SearchAggregator:16 ERROR [sal.jira.search.JiraSearchProvider] Error executing search 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 {noformat} JIRA's native search returns the proper error, "Could not parse the query text.". Studio should be passing through the real error message, and shouldn't be throwing an ERROR (a system failure) when the problem is merely one of bad input.

    Atlassian JIRA | 8 years ago | Jeff Turner
    com.atlassian.jira.issue.search.SearchException: org.apache.lucene.queryParser.ParseException: Cannot parse 'foo\': Lexical error at line 1, column 5. Encountered: <EOF> after : ""
  2. 0

    In the quick search bar, enter "foo\" and search. JIRA and Fisheye return "There was a communication problem.", and in the log there is an ERROR: {noformat} 2008-08-13 22:31:57,712 SearchAggregator:16 ERROR [sal.jira.search.JiraSearchProvider] Error executing search 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 {noformat} JIRA's native search returns the proper error, "Could not parse the query text.". Studio should be passing through the real error message, and shouldn't be throwing an ERROR (a system failure) when the problem is merely one of bad input.

    Atlassian JIRA | 8 years ago | Jeff Turner (Unused account)
    com.atlassian.jira.issue.search.SearchException: org.apache.lucene.queryParser.ParseException: Cannot parse 'foo\': Lexical error at line 1, column 5. Encountered: <EOF> after : ""
  3. 0

    The following error occurs on any page that has the 'Return to Search' link when the last search performed is an invalid search. ERROR com.atlassian.jira.issue.pager.PagerManager ?:? Error getting keys for next/previous pager org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 9. Encountered: <EOF> after : "" com.atlassian.jira.issue.search.SearchException: org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 9. Encountered: <EOF> after : "" at com.atlassian.jira.issue.search.util.LuceneQueryCreator.getQueryFromSearchRequest(Unknown Source) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchAndSort(Unknown Source) at com.atlassian.jira.issue.pager.PagerManager.updatePager(Unknown Source) at com.atlassian.jira.web.action.issue.ViewIssue.doExecute(Unknown Source) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(Unknown Source) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at com.atlassian.jira.servlet.QuickLinkServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:122) at com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 9. Encountered: <EOF> after : "" at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:112) at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:88) at org.apache.lucene.queryParser.MultiFieldQueryParser.parse(MultiFieldQueryParser.java:77) at com.atlassian.jira.issue.search.parameters.lucene.MultipleFieldSingleValueLuceneParameter.getQuery(Unknown Source) at com.atlassian.jira.issue.search.parameters.lucene.MultipleFieldSingleValueLuceneParameter.getIssueQuery(Unknown Source) ... 54 more

    Atlassian JIRA | 10 years ago | Shawn Windler
    com.atlassian.jira.issue.search.SearchException: org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 9. Encountered: <EOF> after : ""
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    There's a bug in Jira that occur when doing the following steps : 1- Enter in the Query test [test] (the symbol [ ] is the problems), if you do a view directly it will do the validation Could not parse the query text, but when you choose a issue type after, and that you click the button Click here to refresh the other menu, Jira crash with the following callstack : {noformat} com.atlassian.jira.issue.search.SearchException: org.apache.lucene.queryParser.ParseException: Cannot parse 'test [test]': Encountered "]" at line 1, column 10. Was expecting one of: "TO" ... <RANGEIN_QUOTED> ... <RANGEIN_GOOP> ... 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.jira.web.action.issue.IssueNavigator.getSearchResults(IssueNavigator.java:355) at org.apache.jsp.includes.navigator.table_jsp._jspService(table_jsp.java:165) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965) at org.apache.jsp.secure.views.navigator.navigator_jsp._jspx_meth_webwork_005fif_005f4(navigator_jsp.java:395) at org.apache.jsp.secure.views.navigator.navigator_jsp._jspService(navigator_jsp.java:133) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:281) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.RequestCleanupFilter.doFilter(RequestCleanupFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:350) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:79) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.appconsistency.db.DatabaseCompatibilityEnforcerFilter.doFilter(DatabaseCompatibilityEnforcerFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse 'test [test]': Encountered "]" at line 1, column 10. Was expecting one of: "TO" ... <RANGEIN_QUOTED> ... <RANGEIN_GOOP> ... at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:150) 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.getQuery(MultipleFieldSingleValueLuceneParameter.java:153) at com.atlassian.jira.issue.search.parameters.lucene.MultipleFieldSingleValueLuceneParameter.getIssueQuery(MultipleFieldSingleValueLuceneParameter.java:86) at com.atlassian.jira.issue.search.util.LuceneQueryCreator.getQueryFromSearchRequest(LuceneQueryCreator.java:115) ... 90 more {noformat} Thanks, Martin Poirier Ubisoft Montreal

    Atlassian JIRA | 8 years ago | Ubisoft
    com.atlassian.jira.issue.search.SearchException: org.apache.lucene.queryParser.ParseException: Cannot parse 'test [test]': Encountered "]" at line 1, column 10. Was expecting one of: "TO" ... <RANGEIN_QUOTED> ... <RANGEIN_GOOP> ...
  6. 0

    The following error occurs on any page that has the 'Return to Search' link when the last search performed is an invalid search. ERROR com.atlassian.jira.issue.pager.PagerManager ?:? Error getting keys for next/previous pager org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 9. Encountered: <EOF> after : "" com.atlassian.jira.issue.search.SearchException: org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 9. Encountered: <EOF> after : "" at com.atlassian.jira.issue.search.util.LuceneQueryCreator.getQueryFromSearchRequest(Unknown Source) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchAndSort(Unknown Source) at com.atlassian.jira.issue.pager.PagerManager.updatePager(Unknown Source) at com.atlassian.jira.web.action.issue.ViewIssue.doExecute(Unknown Source) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(Unknown Source) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at com.atlassian.jira.servlet.QuickLinkServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:122) at com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 9. Encountered: <EOF> after : "" at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:112) at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:88) at org.apache.lucene.queryParser.MultiFieldQueryParser.parse(MultiFieldQueryParser.java:77) at com.atlassian.jira.issue.search.parameters.lucene.MultipleFieldSingleValueLuceneParameter.getQuery(Unknown Source) at com.atlassian.jira.issue.search.parameters.lucene.MultipleFieldSingleValueLuceneParameter.getIssueQuery(Unknown Source) ... 54 more

    Atlassian JIRA | 10 years ago | Shawn Windler
    com.atlassian.jira.issue.search.SearchException: org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 9. Encountered: <EOF> after : ""

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Lucene
      MultiFieldQueryParser.parse
      1. org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:153)
      2. org.apache.lucene.queryParser.MultiFieldQueryParser.parse(MultiFieldQueryParser.java:253)
      2 frames
    3. com.atlassian.jira
      LuceneSearchProvider.search
      1. com.atlassian.jira.issue.search.parameters.lucene.util.QueryForCommentsCreator.createTextQuery(QueryForCommentsCreator.java:125)
      2. com.atlassian.jira.issue.search.parameters.lucene.MultipleFieldSingleValueLuceneParameter.getIssueQuery(MultipleFieldSingleValueLuceneParameter.java:81)
      3. com.atlassian.jira.issue.search.util.LuceneQueryCreator.getQueryFromSearchRequest(LuceneQueryCreator.java:115)
      4. com.atlassian.jira.issue.search.providers.LuceneSearchProvider.getHits(LuceneSearchProvider.java:67)
      5. com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:208)
      6. com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:202)
      6 frames
    4. com.atlassian.sal
      JiraSearchProvider.search
      1. com.atlassian.sal.jira.search.JiraSearchProvider.performSearch(JiraSearchProvider.java:118)
      2. com.atlassian.sal.jira.search.JiraSearchProvider.search(JiraSearchProvider.java:106)
      2 frames
    5. com.atlassian.studio
      DefaultSearchAggregator$1.call
      1. com.atlassian.studio.search.DefaultSearchAggregator$1.call(DefaultSearchAggregator.java:73)
      2. com.atlassian.studio.search.DefaultSearchAggregator$1.call(DefaultSearchAggregator.java:69)
      2 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:123)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      5. java.lang.Thread.run(Thread.java:595)
      5 frames