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"

Atlassian JIRA | Eduardo Soares [Atlassian] | 2 years ago
  1. 0

    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}

    Atlassian JIRA | 2 years ago | 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"
  2. 0

    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}

    Atlassian JIRA | 2 years ago | 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"
  3. 0

    h3. Summary On a Dashboard gadget with a quick filter search "Saved Filter" entering a special character such as: + - ( ' ; " etc displays an error popup. !char_breaks_search.jpeg! It reads: "The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation." h3. Environment * JIRA 7.1 * Dashboard gadgets * Confluence macros of JIRA with filters h3. Steps to Reproduce # Add a "Two Dimensional Filter Statistics" gadget to a dashboard (or any other gadget with filters) # Type a special character h3. Expected Results Results window mentions that there are no results matching the search. h3. Actual Results * Popup with error appears on screen. * Browser Console logs a 500 error {noformat} GET https://<instance-url>/rest/gadget/1.0/pickers/filters?fieldName=quickfind&query=(&_=1452139433158 500 (Internal Server Error)XMLHttpRequest.send @ batch.js?agile_global_admin_condition=true&hasConnectAddons=true&jag=true&jaguser=true&jcap=true&ji…:4872send @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:178c.extend.ajax @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:172SmartAjax.makeRequest @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:642Class.extend.makeRequest @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2610Class.extend.incubateRequest @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2610Class.extend.execute @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2610Class.extend.execute @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2610Control.extend.requestSuggestions @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2613Control.extend._handleCharacterInput @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2613QueryableDropdownSelect.extend._handleCharacterInput @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2631(anonymous function) @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:624Control.extend.onEdit @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2613QueryableDropdownSelect.extend.onEdit @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2631(anonymous function) @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:624Class.extend._handleKeyEvent @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:627Control.extend._events.keys.aui:keydown input @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2613_dispatchers.(anonymous function) @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:627c.event.dispatch @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:85g.handle.h @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:77 batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:216 ajax[54233158] error : { successful : false, status : 500, statusText : error, hasData : true, readyState : 4, requestId : 54233158, aborted : undefined, } {noformat} and the following in JIRA log: {noformat} 2016-01-07 15:06:09.298783500 2016-01-07 15:06:09,294 http-nio-2990-exec-10 ERROR sysadmin 906x8656x1 th03pr 59.167.133.100,165.254.228.201,127.0.0.1 /rest/gadget/1.0/pickers/filters [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: org.apache.lucene.queryParser.ParseException: Cannot parse '+(': Encountered "<EOF>" at line 1, column 2. 2016-01-07 15:06:09.298785500 Was expecting one of: 2016-01-07 15:06:09.298785500 <NOT> ... 2016-01-07 15:06:09.298785500 "+" ... 2016-01-07 15:06:09.298811500 "-" ... 2016-01-07 15:06:09.298811500 "(" ... 2016-01-07 15:06:09.298812500 "*" ... 2016-01-07 15:06:09.298812500 <QUOTED> ... 2016-01-07 15:06:09.298812500 <TERM> ... 2016-01-07 15:06:09.298812500 <PREFIXTERM> ... 2016-01-07 15:06:09.298812500 <WILDTERM> ... 2016-01-07 15:06:09.298812500 "[" ... 2016-01-07 15:06:09.298813500 "{" ... 2016-01-07 15:06:09.298813500 <NUMBER> ... 2016-01-07 15:06:09.298813500 <TERM> ... 2016-01-07 15:06:09.298819500 "*" ... 2016-01-07 15:06:09.298819500 2016-01-07 15:06:09.298819500 com.atlassian.jira.sharing.search.SearchParseException: org.apache.lucene.queryParser.ParseException: Cannot parse '+(': Encountered "<EOF>" at line 1, column 2. 2016-01-07 15:06:09.298820500 Was expecting one of: 2016-01-07 15:06:09.298820500 <NOT> ... 2016-01-07 15:06:09.298820500 "+" ... 2016-01-07 15:06:09.298820500 "-" ... 2016-01-07 15:06:09.298820500 "(" ... 2016-01-07 15:06:09.298821500 "*" ... 2016-01-07 15:06:09.298823500 <QUOTED> ... 2016-01-07 15:06:09.298824500 <TERM> ... 2016-01-07 15:06:09.298824500 <PREFIXTERM> ... 2016-01-07 15:06:09.298824500 <WILDTERM> ... 2016-01-07 15:06:09.298824500 "[" ... 2016-01-07 15:06:09.298824500 "{" ... 2016-01-07 15:06:09.298824500 <NUMBER> ... 2016-01-07 15:06:09.298825500 <TERM> ... 2016-01-07 15:06:09.298825500 "*" ... 2016-01-07 15:06:09.298829500 2016-01-07 15:06:09.298829500 at com.atlassian.jira.sharing.index.QueryBuilder.parseWildcardQuery(QueryBuilder.java:191) 2016-01-07 15:06:09.298829500 at com.atlassian.jira.sharing.index.QueryBuilder.addParsedWildcardQuery(QueryBuilder.java:94) 2016-01-07 15:06:09.298830500 at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.addParsedWildcardQueries(DefaultQueryFactory.java:120) 2016-01-07 15:06:09.298830500 at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.build(DefaultQueryFactory.java:96) 2016-01-07 15:06:09.298833500 at com.atlassian.jira.sharing.index.DefaultQueryFactory.create(DefaultQueryFactory.java:49) 2016-01-07 15:06:09.298833500 at com.atlassian.jira.sharing.index.DefaultSharedEntitySearcher.search(DefaultSharedEntitySearcher.java:91) 2016-01-07 15:06:09.298834500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.lambda$searchIndex$318(DefaultSearchRequestManager.java:390) 2016-01-07 15:06:09.298836500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager$$Lambda$648/30930004.get(Unknown Source) 2016-01-07 15:06:09.298837500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.timedSearch(DefaultSearchRequestManager.java:384) 2016-01-07 15:06:09.298837500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.search(DefaultSearchRequestManager.java:332) 2016-01-07 15:06:09.298841500 ... 2 filtered 2016-01-07 15:06:09.298841500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:06:09.298841500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-01-07 15:06:09.298842500 at com.sun.proxy.$Proxy87.search(Unknown Source) 2016-01-07 15:06:09.298842500 ... 2 filtered 2016-01-07 15:06:09.298844500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:06:09.298845500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) 2016-01-07 15:06:09.298845500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) 2016-01-07 15:06:09.298846500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) 2016-01-07 15:06:09.298848500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298849500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-01-07 15:06:09.298849500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-01-07 15:06:09.298853500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298854500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) 2016-01-07 15:06:09.298854500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) 2016-01-07 15:06:09.298859500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298859500 at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) 2016-01-07 15:06:09.298860500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298862500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-01-07 15:06:09.298863500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-01-07 15:06:09.298863500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298867500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) 2016-01-07 15:06:09.298867500 at com.sun.proxy.$Proxy2994.search(Unknown Source) 2016-01-07 15:06:09.298867500 at com.atlassian.jira.gadgets.system.PickerResource.getFilters(PickerResource.java:166) 2016-01-07 15:06:09.298868500 at com.atlassian.jira.gadgets.system.PickerResource.searchForFilters(PickerResource.java:119) 2016-01-07 15:06:09.298871500 ... 2 filtered 2016-01-07 15:06:09.298871500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:06:09.298871500 ... 19 filtered 2016-01-07 15:06:09.298871500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) 2016-01-07 15:06:09.298872500 ... 1 filtered 2016-01-07 15:06:09.298872500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) 2016-01-07 15:06:09.298874500 ... 66 filtered 2016-01-07 15:06:09.298874500 at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) 2016-01-07 15:06:09.298875500 ... 25 filtered 2016-01-07 15:06:09.298875500 at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:89) 2016-01-07 15:06:09.298875500 ... 19 filtered 2016-01-07 15:06:09.298891500 at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) 2016-01-07 15:06:09.298894500 ... 15 filtered 2016-01-07 15:06:09.298894500 at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) 2016-01-07 15:06:09.298895500 ... 31 filtered 2016-01-07 15:06:09.298895500 at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:122) 2016-01-07 15:06:09.298895500 ... 3 filtered 2016-01-07 15:06:09.298896500 at com.atlassian.plugin.connect.plugin.auth.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:82) 2016-01-07 15:06:09.298898500 ... 3 filtered 2016-01-07 15:06:09.298898500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$413(CustomerContextSettingFilter.java:169) 2016-01-07 15:06:09.298899500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter$$Lambda$404/29391458.call(Unknown Source) 2016-01-07 15:06:09.298899500 at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:25) 2016-01-07 15:06:09.298902500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48) 2016-01-07 15:06:09.298903500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala) 2016-01-07 15:06:09.298906500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:24) 2016-01-07 15:06:09.298907500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:164) 2016-01-07 15:06:09.298907500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:120) 2016-01-07 15:06:09.298912500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:112) 2016-01-07 15:06:09.298912500 ... 3 filtered 2016-01-07 15:06:09.298912500 at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:31) 2016-01-07 15:06:09.298913500 ... 54 filtered 2016-01-07 15:06:09.298913500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2016-01-07 15:06:09.298915500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2016-01-07 15:06:09.298916500 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2016-01-07 15:06:09.298916500 at java.lang.Thread.run(Thread.java:745) 2016-01-07 15:06:09.298916500 Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse '+(': Encountered "<EOF>" at line 1, column 2. 2016-01-07 15:06:09.298921500 Was expecting one of: 2016-01-07 15:06:09.298921500 <NOT> ... 2016-01-07 15:06:09.298921500 "+" ... 2016-01-07 15:06:09.298921500 "-" ... 2016-01-07 15:06:09.298921500 "(" ... 2016-01-07 15:06:09.298921500 <QUOTED> ... 2016-01-07 15:06:09.298922500 <TERM> ... 2016-01-07 15:06:09.298922500 <PREFIXTERM> ... 2016-01-07 15:06:09.298922500 <WILDTERM> ... 2016-01-07 15:06:09.298924500 "[" ... 2016-01-07 15:06:09.298925500 "{" ... 2016-01-07 15:06:09.298925500 <NUMBER> ... 2016-01-07 15:06:09.298925500 <TERM> ... 2016-01-07 15:06:09.298925500 "*" ... 2016-01-07 15:06:09.298925500 2016-01-07 15:06:09.298925500 at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:211) 2016-01-07 15:06:09.298926500 at com.atlassian.jira.sharing.index.QueryBuilder.parseWildcardQuery(QueryBuilder.java:188) 2016-01-07 15:06:09.298926500 ... 300 more 2016-01-07 15:06:09.298929500 Caused by: org.apache.lucene.queryParser.ParseException: Encountered "<EOF>" at line 1, column 2. 2016-01-07 15:06:09.298929500 Was expecting one of: 2016-01-07 15:06:09.298929500 <NOT> ... 2016-01-07 15:06:09.298929500 "+" ... 2016-01-07 15:06:09.298929500 "-" ... 2016-01-07 15:06:09.298930500 "(" ... 2016-01-07 15:06:09.298930500 <QUOTED> ... 2016-01-07 15:06:09.298930500 <TERM> ... 2016-01-07 15:06:09.298930500 <PREFIXTERM> ... 2016-01-07 15:06:09.298930500 <WILDTERM> ... 2016-01-07 15:06:09.298933500 "[" ... 2016-01-07 15:06:09.298933500 "{" ... 2016-01-07 15:06:09.298933500 <NUMBER> ... 2016-01-07 15:06:09.298933500 <TERM> ... 2016-01-07 15:06:09.298933500 "*" ... 2016-01-07 15:06:09.298933500 2016-01-07 15:06:09.298933500 at org.apache.lucene.queryParser.QueryParser.generateParseException(QueryParser.java:1818) 2016-01-07 15:06:09.298934500 at org.apache.lucene.queryParser.QueryParser.jj_consume_token(QueryParser.java:1700) 2016-01-07 15:06:09.298934500 at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1327) 2016-01-07 15:06:09.298937500 at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1237) 2016-01-07 15:06:09.298941500 at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1313) 2016-01-07 15:06:09.298941500 at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1237) 2016-01-07 15:06:09.298941500 at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1226) 2016-01-07 15:06:09.298942500 at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206) 2016-01-07 15:06:09.298944500 ... 301 more {noformat} Error changes if entering + sign: {noformat} 2016-01-07 15:07:05.667501500 2016-01-07 15:07:05,645 http-nio-2990-exec-25 ERROR sysadmin 907x8660x1 th03pr 59.167.133.100,165.254.228.201,127.0.0.1 /rest/gadget/1.0/pickers/filters [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: org.apache.lucene.queryParser.ParseException: Cannot parse '+* ()': '*' or '?' not allowed as first character in WildcardQuery 2016-01-07 15:07:05.667504500 com.atlassian.jira.sharing.search.SearchParseException: org.apache.lucene.queryParser.ParseException: Cannot parse '+* ()': '*' or '?' not allowed as first character in WildcardQuery 2016-01-07 15:07:05.667535500 at com.atlassian.jira.sharing.index.QueryBuilder.parseWildcardQuery(QueryBuilder.java:191) 2016-01-07 15:07:05.667536500 at com.atlassian.jira.sharing.index.QueryBuilder.addParsedWildcardQuery(QueryBuilder.java:94) 2016-01-07 15:07:05.667536500 at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.addParsedWildcardQueries(DefaultQueryFactory.java:120) 2016-01-07 15:07:05.667545500 at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.build(DefaultQueryFactory.java:96) 2016-01-07 15:07:05.667546500 at com.atlassian.jira.sharing.index.DefaultQueryFactory.create(DefaultQueryFactory.java:49) 2016-01-07 15:07:05.667553500 at com.atlassian.jira.sharing.index.DefaultSharedEntitySearcher.search(DefaultSharedEntitySearcher.java:91) 2016-01-07 15:07:05.667553500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.lambda$searchIndex$318(DefaultSearchRequestManager.java:390) 2016-01-07 15:07:05.667554500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager$$Lambda$648/30930004.get(Unknown Source) 2016-01-07 15:07:05.667557500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.timedSearch(DefaultSearchRequestManager.java:384) 2016-01-07 15:07:05.667557500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.search(DefaultSearchRequestManager.java:332) 2016-01-07 15:07:05.667558500 ... 2 filtered 2016-01-07 15:07:05.667558500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:07:05.667561500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-01-07 15:07:05.667562500 at com.sun.proxy.$Proxy87.search(Unknown Source) 2016-01-07 15:07:05.667562500 ... 2 filtered 2016-01-07 15:07:05.667563500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:07:05.667563500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) 2016-01-07 15:07:05.667566500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) 2016-01-07 15:07:05.667570500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) 2016-01-07 15:07:05.667571500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:07:05.667571500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-01-07 15:07:05.667575500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-01-07 15:07:05.667575500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:07:05.667576500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) 2016-01-07 15:07:05.667580500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) 2016-01-07 15:07:05.667581500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:07:05.667586500 at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) 2016-01-07 15:07:05.667586500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:07:05.667587500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-01-07 15:07:05.667591500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-01-07 15:07:05.667591500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:07:05.667592500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) 2016-01-07 15:07:05.667595500 at com.sun.proxy.$Proxy2994.search(Unknown Source) 2016-01-07 15:07:05.667596500 at com.atlassian.jira.gadgets.system.PickerResource.getFilters(PickerResource.java:166) 2016-01-07 15:07:05.667596500 at com.atlassian.jira.gadgets.system.PickerResource.searchForFilters(PickerResource.java:119) 2016-01-07 15:07:05.667596500 ... 2 filtered 2016-01-07 15:07:05.667597500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:07:05.667603500 ... 19 filtered 2016-01-07 15:07:05.667607500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) 2016-01-07 15:07:05.667608500 ... 1 filtered 2016-01-07 15:07:05.667608500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) 2016-01-07 15:07:05.667609500 ... 66 filtered 2016-01-07 15:07:05.667609500 at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) 2016-01-07 15:07:05.667612500 ... 25 filtered 2016-01-07 15:07:05.667613500 at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:89) 2016-01-07 15:07:05.667613500 ... 19 filtered 2016-01-07 15:07:05.667613500 at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) 2016-01-07 15:07:05.667614500 ... 15 filtered 2016-01-07 15:07:05.667614500 at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) 2016-01-07 15:07:05.667617500 ... 31 filtered 2016-01-07 15:07:05.667618500 at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:122) 2016-01-07 15:07:05.667618500 ... 3 filtered 2016-01-07 15:07:05.667618500 at com.atlassian.plugin.connect.plugin.auth.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:82) 2016-01-07 15:07:05.667619500 ... 3 filtered 2016-01-07 15:07:05.667622500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$413(CustomerContextSettingFilter.java:169) 2016-01-07 15:07:05.667626500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter$$Lambda$404/29391458.call(Unknown Source) 2016-01-07 15:07:05.667627500 at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:25) 2016-01-07 15:07:05.667628500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48) 2016-01-07 15:07:05.667631500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala) 2016-01-07 15:07:05.667632500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:24) 2016-01-07 15:07:05.667632500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:164) 2016-01-07 15:07:05.667636500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:120) 2016-01-07 15:07:05.667636500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:112) 2016-01-07 15:07:05.667641500 ... 3 filtered 2016-01-07 15:07:05.667641500 at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:31) 2016-01-07 15:07:05.667642500 ... 54 filtered 2016-01-07 15:07:05.667642500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2016-01-07 15:07:05.667642500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2016-01-07 15:07:05.667646500 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2016-01-07 15:07:05.667647500 at java.lang.Thread.run(Thread.java:745) 2016-01-07 15:07:05.667647500 Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse '+* ()': '*' or '?' not allowed as first character in WildcardQuery 2016-01-07 15:07:05.667648500 at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:211) 2016-01-07 15:07:05.667651500 at com.atlassian.jira.sharing.index.QueryBuilder.parseWildcardQuery(QueryBuilder.java:188) 2016-01-07 15:07:05.667652500 ... 300 more 2016-01-07 15:07:05.667652500 Caused by: org.apache.lucene.queryParser.ParseException: '*' or '?' not allowed as first character in WildcardQuery 2016-01-07 15:07:05.667653500 at org.apache.lucene.queryParser.QueryParser.getWildcardQuery(QueryParser.java:982) 2016-01-07 15:07:05.667653500 at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1309) 2016-01-07 15:07:05.667662500 at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1237) 2016-01-07 15:07:05.667662500 at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1226) 2016-01-07 15:07:05.667663500 at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206) 2016-01-07 15:07:05.667663500 ... 301 more {noformat} Entering a * or ? triggers a 400 (Bad Request) error instead of 500 (Internal Server Error). This is probably due to previous work to capture the error: [JRA-18317|https://jira.atlassian.com/browse/JRA-18317] h3. Notes * Working previously on JIRA v6.4 where * and ? cause 400 errors in the browser console but don't generate popup * Errors while configuring Confluence macros won't trigger a popup but will generate a JIRA error. h3.Workaround * Select the option to "Prevent this page from creating additional dialogs"

    Atlassian JIRA | 11 months ago | Mauro Fernandez Badii [Atlassian]
    com.atlassian.jira.sharing.search.SearchParseException: org.apache.lucene.queryParser.ParseException: Cannot parse '+(': Encountered "<EOF>" at line 1, column 2. 2016-01-07 15:06:09.298820500 Was expecting one of: 2016-01-07 15:06:09.298820500 <NOT> ... 2016-01-07 15:06:09.298820500 "+" ... 2016-01-07 15:06:09.298820500 "-" ... 2016-01-07 15:06:09.298820500 "(" ... 2016-01-07 15:06:09.298821500 "*" ... 2016-01-07 15:06:09.298823500 <QUOTED> ... 2016-01-07 15:06:09.298824500 <TERM> ... 2016-01-07 15:06:09.298824500 <PREFIXTERM> ... 2016-01-07 15:06:09.298824500 <WILDTERM> ... 2016-01-07 15:06:09.298824500 "[" ... 2016-01-07 15:06:09.298824500 "{" ... 2016-01-07 15:06:09.298824500 <NUMBER> ... 2016-01-07 15:06:09.298825500 <TERM> ... 2016-01-07 15:06:09.298825500 "*" ... 2016-01-07 15:06:09.298829500 2016-01-07 15:06:09.298829500 at com.atlassian.jira.sharing.index.QueryBuilder.parseWildcardQuery(QueryBuilder.java:191) 2016-01-07 15:06:09.298829500 at com.atlassian.jira.sharing.index.QueryBuilder.addParsedWildcardQuery(QueryBuilder.java:94) 2016-01-07 15:06:09.298830500 at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.addParsedWildcardQueries(DefaultQueryFactory.java:120) 2016-01-07 15:06:09.298830500 at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.build(DefaultQueryFactory.java:96) 2016-01-07 15:06:09.298833500 at com.atlassian.jira.sharing.index.DefaultQueryFactory.create(DefaultQueryFactory.java:49) 2016-01-07 15:06:09.298833500 at com.atlassian.jira.sharing.index.DefaultSharedEntitySearcher.search(DefaultSharedEntitySearcher.java:91) 2016-01-07 15:06:09.298834500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.lambda$searchIndex$318(DefaultSearchRequestManager.java:390) 2016-01-07 15:06:09.298836500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager$$Lambda$648/30930004.get(Unknown Source) 2016-01-07 15:06:09.298837500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.timedSearch(DefaultSearchRequestManager.java:384) 2016-01-07 15:06:09.298837500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.search(DefaultSearchRequestManager.java:332) 2016-01-07 15:06:09.298841500 ... 2 filtered 2016-01-07 15:06:09.298841500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:06:09.298841500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-01-07 15:06:09.298842500 at com.sun.proxy.$Proxy87.search(Unknown Source) 2016-01-07 15:06:09.298842500 ... 2 filtered 2016-01-07 15:06:09.298844500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:06:09.298845500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) 2016-01-07 15:06:09.298845500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) 2016-01-07 15:06:09.298846500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) 2016-01-07 15:06:09.298848500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298849500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-01-07 15:06:09.298849500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-01-07 15:06:09.298853500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298854500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) 2016-01-07 15:06:09.298854500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) 2016-01-07 15:06:09.298859500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298859500 at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) 2016-01-07 15:06:09.298860500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298862500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-01-07 15:06:09.298863500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-01-07 15:06:09.298863500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Summary On a Dashboard gadget with a quick filter search "Saved Filter" entering a special character such as: + - ( ' ; " etc displays an error popup. !char_breaks_search.jpeg! It reads: "The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation." h3. Environment * JIRA 7.1 * Dashboard gadgets * Confluence macros of JIRA with filters h3. Steps to Reproduce # Add a "Two Dimensional Filter Statistics" gadget to a dashboard (or any other gadget with filters) # Type a special character h3. Expected Results Results window mentions that there are no results matching the search. h3. Actual Results * Popup with error appears on screen. * Browser Console logs a 500 error {noformat} GET https://<instance-url>/rest/gadget/1.0/pickers/filters?fieldName=quickfind&query=(&_=1452139433158 500 (Internal Server Error)XMLHttpRequest.send @ batch.js?agile_global_admin_condition=true&hasConnectAddons=true&jag=true&jaguser=true&jcap=true&ji…:4872send @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:178c.extend.ajax @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:172SmartAjax.makeRequest @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:642Class.extend.makeRequest @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2610Class.extend.incubateRequest @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2610Class.extend.execute @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2610Class.extend.execute @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2610Control.extend.requestSuggestions @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2613Control.extend._handleCharacterInput @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2613QueryableDropdownSelect.extend._handleCharacterInput @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2631(anonymous function) @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:624Control.extend.onEdit @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2613QueryableDropdownSelect.extend.onEdit @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2631(anonymous function) @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:624Class.extend._handleKeyEvent @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:627Control.extend._events.keys.aui:keydown input @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:2613_dispatchers.(anonymous function) @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:627c.event.dispatch @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:85g.handle.h @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:77 batch.js?atlassian.aui.raphael.disabled=true&locale=en-UK:216 ajax[54233158] error : { successful : false, status : 500, statusText : error, hasData : true, readyState : 4, requestId : 54233158, aborted : undefined, } {noformat} and the following in JIRA log: {noformat} 2016-01-07 15:06:09.298783500 2016-01-07 15:06:09,294 http-nio-2990-exec-10 ERROR sysadmin 906x8656x1 th03pr 59.167.133.100,165.254.228.201,127.0.0.1 /rest/gadget/1.0/pickers/filters [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: org.apache.lucene.queryParser.ParseException: Cannot parse '+(': Encountered "<EOF>" at line 1, column 2. 2016-01-07 15:06:09.298785500 Was expecting one of: 2016-01-07 15:06:09.298785500 <NOT> ... 2016-01-07 15:06:09.298785500 "+" ... 2016-01-07 15:06:09.298811500 "-" ... 2016-01-07 15:06:09.298811500 "(" ... 2016-01-07 15:06:09.298812500 "*" ... 2016-01-07 15:06:09.298812500 <QUOTED> ... 2016-01-07 15:06:09.298812500 <TERM> ... 2016-01-07 15:06:09.298812500 <PREFIXTERM> ... 2016-01-07 15:06:09.298812500 <WILDTERM> ... 2016-01-07 15:06:09.298812500 "[" ... 2016-01-07 15:06:09.298813500 "{" ... 2016-01-07 15:06:09.298813500 <NUMBER> ... 2016-01-07 15:06:09.298813500 <TERM> ... 2016-01-07 15:06:09.298819500 "*" ... 2016-01-07 15:06:09.298819500 2016-01-07 15:06:09.298819500 com.atlassian.jira.sharing.search.SearchParseException: org.apache.lucene.queryParser.ParseException: Cannot parse '+(': Encountered "<EOF>" at line 1, column 2. 2016-01-07 15:06:09.298820500 Was expecting one of: 2016-01-07 15:06:09.298820500 <NOT> ... 2016-01-07 15:06:09.298820500 "+" ... 2016-01-07 15:06:09.298820500 "-" ... 2016-01-07 15:06:09.298820500 "(" ... 2016-01-07 15:06:09.298821500 "*" ... 2016-01-07 15:06:09.298823500 <QUOTED> ... 2016-01-07 15:06:09.298824500 <TERM> ... 2016-01-07 15:06:09.298824500 <PREFIXTERM> ... 2016-01-07 15:06:09.298824500 <WILDTERM> ... 2016-01-07 15:06:09.298824500 "[" ... 2016-01-07 15:06:09.298824500 "{" ... 2016-01-07 15:06:09.298824500 <NUMBER> ... 2016-01-07 15:06:09.298825500 <TERM> ... 2016-01-07 15:06:09.298825500 "*" ... 2016-01-07 15:06:09.298829500 2016-01-07 15:06:09.298829500 at com.atlassian.jira.sharing.index.QueryBuilder.parseWildcardQuery(QueryBuilder.java:191) 2016-01-07 15:06:09.298829500 at com.atlassian.jira.sharing.index.QueryBuilder.addParsedWildcardQuery(QueryBuilder.java:94) 2016-01-07 15:06:09.298830500 at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.addParsedWildcardQueries(DefaultQueryFactory.java:120) 2016-01-07 15:06:09.298830500 at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.build(DefaultQueryFactory.java:96) 2016-01-07 15:06:09.298833500 at com.atlassian.jira.sharing.index.DefaultQueryFactory.create(DefaultQueryFactory.java:49) 2016-01-07 15:06:09.298833500 at com.atlassian.jira.sharing.index.DefaultSharedEntitySearcher.search(DefaultSharedEntitySearcher.java:91) 2016-01-07 15:06:09.298834500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.lambda$searchIndex$318(DefaultSearchRequestManager.java:390) 2016-01-07 15:06:09.298836500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager$$Lambda$648/30930004.get(Unknown Source) 2016-01-07 15:06:09.298837500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.timedSearch(DefaultSearchRequestManager.java:384) 2016-01-07 15:06:09.298837500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.search(DefaultSearchRequestManager.java:332) 2016-01-07 15:06:09.298841500 ... 2 filtered 2016-01-07 15:06:09.298841500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:06:09.298841500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-01-07 15:06:09.298842500 at com.sun.proxy.$Proxy87.search(Unknown Source) 2016-01-07 15:06:09.298842500 ... 2 filtered 2016-01-07 15:06:09.298844500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:06:09.298845500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) 2016-01-07 15:06:09.298845500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) 2016-01-07 15:06:09.298846500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) 2016-01-07 15:06:09.298848500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298849500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-01-07 15:06:09.298849500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-01-07 15:06:09.298853500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298854500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) 2016-01-07 15:06:09.298854500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) 2016-01-07 15:06:09.298859500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298859500 at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) 2016-01-07 15:06:09.298860500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298862500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-01-07 15:06:09.298863500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-01-07 15:06:09.298863500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298867500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) 2016-01-07 15:06:09.298867500 at com.sun.proxy.$Proxy2994.search(Unknown Source) 2016-01-07 15:06:09.298867500 at com.atlassian.jira.gadgets.system.PickerResource.getFilters(PickerResource.java:166) 2016-01-07 15:06:09.298868500 at com.atlassian.jira.gadgets.system.PickerResource.searchForFilters(PickerResource.java:119) 2016-01-07 15:06:09.298871500 ... 2 filtered 2016-01-07 15:06:09.298871500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:06:09.298871500 ... 19 filtered 2016-01-07 15:06:09.298871500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) 2016-01-07 15:06:09.298872500 ... 1 filtered 2016-01-07 15:06:09.298872500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) 2016-01-07 15:06:09.298874500 ... 66 filtered 2016-01-07 15:06:09.298874500 at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) 2016-01-07 15:06:09.298875500 ... 25 filtered 2016-01-07 15:06:09.298875500 at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:89) 2016-01-07 15:06:09.298875500 ... 19 filtered 2016-01-07 15:06:09.298891500 at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) 2016-01-07 15:06:09.298894500 ... 15 filtered 2016-01-07 15:06:09.298894500 at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) 2016-01-07 15:06:09.298895500 ... 31 filtered 2016-01-07 15:06:09.298895500 at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:122) 2016-01-07 15:06:09.298895500 ... 3 filtered 2016-01-07 15:06:09.298896500 at com.atlassian.plugin.connect.plugin.auth.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:82) 2016-01-07 15:06:09.298898500 ... 3 filtered 2016-01-07 15:06:09.298898500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$413(CustomerContextSettingFilter.java:169) 2016-01-07 15:06:09.298899500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter$$Lambda$404/29391458.call(Unknown Source) 2016-01-07 15:06:09.298899500 at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:25) 2016-01-07 15:06:09.298902500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48) 2016-01-07 15:06:09.298903500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala) 2016-01-07 15:06:09.298906500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:24) 2016-01-07 15:06:09.298907500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:164) 2016-01-07 15:06:09.298907500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:120) 2016-01-07 15:06:09.298912500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:112) 2016-01-07 15:06:09.298912500 ... 3 filtered 2016-01-07 15:06:09.298912500 at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:31) 2016-01-07 15:06:09.298913500 ... 54 filtered 2016-01-07 15:06:09.298913500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2016-01-07 15:06:09.298915500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2016-01-07 15:06:09.298916500 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2016-01-07 15:06:09.298916500 at java.lang.Thread.run(Thread.java:745) 2016-01-07 15:06:09.298916500 Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse '+(': Encountered "<EOF>" at line 1, column 2. 2016-01-07 15:06:09.298921500 Was expecting one of: 2016-01-07 15:06:09.298921500 <NOT> ... 2016-01-07 15:06:09.298921500 "+" ... 2016-01-07 15:06:09.298921500 "-" ... 2016-01-07 15:06:09.298921500 "(" ... 2016-01-07 15:06:09.298921500 <QUOTED> ... 2016-01-07 15:06:09.298922500 <TERM> ... 2016-01-07 15:06:09.298922500 <PREFIXTERM> ... 2016-01-07 15:06:09.298922500 <WILDTERM> ... 2016-01-07 15:06:09.298924500 "[" ... 2016-01-07 15:06:09.298925500 "{" ... 2016-01-07 15:06:09.298925500 <NUMBER> ... 2016-01-07 15:06:09.298925500 <TERM> ... 2016-01-07 15:06:09.298925500 "*" ... 2016-01-07 15:06:09.298925500 2016-01-07 15:06:09.298925500 at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:211) 2016-01-07 15:06:09.298926500 at com.atlassian.jira.sharing.index.QueryBuilder.parseWildcardQuery(QueryBuilder.java:188) 2016-01-07 15:06:09.298926500 ... 300 more 2016-01-07 15:06:09.298929500 Caused by: org.apache.lucene.queryParser.ParseException: Encountered "<EOF>" at line 1, column 2. 2016-01-07 15:06:09.298929500 Was expecting one of: 2016-01-07 15:06:09.298929500 <NOT> ... 2016-01-07 15:06:09.298929500 "+" ... 2016-01-07 15:06:09.298929500 "-" ... 2016-01-07 15:06:09.298930500 "(" ... 2016-01-07 15:06:09.298930500 <QUOTED> ... 2016-01-07 15:06:09.298930500 <TERM> ... 2016-01-07 15:06:09.298930500 <PREFIXTERM> ... 2016-01-07 15:06:09.298930500 <WILDTERM> ... 2016-01-07 15:06:09.298933500 "[" ... 2016-01-07 15:06:09.298933500 "{" ... 2016-01-07 15:06:09.298933500 <NUMBER> ... 2016-01-07 15:06:09.298933500 <TERM> ... 2016-01-07 15:06:09.298933500 "*" ... 2016-01-07 15:06:09.298933500 2016-01-07 15:06:09.298933500 at org.apache.lucene.queryParser.QueryParser.generateParseException(QueryParser.java:1818) 2016-01-07 15:06:09.298934500 at org.apache.lucene.queryParser.QueryParser.jj_consume_token(QueryParser.java:1700) 2016-01-07 15:06:09.298934500 at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1327) 2016-01-07 15:06:09.298937500 at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1237) 2016-01-07 15:06:09.298941500 at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1313) 2016-01-07 15:06:09.298941500 at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1237) 2016-01-07 15:06:09.298941500 at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1226) 2016-01-07 15:06:09.298942500 at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206) 2016-01-07 15:06:09.298944500 ... 301 more {noformat} Error changes if entering + sign: {noformat} 2016-01-07 15:07:05.667501500 2016-01-07 15:07:05,645 http-nio-2990-exec-25 ERROR sysadmin 907x8660x1 th03pr 59.167.133.100,165.254.228.201,127.0.0.1 /rest/gadget/1.0/pickers/filters [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: org.apache.lucene.queryParser.ParseException: Cannot parse '+* ()': '*' or '?' not allowed as first character in WildcardQuery 2016-01-07 15:07:05.667504500 com.atlassian.jira.sharing.search.SearchParseException: org.apache.lucene.queryParser.ParseException: Cannot parse '+* ()': '*' or '?' not allowed as first character in WildcardQuery 2016-01-07 15:07:05.667535500 at com.atlassian.jira.sharing.index.QueryBuilder.parseWildcardQuery(QueryBuilder.java:191) 2016-01-07 15:07:05.667536500 at com.atlassian.jira.sharing.index.QueryBuilder.addParsedWildcardQuery(QueryBuilder.java:94) 2016-01-07 15:07:05.667536500 at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.addParsedWildcardQueries(DefaultQueryFactory.java:120) 2016-01-07 15:07:05.667545500 at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.build(DefaultQueryFactory.java:96) 2016-01-07 15:07:05.667546500 at com.atlassian.jira.sharing.index.DefaultQueryFactory.create(DefaultQueryFactory.java:49) 2016-01-07 15:07:05.667553500 at com.atlassian.jira.sharing.index.DefaultSharedEntitySearcher.search(DefaultSharedEntitySearcher.java:91) 2016-01-07 15:07:05.667553500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.lambda$searchIndex$318(DefaultSearchRequestManager.java:390) 2016-01-07 15:07:05.667554500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager$$Lambda$648/30930004.get(Unknown Source) 2016-01-07 15:07:05.667557500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.timedSearch(DefaultSearchRequestManager.java:384) 2016-01-07 15:07:05.667557500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.search(DefaultSearchRequestManager.java:332) 2016-01-07 15:07:05.667558500 ... 2 filtered 2016-01-07 15:07:05.667558500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:07:05.667561500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-01-07 15:07:05.667562500 at com.sun.proxy.$Proxy87.search(Unknown Source) 2016-01-07 15:07:05.667562500 ... 2 filtered 2016-01-07 15:07:05.667563500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:07:05.667563500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) 2016-01-07 15:07:05.667566500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) 2016-01-07 15:07:05.667570500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) 2016-01-07 15:07:05.667571500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:07:05.667571500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-01-07 15:07:05.667575500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-01-07 15:07:05.667575500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:07:05.667576500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) 2016-01-07 15:07:05.667580500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) 2016-01-07 15:07:05.667581500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:07:05.667586500 at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) 2016-01-07 15:07:05.667586500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:07:05.667587500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-01-07 15:07:05.667591500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-01-07 15:07:05.667591500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:07:05.667592500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) 2016-01-07 15:07:05.667595500 at com.sun.proxy.$Proxy2994.search(Unknown Source) 2016-01-07 15:07:05.667596500 at com.atlassian.jira.gadgets.system.PickerResource.getFilters(PickerResource.java:166) 2016-01-07 15:07:05.667596500 at com.atlassian.jira.gadgets.system.PickerResource.searchForFilters(PickerResource.java:119) 2016-01-07 15:07:05.667596500 ... 2 filtered 2016-01-07 15:07:05.667597500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:07:05.667603500 ... 19 filtered 2016-01-07 15:07:05.667607500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) 2016-01-07 15:07:05.667608500 ... 1 filtered 2016-01-07 15:07:05.667608500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) 2016-01-07 15:07:05.667609500 ... 66 filtered 2016-01-07 15:07:05.667609500 at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) 2016-01-07 15:07:05.667612500 ... 25 filtered 2016-01-07 15:07:05.667613500 at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:89) 2016-01-07 15:07:05.667613500 ... 19 filtered 2016-01-07 15:07:05.667613500 at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) 2016-01-07 15:07:05.667614500 ... 15 filtered 2016-01-07 15:07:05.667614500 at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) 2016-01-07 15:07:05.667617500 ... 31 filtered 2016-01-07 15:07:05.667618500 at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:122) 2016-01-07 15:07:05.667618500 ... 3 filtered 2016-01-07 15:07:05.667618500 at com.atlassian.plugin.connect.plugin.auth.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:82) 2016-01-07 15:07:05.667619500 ... 3 filtered 2016-01-07 15:07:05.667622500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$413(CustomerContextSettingFilter.java:169) 2016-01-07 15:07:05.667626500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter$$Lambda$404/29391458.call(Unknown Source) 2016-01-07 15:07:05.667627500 at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:25) 2016-01-07 15:07:05.667628500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48) 2016-01-07 15:07:05.667631500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala) 2016-01-07 15:07:05.667632500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:24) 2016-01-07 15:07:05.667632500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:164) 2016-01-07 15:07:05.667636500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:120) 2016-01-07 15:07:05.667636500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:112) 2016-01-07 15:07:05.667641500 ... 3 filtered 2016-01-07 15:07:05.667641500 at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:31) 2016-01-07 15:07:05.667642500 ... 54 filtered 2016-01-07 15:07:05.667642500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2016-01-07 15:07:05.667642500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2016-01-07 15:07:05.667646500 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2016-01-07 15:07:05.667647500 at java.lang.Thread.run(Thread.java:745) 2016-01-07 15:07:05.667647500 Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse '+* ()': '*' or '?' not allowed as first character in WildcardQuery 2016-01-07 15:07:05.667648500 at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:211) 2016-01-07 15:07:05.667651500 at com.atlassian.jira.sharing.index.QueryBuilder.parseWildcardQuery(QueryBuilder.java:188) 2016-01-07 15:07:05.667652500 ... 300 more 2016-01-07 15:07:05.667652500 Caused by: org.apache.lucene.queryParser.ParseException: '*' or '?' not allowed as first character in WildcardQuery 2016-01-07 15:07:05.667653500 at org.apache.lucene.queryParser.QueryParser.getWildcardQuery(QueryParser.java:982) 2016-01-07 15:07:05.667653500 at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1309) 2016-01-07 15:07:05.667662500 at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1237) 2016-01-07 15:07:05.667662500 at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1226) 2016-01-07 15:07:05.667663500 at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206) 2016-01-07 15:07:05.667663500 ... 301 more {noformat} Entering a * or ? triggers a 400 (Bad Request) error instead of 500 (Internal Server Error). This is probably due to previous work to capture the error: [JRA-18317|https://jira.atlassian.com/browse/JRA-18317] h3. Notes * Working previously on JIRA v6.4 where * and ? cause 400 errors in the browser console but don't generate popup * Errors while configuring Confluence macros won't trigger a popup but will generate a JIRA error. h3.Workaround * Select the option to "Prevent this page from creating additional dialogs"

    Atlassian JIRA | 11 months ago | Mauro Fernandez Badii [Atlassian]
    com.atlassian.jira.sharing.search.SearchParseException: org.apache.lucene.queryParser.ParseException: Cannot parse '+(': Encountered "<EOF>" at line 1, column 2. 2016-01-07 15:06:09.298820500 Was expecting one of: 2016-01-07 15:06:09.298820500 <NOT> ... 2016-01-07 15:06:09.298820500 "+" ... 2016-01-07 15:06:09.298820500 "-" ... 2016-01-07 15:06:09.298820500 "(" ... 2016-01-07 15:06:09.298821500 "*" ... 2016-01-07 15:06:09.298823500 <QUOTED> ... 2016-01-07 15:06:09.298824500 <TERM> ... 2016-01-07 15:06:09.298824500 <PREFIXTERM> ... 2016-01-07 15:06:09.298824500 <WILDTERM> ... 2016-01-07 15:06:09.298824500 "[" ... 2016-01-07 15:06:09.298824500 "{" ... 2016-01-07 15:06:09.298824500 <NUMBER> ... 2016-01-07 15:06:09.298825500 <TERM> ... 2016-01-07 15:06:09.298825500 "*" ... 2016-01-07 15:06:09.298829500 2016-01-07 15:06:09.298829500 at com.atlassian.jira.sharing.index.QueryBuilder.parseWildcardQuery(QueryBuilder.java:191) 2016-01-07 15:06:09.298829500 at com.atlassian.jira.sharing.index.QueryBuilder.addParsedWildcardQuery(QueryBuilder.java:94) 2016-01-07 15:06:09.298830500 at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.addParsedWildcardQueries(DefaultQueryFactory.java:120) 2016-01-07 15:06:09.298830500 at com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.build(DefaultQueryFactory.java:96) 2016-01-07 15:06:09.298833500 at com.atlassian.jira.sharing.index.DefaultQueryFactory.create(DefaultQueryFactory.java:49) 2016-01-07 15:06:09.298833500 at com.atlassian.jira.sharing.index.DefaultSharedEntitySearcher.search(DefaultSharedEntitySearcher.java:91) 2016-01-07 15:06:09.298834500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.lambda$searchIndex$318(DefaultSearchRequestManager.java:390) 2016-01-07 15:06:09.298836500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager$$Lambda$648/30930004.get(Unknown Source) 2016-01-07 15:06:09.298837500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.timedSearch(DefaultSearchRequestManager.java:384) 2016-01-07 15:06:09.298837500 at com.atlassian.jira.issue.search.DefaultSearchRequestManager.search(DefaultSearchRequestManager.java:332) 2016-01-07 15:06:09.298841500 ... 2 filtered 2016-01-07 15:06:09.298841500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:06:09.298841500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-01-07 15:06:09.298842500 at com.sun.proxy.$Proxy87.search(Unknown Source) 2016-01-07 15:06:09.298842500 ... 2 filtered 2016-01-07 15:06:09.298844500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-01-07 15:06:09.298845500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) 2016-01-07 15:06:09.298845500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) 2016-01-07 15:06:09.298846500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) 2016-01-07 15:06:09.298848500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298849500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-01-07 15:06:09.298849500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-01-07 15:06:09.298853500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298854500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) 2016-01-07 15:06:09.298854500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) 2016-01-07 15:06:09.298859500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298859500 at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) 2016-01-07 15:06:09.298860500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-01-07 15:06:09.298862500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-01-07 15:06:09.298863500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-01-07 15:06:09.298863500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

    Root Cause Analysis

    1. 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()
    2. com.atlassian.jira
      AutoCompleteResource.getIssuesResponse
      1. com.atlassian.jira.sharing.index.QueryBuilder.parseQuery(QueryBuilder.java:202)
      2. com.atlassian.jira.sharing.index.QueryBuilder.addParsedQuery(QueryBuilder.java:103)
      3. com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.addParsedQueries(DefaultQueryFactory.java:140)
      4. com.atlassian.jira.sharing.index.DefaultQueryFactory$Builder.build(DefaultQueryFactory.java:124)
      5. com.atlassian.jira.sharing.index.DefaultQueryFactory.create(DefaultQueryFactory.java:48)
      6. com.atlassian.jira.sharing.index.DefaultSharedEntitySearcher.search(DefaultSharedEntitySearcher.java:101)
      7. com.atlassian.jira.issue.search.DefaultSearchRequestManager.search(DefaultSearchRequestManager.java:379)
      8. com.atlassian.jira.bc.filter.DefaultSearchRequestService.search(DefaultSearchRequestService.java:540)
      9. com.atlassian.jira.jql.values.SavedFilterValuesGenerator.getPossibleValues(SavedFilterValuesGenerator.java:37)
      10. com.atlassian.jira.rest.v1.jql.AutoCompleteResource.generateResults(AutoCompleteResource.java:171)
      11. com.atlassian.jira.rest.v1.jql.AutoCompleteResource.getAutoCompleteResultsForField(AutoCompleteResource.java:101)
      12. com.atlassian.jira.rest.v1.jql.AutoCompleteResource.getIssuesResponse(AutoCompleteResource.java:71)
      12 frames