com.atlassian.jira.sharing.search.SearchParseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • If you do a JQL search for: filter = "some filter name"/asdasd we are apparently still doing a lookup for each character added to the end of the string after the endquote, causing a ParseException to be thrown in the logs. Other JQL keywords do not suffer from this bug, so this should be consistent with those. {noformat} ERROR admin 1080x11813x1 fqbua0 0:0:0:0:0:0:0:1 /rest/api/1.0/jql/autocomplete [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: org.apache.lucene.queryParser.ParseException: Cannot parse 'copy"aaaaa': Lexical error at line 1, column 11. Encountered: <EOF> after : "\"aaaaa" [INFO] [talledLocalContainer] com.atlassian.jira.sharing.search.SearchParseException: org.apache.lucene.queryParser.ParseException: Cannot parse 'copy"aaaaa': Lexical error at line 1, column 11. Encountered: <EOF> after : "\"aaaaa" [INFO] [talledLocalContainer] at com.atlassian.jira.sharing.index.QueryBuilder.parseQuery(QueryBuilder.java:202) [INFO] [talledLocalContainer] at com.atlassian.jira.sharing.index.QueryBuilder.addParsedQuery(QueryBuilder.java:103) [INFO] [talledLocalContainer] at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.addParsedQueries(DefaultQueryFactory.java:140) [INFO] [talledLocalContainer] at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.build(DefaultQueryFactory.java:124) [INFO] [talledLocalContainer] at com.atlassian.jira.sharing.index.DefaultQueryFactory.create(DefaultQueryFactory.java:48) [INFO] [talledLocalContainer] at com.atlassian.jira.sharing.index.DefaultSharedEntitySearcher.search(DefaultSharedEntitySearcher.java:101) [INFO] [talledLocalContainer] at com.atlassian.jira.issue.search.DefaultSearchRequestManager.search(DefaultSearchRequestManager.java:379) [INFO] [talledLocalContainer] at com.atlassian.jira.bc.filter.DefaultSearchRequestService.search(DefaultSearchRequestService.java:540) [INFO] [talledLocalContainer] at com.atlassian.jira.jql.values.SavedFilterValuesGenerator.getPossibleValues(SavedFilterValuesGenerator.java:37) [INFO] [talledLocalContainer] at com.atlassian.jira.rest.v1.jql.AutoCompleteResource.generateResults(AutoCompleteResource.java:171) [INFO] [talledLocalContainer] at com.atlassian.jira.rest.v1.jql.AutoCompleteResource.getAutoCompleteResultsForField(AutoCompleteResource.java:101) [INFO] [talledLocalContainer] at com.atlassian.jira.rest.v1.jql.AutoCompleteResource.getIssuesResponse(AutoCompleteResource.java:71) {noformat}
    via by Eduardo Soares [Atlassian],
  • If you do a JQL search for: filter = "some filter name"/asdasd we are apparently still doing a lookup for each character added to the end of the string after the endquote, causing a ParseException to be thrown in the logs. Other JQL keywords do not suffer from this bug, so this should be consistent with those. {noformat} ERROR admin 1080x11813x1 fqbua0 0:0:0:0:0:0:0:1 /rest/api/1.0/jql/autocomplete [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: org.apache.lucene.queryParser.ParseException: Cannot parse 'copy"aaaaa': Lexical error at line 1, column 11. Encountered: <EOF> after : "\"aaaaa" [INFO] [talledLocalContainer] com.atlassian.jira.sharing.search.SearchParseException: org.apache.lucene.queryParser.ParseException: Cannot parse 'copy"aaaaa': Lexical error at line 1, column 11. Encountered: <EOF> after : "\"aaaaa" [INFO] [talledLocalContainer] at com.atlassian.jira.sharing.index.QueryBuilder.parseQuery(QueryBuilder.java:202) [INFO] [talledLocalContainer] at com.atlassian.jira.sharing.index.QueryBuilder.addParsedQuery(QueryBuilder.java:103) [INFO] [talledLocalContainer] at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.addParsedQueries(DefaultQueryFactory.java:140) [INFO] [talledLocalContainer] at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.build(DefaultQueryFactory.java:124) [INFO] [talledLocalContainer] at com.atlassian.jira.sharing.index.DefaultQueryFactory.create(DefaultQueryFactory.java:48) [INFO] [talledLocalContainer] at com.atlassian.jira.sharing.index.DefaultSharedEntitySearcher.search(DefaultSharedEntitySearcher.java:101) [INFO] [talledLocalContainer] at com.atlassian.jira.issue.search.DefaultSearchRequestManager.search(DefaultSearchRequestManager.java:379) [INFO] [talledLocalContainer] at com.atlassian.jira.bc.filter.DefaultSearchRequestService.search(DefaultSearchRequestService.java:540) [INFO] [talledLocalContainer] at com.atlassian.jira.jql.values.SavedFilterValuesGenerator.getPossibleValues(SavedFilterValuesGenerator.java:37) [INFO] [talledLocalContainer] at com.atlassian.jira.rest.v1.jql.AutoCompleteResource.generateResults(AutoCompleteResource.java:171) [INFO] [talledLocalContainer] at com.atlassian.jira.rest.v1.jql.AutoCompleteResource.getAutoCompleteResultsForField(AutoCompleteResource.java:101) [INFO] [talledLocalContainer] at com.atlassian.jira.rest.v1.jql.AutoCompleteResource.getIssuesResponse(AutoCompleteResource.java:71) {noformat}
    via by Eduardo Soares [Atlassian],
    • com.atlassian.jira.sharing.search.SearchParseException: org.apache.lucene.queryParser.ParseException: Cannot parse 'copy"aaaaa': Lexical error at line 1, column 11. Encountered: <EOF> after : "\"aaaaa" at com.atlassian.jira.sharing.index.QueryBuilder.parseQuery(QueryBuilder.java:202) at com.atlassian.jira.sharing.index.QueryBuilder.addParsedQuery(QueryBuilder.java:103) at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.addParsedQueries(DefaultQueryFactory.java:140) at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.build(DefaultQueryFactory.java:124) at com.atlassian.jira.sharing.index.DefaultQueryFactory.create(DefaultQueryFactory.java:48) at com.atlassian.jira.sharing.index.DefaultSharedEntitySearcher.search(DefaultSharedEntitySearcher.java:101) at com.atlassian.jira.issue.search.DefaultSearchRequestManager.search(DefaultSearchRequestManager.java:379) at com.atlassian.jira.bc.filter.DefaultSearchRequestService.search(DefaultSearchRequestService.java:540) at com.atlassian.jira.jql.values.SavedFilterValuesGenerator.getPossibleValues(SavedFilterValuesGenerator.java:37) at com.atlassian.jira.rest.v1.jql.AutoCompleteResource.generateResults(AutoCompleteResource.java:171) at com.atlassian.jira.rest.v1.jql.AutoCompleteResource.getAutoCompleteResultsForField(AutoCompleteResource.java:101) at com.atlassian.jira.rest.v1.jql.AutoCompleteResource.getIssuesResponse(AutoCompleteResource.java:71)
    No Bugmate found.