Details
-
Bug
-
Resolution: Fixed
-
Low
-
7.0.10, 7.1.0-OD-03, 7.1.7, 7.1.9, 7.3.1
-
7
-
19
-
Severity 3 - Minor
-
5
-
Description
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Summary
On a Dashboard gadget with a quick filter search "Saved Filter" entering a special character such as: + - ( ' ; " etc displays an error popup.
It reads: "The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation."
Environment
- JIRA 7.1
- Dashboard gadgets
- Confluence macros of JIRA with filters
Steps to Reproduce
- Add a "Two Dimensional Filter Statistics" gadget to a dashboard (or any other gadget with filters)
- Type a special character
Expected Results
Results window mentions that there are no results matching the search.
Actual Results
- Popup with error appears on screen.
- Browser Console logs a 500 error
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, }
and the following in JIRA log:
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
Error changes if entering + sign:
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
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
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.
- This is also reproducible for filters with names such as TeamA - new. The moment the user types TeamA - on the saved filter field, then the above UI error pops up and the filter TeamA - new is no longer suggested.
Workaround
- Select the option to "Prevent this page from creating additional dialogs"
Attachments
Issue Links
- is duplicated by
-
JRASERVER-59612 Colon cannot be used with Filter Results Gadget
- Closed
- relates to
-
JRASERVER-59263 Filter Search in gadgets doesn't find all filters
- Closed
-
JRACLOUD-59264 Filter Search in gadgets returns 500 error with special characters
- Closed
-
JC-821 Loading...
- mentioned in
-
Page Loading...
- was cloned as
-
JC-820 Loading...