java.lang.IllegalArgumentException: clauseValues is empty

Atlassian JIRA | Mark Symons | 2 years ago
  1. 0

    When JIRA is configured to allow anonymous browsing of projects and then that "projects permission" is removed, PCs (eg devices being used for wallboards) that are continuing to attempt to access Agile gadgets and Reports will receive HTTP 500 errors, with the JIRA system log filling up with exceptions I'm guessing that this is a cookie persistence problem because the exceptions are easy to reproduce if one views (say) a burndown report and then log out and try the URL again. BUT... if you log out and then switch to a "new private window" before accessing the URL anonymously then there are no errors... simply a redirect to the JIRA login screen. For me, a single wallboard PC has generated 100 MBs of exceptions in the space of 24 hours (the exceptions also appear in atlassian-greenhopper.log). Access logs entries: {noformat} xxx.xxx.xxx.xxx 443x269849x2 - [30/Aug/2014:07:23:37 +0100] "GET /rest/greenhopper/1.0/rapid/charts/scopechangeburndownchart.json?rapidViewId=13&sprintId=183&_=1409379817444 HTTP/1.1" 500 21330 35 "http://foo.bar.com/plugins/servlet/gadgets/ifr?container=atlassian&mid=15360&country=UK&lang=en&view=wallboard&st=atlassian%3A3efH767Smx14zetR5yidpibmo5EALNSM8nx%2FYjTDQXPVvnrXr3RmtJ33OSn%2BciYoiVlTOUX57B6gQy6OJDZbbXzWmUg4Q0yRqGM%2Bcofr4oHS31MkvoZbJNqM0Ho7ifbw1BxPxqTjeEFtHAR4RcB%2FVn6Bm56GO%2BdzMod0A0JSdVD846ax60usRu6%2FbsOP3PqQr84Tnx4Z0t%2B1lFO7h%2F2%2BaifF%2BEjEZMF%2Bf1w3NDFnDHomXhMUqFMVtooQqTXdifYBpPquTRkJ%2FOLs3xSeP%2FcinYIy5tk52sgGXFQtazGCIeG%2FdTBt&up_isConfigured=true&up_rapidViewId=13&up_showRapidViewName=false&up_sprintId=auto&up_showSprintName=true&up_refresh=60&url=http%3A%2F%2Ffoo.bar.com%2Frest%2Fgadgets%2F1.0%2Fg%2Fcom.pyxis.greenhopper.jira%3Agreenhopper-gadget-sprint-burndown%2Fgadgets%2Fgreenhopper-sprint-burndown.xml&libs=auth-refresh" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36" "dbhm39" xxx.xxx.xxx.xxx 443x269848x2 - [30/Aug/2014:07:23:37 +0100] "GET /rest/greenhopper/1.0/gadgets/sprints/health?rapidViewId=13&sprintId=183&_=1409379817301 HTTP/1.1" 500 21464 197 "http://foo.bar.com/plugins/servlet/gadgets/ifr?container=atlassian&mid=15370&country=UK&lang=en&view=wallboard&st=atlassian%3AX6GJ7ftluWf89Lwmk5NJXnHByZ2fgxnOOl0b%2FS5pltrBUGYsbqtVvaEYIvj9XYAl6S24miwAmdmW6LWk1lCztOzSj1gHLHm2BBnAojwdL18FHUcd2i3bj63%2B7eFCqQueIcXDrgGkn5SwATy4ERJJENKzZ8gj8Q0AAwWTjitEtoeis0wNTVemEXMLao292wkxhmtRuza%2FaaI2DffaCXs5FvUkhCs%2B418ZdrvZe9waavO3S1OOFImCBeqBnlsO5sJXModElIeIsnMl4cWAB4%2BtGFWgxrok9mpAEQsq0AflpK9KqidY&up_isConfigured=true&up_rapidViewId=13&up_showRapidViewName=true&up_sprintId=auto&up_showSprintName=true&up_showAssignees=false&up_refresh=60&url=http%3A%2F%2Ffoo.bar.com%2Frest%2Fgadgets%2F1.0%2Fg%2Fcom.pyxis.greenhopper.jira%3Agreenhopper-gadget-sprint-health%2Fgadgets%2Fgreenhopper-sprint-health.xml&libs=auth-refresh" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36" "dbhm39" {noformat} Exception from atlassian-jira.log: {noformat} 2014-08-30 07:23:37,165 http-bio-8080-exec-539 ERROR anonymous 443x269848x2 dbhm39 172.30.17.200,127.0.0.1 /rest/greenhopper/1.0/gadgets/sprints/health [atlassian.greenhopper.gadget.SprintHealthResource] Unable to complete GreenHopper REST method java.lang.IllegalArgumentException: clauseValues is empty at com.atlassian.jira.util.dbc.Assertions.not(Assertions.java:186) at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.addStringCondition(DefaultJqlClauseBuilder.java:928) at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.issue(DefaultJqlClauseBuilder.java:595) at com.atlassian.greenhopper.service.timetracking.TimeTrackingHistoryServiceImpl.getTimeTrackingHistory(TimeTrackingHistoryServiceImpl.java:44) at com.atlassian.greenhopper.web.rapid.chart.SprintBurndownModelFactory.getScopeChangeModelDataForSprint(SprintBurndownModelFactory.java:225) at com.atlassian.greenhopper.web.rapid.chart.SprintBurndownModelFactory.getScopeChangeBurndownModel(SprintBurndownModelFactory.java:140) at com.atlassian.greenhopper.web.rapid.chart.SprintBurndownModelFactory.getScopeChangeBurndownModel(SprintBurndownModelFactory.java:129) at com.atlassian.greenhopper.service.sprint.health.SprintHealthServiceImpl.collectSprintMetrics(SprintHealthServiceImpl.java:144) at com.atlassian.greenhopper.service.sprint.health.SprintHealthServiceImpl.getSprintHealth(SprintHealthServiceImpl.java:93) at com.atlassian.greenhopper.gadget.SprintHealthResource$1.call(SprintHealthResource.java:65) at com.atlassian.greenhopper.gadget.SprintHealthResource$1.call(SprintHealthResource.java:58) at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:42) at com.atlassian.greenhopper.web.AbstractResource.createResponse(AbstractResource.java:100) at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:81) at com.atlassian.greenhopper.gadget.SprintHealthResource.getSprintHealth(SprintHealthResource.java:57) <+2> (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) <+18> (DispatchProviderHelper.java:234) (DispatchProviderHelper.java:100) (DefaultMethodInvocation.java:61) (ExpandInterceptor.java:38) (DefaultMethodInvocation.java:61) (DispatchProviderHelper.java:132) (DispatchProviderHelper.java:230) (ResourceJavaMethodDispatcher.java:75) (HttpMethodRule.java:288) (ResourceClassRule.java:108) (RightHandPathRule.java:147) (RootResourceClassesRule.java:84) (WebApplicationImpl.java:1469) (WebApplicationImpl.java:1400) (WebApplicationImpl.java:1349) (WebApplicationImpl.java:1339) (WebComponent.java:416) (ServletContainer.java:537) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) <+1> (ServletContainer.java:795) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) <+16> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) (RestServletUtilsUpdaterFilter.java:26) (RestServletUtilsUpdaterFilter.java:40) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) (ContextFilter.java:25) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter(ServingRequestsFilter.java:37) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:36) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter(PrettyUrlsDispatcherFilter.java:60) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter.doFilter(PrettyUrlsSiteMeshFilter.java:92) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter.doFilter(PrettyUrlsMatcherFilter.java:56) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36) <+18> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AccessLogFilter.java:103) (AccessLogFilter.java:87) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (XsrfTokenAdditionRequestFilter.java:54) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+22> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (SecurityFilter.java:237) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (TrustedApplicationsFilter.java:100) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (BaseLoginFilter.java:172) (JiraLoginFilter.java:70) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) (OAuthFilter.java:69) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+9> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractJohnsonFilter.java:71) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) <+10> (UrlRewriteFilter.java:394) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (GzipFilter.java:88) (GzipFilter.java:59) (JiraGzipFilter.java:55) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) at com.atlassian.analytics.client.filter.JiraAnalyticsFilter.doFilter(JiraAnalyticsFilter.java:41) <+4> (AbstractHttpFilter.java:31) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:202) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:180) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85) at net.bull.javamelody.JiraMonitoringFilter.doFilter(JiraMonitoringFilter.java:104) <+41> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractCachingFilter.java:33) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractEncodingFilter.java:41) (AbstractHttpFilter.java:31) (PathMatchingEncodingFilter.java:45) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (JiraStartupChecklistFilter.java:79) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (MultipartBoundaryCheckFilter.java:41) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (JiraFirstFilter.java:60) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (StandardWrapperValve.java:220) (StandardContextValve.java:122) (AuthenticatorBase.java:501) (StandardHostValve.java:171) (ErrorReportValve.java:103) (StandardEngineValve.java:116) (AccessLogValve.java:950) (RemoteIpValve.java:683) (CoyoteAdapter.java:408) (AbstractHttp11Processor.java:1070) (AbstractProtocol.java:611) (JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat}

    Atlassian JIRA | 2 years ago | Mark Symons
    java.lang.IllegalArgumentException: clauseValues is empty
  2. 0

    When JIRA is configured to allow anonymous browsing of projects and then that "projects permission" is removed, PCs (eg devices being used for wallboards) that are continuing to attempt to access Agile gadgets and Reports will receive HTTP 500 errors, with the JIRA system log filling up with exceptions I'm guessing that this is a cookie persistence problem because the exceptions are easy to reproduce if one views (say) a burndown report and then log out and try the URL again. BUT... if you log out and then switch to a "new private window" before accessing the URL anonymously then there are no errors... simply a redirect to the JIRA login screen. For me, a single wallboard PC has generated 100 MBs of exceptions in the space of 24 hours (the exceptions also appear in atlassian-greenhopper.log). Access logs entries: {noformat} xxx.xxx.xxx.xxx 443x269849x2 - [30/Aug/2014:07:23:37 +0100] "GET /rest/greenhopper/1.0/rapid/charts/scopechangeburndownchart.json?rapidViewId=13&sprintId=183&_=1409379817444 HTTP/1.1" 500 21330 35 "http://foo.bar.com/plugins/servlet/gadgets/ifr?container=atlassian&mid=15360&country=UK&lang=en&view=wallboard&st=atlassian%3A3efH767Smx14zetR5yidpibmo5EALNSM8nx%2FYjTDQXPVvnrXr3RmtJ33OSn%2BciYoiVlTOUX57B6gQy6OJDZbbXzWmUg4Q0yRqGM%2Bcofr4oHS31MkvoZbJNqM0Ho7ifbw1BxPxqTjeEFtHAR4RcB%2FVn6Bm56GO%2BdzMod0A0JSdVD846ax60usRu6%2FbsOP3PqQr84Tnx4Z0t%2B1lFO7h%2F2%2BaifF%2BEjEZMF%2Bf1w3NDFnDHomXhMUqFMVtooQqTXdifYBpPquTRkJ%2FOLs3xSeP%2FcinYIy5tk52sgGXFQtazGCIeG%2FdTBt&up_isConfigured=true&up_rapidViewId=13&up_showRapidViewName=false&up_sprintId=auto&up_showSprintName=true&up_refresh=60&url=http%3A%2F%2Ffoo.bar.com%2Frest%2Fgadgets%2F1.0%2Fg%2Fcom.pyxis.greenhopper.jira%3Agreenhopper-gadget-sprint-burndown%2Fgadgets%2Fgreenhopper-sprint-burndown.xml&libs=auth-refresh" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36" "dbhm39" xxx.xxx.xxx.xxx 443x269848x2 - [30/Aug/2014:07:23:37 +0100] "GET /rest/greenhopper/1.0/gadgets/sprints/health?rapidViewId=13&sprintId=183&_=1409379817301 HTTP/1.1" 500 21464 197 "http://foo.bar.com/plugins/servlet/gadgets/ifr?container=atlassian&mid=15370&country=UK&lang=en&view=wallboard&st=atlassian%3AX6GJ7ftluWf89Lwmk5NJXnHByZ2fgxnOOl0b%2FS5pltrBUGYsbqtVvaEYIvj9XYAl6S24miwAmdmW6LWk1lCztOzSj1gHLHm2BBnAojwdL18FHUcd2i3bj63%2B7eFCqQueIcXDrgGkn5SwATy4ERJJENKzZ8gj8Q0AAwWTjitEtoeis0wNTVemEXMLao292wkxhmtRuza%2FaaI2DffaCXs5FvUkhCs%2B418ZdrvZe9waavO3S1OOFImCBeqBnlsO5sJXModElIeIsnMl4cWAB4%2BtGFWgxrok9mpAEQsq0AflpK9KqidY&up_isConfigured=true&up_rapidViewId=13&up_showRapidViewName=true&up_sprintId=auto&up_showSprintName=true&up_showAssignees=false&up_refresh=60&url=http%3A%2F%2Ffoo.bar.com%2Frest%2Fgadgets%2F1.0%2Fg%2Fcom.pyxis.greenhopper.jira%3Agreenhopper-gadget-sprint-health%2Fgadgets%2Fgreenhopper-sprint-health.xml&libs=auth-refresh" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36" "dbhm39" {noformat} Exception from atlassian-jira.log: {noformat} 2014-08-30 07:23:37,165 http-bio-8080-exec-539 ERROR anonymous 443x269848x2 dbhm39 172.30.17.200,127.0.0.1 /rest/greenhopper/1.0/gadgets/sprints/health [atlassian.greenhopper.gadget.SprintHealthResource] Unable to complete GreenHopper REST method java.lang.IllegalArgumentException: clauseValues is empty at com.atlassian.jira.util.dbc.Assertions.not(Assertions.java:186) at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.addStringCondition(DefaultJqlClauseBuilder.java:928) at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.issue(DefaultJqlClauseBuilder.java:595) at com.atlassian.greenhopper.service.timetracking.TimeTrackingHistoryServiceImpl.getTimeTrackingHistory(TimeTrackingHistoryServiceImpl.java:44) at com.atlassian.greenhopper.web.rapid.chart.SprintBurndownModelFactory.getScopeChangeModelDataForSprint(SprintBurndownModelFactory.java:225) at com.atlassian.greenhopper.web.rapid.chart.SprintBurndownModelFactory.getScopeChangeBurndownModel(SprintBurndownModelFactory.java:140) at com.atlassian.greenhopper.web.rapid.chart.SprintBurndownModelFactory.getScopeChangeBurndownModel(SprintBurndownModelFactory.java:129) at com.atlassian.greenhopper.service.sprint.health.SprintHealthServiceImpl.collectSprintMetrics(SprintHealthServiceImpl.java:144) at com.atlassian.greenhopper.service.sprint.health.SprintHealthServiceImpl.getSprintHealth(SprintHealthServiceImpl.java:93) at com.atlassian.greenhopper.gadget.SprintHealthResource$1.call(SprintHealthResource.java:65) at com.atlassian.greenhopper.gadget.SprintHealthResource$1.call(SprintHealthResource.java:58) at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:42) at com.atlassian.greenhopper.web.AbstractResource.createResponse(AbstractResource.java:100) at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:81) at com.atlassian.greenhopper.gadget.SprintHealthResource.getSprintHealth(SprintHealthResource.java:57) <+2> (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) <+18> (DispatchProviderHelper.java:234) (DispatchProviderHelper.java:100) (DefaultMethodInvocation.java:61) (ExpandInterceptor.java:38) (DefaultMethodInvocation.java:61) (DispatchProviderHelper.java:132) (DispatchProviderHelper.java:230) (ResourceJavaMethodDispatcher.java:75) (HttpMethodRule.java:288) (ResourceClassRule.java:108) (RightHandPathRule.java:147) (RootResourceClassesRule.java:84) (WebApplicationImpl.java:1469) (WebApplicationImpl.java:1400) (WebApplicationImpl.java:1349) (WebApplicationImpl.java:1339) (WebComponent.java:416) (ServletContainer.java:537) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) <+1> (ServletContainer.java:795) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) <+16> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) (RestServletUtilsUpdaterFilter.java:26) (RestServletUtilsUpdaterFilter.java:40) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) (ContextFilter.java:25) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter(ServingRequestsFilter.java:37) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:36) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter(PrettyUrlsDispatcherFilter.java:60) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter.doFilter(PrettyUrlsSiteMeshFilter.java:92) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter.doFilter(PrettyUrlsMatcherFilter.java:56) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36) <+18> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AccessLogFilter.java:103) (AccessLogFilter.java:87) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (XsrfTokenAdditionRequestFilter.java:54) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+22> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (SecurityFilter.java:237) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (TrustedApplicationsFilter.java:100) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (BaseLoginFilter.java:172) (JiraLoginFilter.java:70) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) (OAuthFilter.java:69) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+9> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractJohnsonFilter.java:71) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) <+10> (UrlRewriteFilter.java:394) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (GzipFilter.java:88) (GzipFilter.java:59) (JiraGzipFilter.java:55) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) at com.atlassian.analytics.client.filter.JiraAnalyticsFilter.doFilter(JiraAnalyticsFilter.java:41) <+4> (AbstractHttpFilter.java:31) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:202) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:180) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85) at net.bull.javamelody.JiraMonitoringFilter.doFilter(JiraMonitoringFilter.java:104) <+41> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractCachingFilter.java:33) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractEncodingFilter.java:41) (AbstractHttpFilter.java:31) (PathMatchingEncodingFilter.java:45) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (JiraStartupChecklistFilter.java:79) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (MultipartBoundaryCheckFilter.java:41) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (JiraFirstFilter.java:60) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (StandardWrapperValve.java:220) (StandardContextValve.java:122) (AuthenticatorBase.java:501) (StandardHostValve.java:171) (ErrorReportValve.java:103) (StandardEngineValve.java:116) (AccessLogValve.java:950) (RemoteIpValve.java:683) (CoyoteAdapter.java:408) (AbstractHttp11Processor.java:1070) (AbstractProtocol.java:611) (JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat}

    Atlassian JIRA | 2 years ago | Mark Symons
    java.lang.IllegalArgumentException: clauseValues is empty
  3. 0

    h4. Steps to reproduce # Install JIRA and Agile # Create a new project and Scrum Board (Sample Scrum Board can be used as well) # Create issues in this board # Configure the Board to use *Remaining Estimate and Time Spent* for Time Tracking (Board > Configure > Estimation) # Create Sprint 1 # Drag issues to this sprint # Create Sprint 2 # Delete Sprint 1 #* All issues in Sprint 1 will automatically be moved to Sprint 2 # Start Sprint 2 h4. Expected behavior # The Sprint starts normally h4. Actual behaviour # A red pop up message saying *clauseValue is empty* will appear # !1.png|thumbnail! # The following thrown in the logs {noformat}2015-05-04 16:39:35,223 http-bio-6421-exec-19 ERROR admin 999x1013x1 1m91zl2 127.0.0.1 /rest/greenhopper/1.0/sprint/8/start [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: clauseValues is empty java.lang.IllegalArgumentException: clauseValues is empty at com.atlassian.jira.util.dbc.Assertions.not(Assertions.java:186) at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.addStringCondition(DefaultJqlClauseBuilder.java:928) at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.issueParent(DefaultJqlClauseBuilder.java:620) at com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.getParentsWithChildren(StartSprintHelper.java:206) at com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.getIssueWithoutTrackingEstimate(StartSprintHelper.java:164) at com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.loadIssuesInSprint(StartSprintHelper.java:123) at com.atlassian.greenhopper.web.rapid.sprint.StartSprintResource$1.call(StartSprintResource.java:80) at com.atlassian.greenhopper.web.rapid.sprint.StartSprintResource$1.call(StartSprintResource.java:72) at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:42) at com.atlassian.greenhopper.web.AbstractResource.createResponse(AbstractResource.java:104) at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:85) at com.atlassian.greenhopper.web.rapid.sprint.StartSprintResource.getModel(StartSprintResource.java:71) <+3> (NativeMethodAccessorImpl.java:57) (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) <+18> (DispatchProviderHelper.java:234) (DispatchProviderHelper.java:100) (DefaultMethodInvocation.java:61) (ExpandInterceptor.java:38) (DefaultMethodInvocation.java:61) (DispatchProviderHelper.java:132) (DispatchProviderHelper.java:230) (ResourceJavaMethodDispatcher.java:75) (HttpMethodRule.java:288) (ResourceClassRule.java:108) (RightHandPathRule.java:147) (RootResourceClassesRule.java:84) (WebApplicationImpl.java:1469) (WebApplicationImpl.java:1400) (WebApplicationImpl.java:1349) (WebApplicationImpl.java:1339) (WebComponent.java:416) (ServletContainer.java:537) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) <+1> (ServletContainer.java:795) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) <+7> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.jira.tzdetect.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:40) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.jira.baseurl.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:38) <+13> (AbstractHttpFilter.java:31) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) (RestServletUtilsUpdaterFilter.java:26) (RestServletUtilsUpdaterFilter.java:40) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) (ContextFilter.java:25) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter(ServingRequestsFilter.java:37) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:36) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter(PrettyUrlsDispatcherFilter.java:60) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter.doFilter(PrettyUrlsSiteMeshFilter.java:92) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter.doFilter(PrettyUrlsMatcherFilter.java:56) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36) <+21> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AccessLogFilter.java:107) (AccessLogFilter.java:91) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (XsrfTokenAdditionRequestFilter.java:54) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (PageBuilderFilter.java:90) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (CommittedResponseHtmlErrorRecoveryFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+22> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (SecurityFilter.java:239) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (TrustedApplicationsFilter.java:100) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (BaseLoginFilter.java:172) (JiraLoginFilter.java:70) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) (OAuthFilter.java:79) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+9> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractJohnsonFilter.java:71) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) <+10> (UrlRewriteFilter.java:394) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (GzipFilter.java:82) (GzipFilter.java:59) (JiraGzipFilter.java:56) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) at com.atlassian.analytics.client.filter.JiraAnalyticsFilter.doFilter(JiraAnalyticsFilter.java:40) at com.atlassian.analytics.client.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+40> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractCachingFilter.java:33) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractEncodingFilter.java:41) (AbstractHttpFilter.java:31) (PathMatchingEncodingFilter.java:45) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (JiraStartupChecklistFilter.java:79) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (MultipartBoundaryCheckFilter.java:41) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (JiraFirstFilter.java:61) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (StandardWrapperValve.java:220) (StandardContextValve.java:122) (AuthenticatorBase.java:501) (StandardHostValve.java:171) (ErrorReportValve.java:103) (StandardEngineValve.java:116) (AccessLogValve.java:950) (CoyoteAdapter.java:408) (AbstractHttp11Processor.java:1070) (AbstractProtocol.java:611) (JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat} h4. Environment * Tested with JIRA 6.3 and Agile 6.7 h4. Workaround This only happens when issue is automatically added to a new sprint when the first sprint is deleted. The workaround would be to explicitly drag the issue to the desired sprint * Manually drag all issues from Sprint 1 to Sprint 2 *before* deleting Sprint 1 ** Sprint 1 should be empty when it is being deleted

    Atlassian JIRA | 2 years ago | Woo Yit Wei [Atlassian]
    java.lang.IllegalArgumentException: clauseValues is empty
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h4. Steps to reproduce # Install JIRA and Agile # Create a new project and Scrum Board (Sample Scrum Board can be used as well) # Create issues in this board # Configure the Board to use *Remaining Estimate and Time Spent* for Time Tracking (Board > Configure > Estimation) # Create Sprint 1 # Drag issues to this sprint # Create Sprint 2 # Delete Sprint 1 #* All issues in Sprint 1 will automatically be moved to Sprint 2 # Start Sprint 2 h4. Expected behavior # The Sprint starts normally h4. Actual behaviour # A red pop up message saying *clauseValue is empty* will appear # !1.png|thumbnail! # The following thrown in the logs {noformat}2015-05-04 16:39:35,223 http-bio-6421-exec-19 ERROR admin 999x1013x1 1m91zl2 127.0.0.1 /rest/greenhopper/1.0/sprint/8/start [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: clauseValues is empty java.lang.IllegalArgumentException: clauseValues is empty at com.atlassian.jira.util.dbc.Assertions.not(Assertions.java:186) at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.addStringCondition(DefaultJqlClauseBuilder.java:928) at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.issueParent(DefaultJqlClauseBuilder.java:620) at com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.getParentsWithChildren(StartSprintHelper.java:206) at com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.getIssueWithoutTrackingEstimate(StartSprintHelper.java:164) at com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.loadIssuesInSprint(StartSprintHelper.java:123) at com.atlassian.greenhopper.web.rapid.sprint.StartSprintResource$1.call(StartSprintResource.java:80) at com.atlassian.greenhopper.web.rapid.sprint.StartSprintResource$1.call(StartSprintResource.java:72) at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:42) at com.atlassian.greenhopper.web.AbstractResource.createResponse(AbstractResource.java:104) at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:85) at com.atlassian.greenhopper.web.rapid.sprint.StartSprintResource.getModel(StartSprintResource.java:71) <+3> (NativeMethodAccessorImpl.java:57) (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) <+18> (DispatchProviderHelper.java:234) (DispatchProviderHelper.java:100) (DefaultMethodInvocation.java:61) (ExpandInterceptor.java:38) (DefaultMethodInvocation.java:61) (DispatchProviderHelper.java:132) (DispatchProviderHelper.java:230) (ResourceJavaMethodDispatcher.java:75) (HttpMethodRule.java:288) (ResourceClassRule.java:108) (RightHandPathRule.java:147) (RootResourceClassesRule.java:84) (WebApplicationImpl.java:1469) (WebApplicationImpl.java:1400) (WebApplicationImpl.java:1349) (WebApplicationImpl.java:1339) (WebComponent.java:416) (ServletContainer.java:537) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) <+1> (ServletContainer.java:795) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) <+7> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.jira.tzdetect.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:40) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.jira.baseurl.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:38) <+13> (AbstractHttpFilter.java:31) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) (RestServletUtilsUpdaterFilter.java:26) (RestServletUtilsUpdaterFilter.java:40) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) (ContextFilter.java:25) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter(ServingRequestsFilter.java:37) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:36) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter(PrettyUrlsDispatcherFilter.java:60) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter.doFilter(PrettyUrlsSiteMeshFilter.java:92) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter.doFilter(PrettyUrlsMatcherFilter.java:56) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36) <+21> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AccessLogFilter.java:107) (AccessLogFilter.java:91) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (XsrfTokenAdditionRequestFilter.java:54) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (PageBuilderFilter.java:90) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (CommittedResponseHtmlErrorRecoveryFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+22> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (SecurityFilter.java:239) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (TrustedApplicationsFilter.java:100) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (BaseLoginFilter.java:172) (JiraLoginFilter.java:70) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) (OAuthFilter.java:79) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+9> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractJohnsonFilter.java:71) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) <+10> (UrlRewriteFilter.java:394) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (GzipFilter.java:82) (GzipFilter.java:59) (JiraGzipFilter.java:56) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) at com.atlassian.analytics.client.filter.JiraAnalyticsFilter.doFilter(JiraAnalyticsFilter.java:40) at com.atlassian.analytics.client.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+40> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractCachingFilter.java:33) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractEncodingFilter.java:41) (AbstractHttpFilter.java:31) (PathMatchingEncodingFilter.java:45) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (JiraStartupChecklistFilter.java:79) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (MultipartBoundaryCheckFilter.java:41) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (JiraFirstFilter.java:61) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (StandardWrapperValve.java:220) (StandardContextValve.java:122) (AuthenticatorBase.java:501) (StandardHostValve.java:171) (ErrorReportValve.java:103) (StandardEngineValve.java:116) (AccessLogValve.java:950) (CoyoteAdapter.java:408) (AbstractHttp11Processor.java:1070) (AbstractProtocol.java:611) (JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat} h4. Environment * Tested with JIRA 6.3 and Agile 6.7 h4. Workaround This only happens when issue is automatically added to a new sprint when the first sprint is deleted. The workaround would be to explicitly drag the issue to the desired sprint * Manually drag all issues from Sprint 1 to Sprint 2 *before* deleting Sprint 1 ** Sprint 1 should be empty when it is being deleted

    Atlassian JIRA | 2 years ago | Woo Yit Wei [Atlassian]
    java.lang.IllegalArgumentException: clauseValues is empty
  6. 0

    Steps to reproduce: # create a project "TEST" # create two versions for this project: "ParentVersion" and "ChildVersion" # create an issue and set the fixVersion to "ParentVersion" # create a sub-task on the issue from the previous step and set the fixVersion to "ChildVersion" # create a scrum board for project "TEST" # create a new sprint and add the issue created for testing to this sprintot be null" # edit the filter associated to the board to: {noformat} project= test and fixVersion = "ChildVersion" order by Rank {noformat} # go to the Report mode and select either Burndown or Velocity Report. a red pannel with the message: {noformat} Error clauseValues is empty {noformat} And the following stracktrace will be displayed on the logs: {noformat} 400000005058ac3628f7bd54 2012-09-18 13:15:24,685 TP-Processor19 ERROR sysadmin 795x32348x1 1ogmzfg 201.22.212.136,207.223.247.39 /rest/greenhopper/1.0/rapid/charts/velocity.json [web.rapid.chart.RapidChartResource] Unable to complete GreenHopper REST method @400000005058ac3628f7c524 java.lang.IllegalArgumentException: clauseValues is empty @400000005058ac3628f7c90c at com.atlassian.jira.util.dbc.Assertions.not(Assertions.java:156) @400000005058ac3628f7c90c at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.addStringCondition(DefaultJqlClauseBuilder.java:878) @400000005058ac3628fb18b4 at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.issue(DefaultJqlClauseBuilder.java:551) @400000005058ac3628fb1c9c at com.atlassian.greenhopper.web.rapid.chart.StatisticHistoryDataServiceImpl.getBaseData(StatisticHistoryDataServiceImpl.java:95) @400000005058ac3628fb2084 at com.atlassian.greenhopper.web.rapid.chart.StatisticHistoryDataServiceImpl.getStatisticHistory(StatisticHistoryDataServiceImpl.java:72) @400000005058ac3628fb2854 at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeModelData(ScopeChangeBurndownModelFactory.java:194) @400000005058ac3628fb2c3c at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeSprintReportData(ScopeChangeBurndownModelFactory.java:151) @400000005058ac3628fb4f64 at com.atlassian.greenhopper.web.rapid.chart.VelocityChartModelFactory.getVelocityChartModel(VelocityChartModelFactory.java:97) @400000005058ac3628fb534c at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource$4.call(RapidChartResource.java:158) @400000005058ac3628fb534c at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource$4.call(RapidChartResource.java:149) @400000005058ac3628fb5b1c at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48) @400000005058ac3628fb5f04 at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:48) @400000005058ac3628fb5f04 at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource.getVelocityChart(RapidChartResource.java:148) ... @400000005058ac3628fe1e24 at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) @400000005058ac3628fe25f4 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) @400000005058ac3628fe25f4 at java.lang.Thread.run(Thread.java:662) @400000005058ac3629121b54 2012-09-18 13:15:24,688 TP-Processor19 ERROR sysadmin 795x32348x1 1ogmzfg 201.22.212.136,207.223.247.39 /rest/greenhopper/1.0/rapid/charts/velocity.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service @400000005058ac3629121f3c java.lang.IllegalArgumentException: clauseValues is empty @400000005058ac3629122324 at com.atlassian.jira.util.dbc.Assertions.not(Assertions.java:156) @400000005058ac3629122324 at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.addStringCondition(DefaultJqlClauseBuilder.java:878) @400000005058ac36291232c4 at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.issue(DefaultJqlClauseBuilder.java:551) @400000005058ac36291232c4 at com.atlassian.greenhopper.web.rapid.chart.StatisticHistoryDataServiceImpl.getBaseData(StatisticHistoryDataServiceImpl.java:95) @400000005058ac36291236ac at com.atlassian.greenhopper.web.rapid.chart.StatisticHistoryDataServiceImpl.getStatisticHistory(StatisticHistoryDataServiceImpl.java:72) @400000005058ac3629123a94 at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeModelData(ScopeChangeBurndownModelFactory.java:194) @400000005058ac3629123e7c at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeSprintReportData(ScopeChangeBurndownModelFactory.java:151) @400000005058ac3629124a34 at com.atlassian.greenhopper.web.rapid.chart.VelocityChartModelFactory.getVelocityChartModel(VelocityChartModelFactory.java:97) @400000005058ac3629124a34 at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource$4.call(RapidChartResource.java:158) @400000005058ac3629124e1c at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource$4.call(RapidChartResource.java:149) @400000005058ac3629125dbc at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48) @400000005058ac3629125dbc at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:48) @400000005058ac36291261a4 at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource.getVelocityChart(RapidChartResource.java:148) ... @400000005058ac3629150184 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) @400000005058ac362915056c at java.lang.Thread.run(Thread.java:662) ... {noformat} Workaround: don't use fixVersion on the filter and move the sub-task to the same fixVersion as the parent issue.

    Atlassian JIRA | 4 years ago | Clarissa Gauterio
    java.lang.IllegalArgumentException: clauseValues is empty @400000005058ac3628f7c90c at com.atlassian.jira.util.dbc.Assertions.not(Assertions.java:156) @400000005058ac3628f7c90c at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.addStringCondition(DefaultJqlClauseBuilder.java:878) @400000005058ac3628fb18b4 at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.issue(DefaultJqlClauseBuilder.java:551) @400000005058ac3628fb1c9c at com.atlassian.greenhopper.web.rapid.chart.StatisticHistoryDataServiceImpl.getBaseData(StatisticHistoryDataServiceImpl.java:95) @400000005058ac3628fb2084 at com.atlassian.greenhopper.web.rapid.chart.StatisticHistoryDataServiceImpl.getStatisticHistory(StatisticHistoryDataServiceImpl.java:72) @400000005058ac3628fb2854 at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeModelData(ScopeChangeBurndownModelFactory.java:194) @400000005058ac3628fb2c3c at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeSprintReportData(ScopeChangeBurndownModelFactory.java:151) @400000005058ac3628fb4f64 at com.atlassian.greenhopper.web.rapid.chart.VelocityChartModelFactory.getVelocityChartModel(VelocityChartModelFactory.java:97) @400000005058ac3628fb534c at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource$4.call(RapidChartResource.java:158) @400000005058ac3628fb534c at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource$4.call(RapidChartResource.java:149) @400000005058ac3628fb5b1c at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48)

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

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      clauseValues is empty

      at com.atlassian.jira.util.dbc.Assertions.not()
    2. com.atlassian.jira
      DefaultJqlClauseBuilder.issue
      1. com.atlassian.jira.util.dbc.Assertions.not(Assertions.java:186)
      2. com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.addStringCondition(DefaultJqlClauseBuilder.java:928)
      3. com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.issue(DefaultJqlClauseBuilder.java:595)
      3 frames
    3. com.atlassian.greenhopper
      AbstractResource.response
      1. com.atlassian.greenhopper.service.timetracking.TimeTrackingHistoryServiceImpl.getTimeTrackingHistory(TimeTrackingHistoryServiceImpl.java:44)
      2. com.atlassian.greenhopper.web.rapid.chart.SprintBurndownModelFactory.getScopeChangeModelDataForSprint(SprintBurndownModelFactory.java:225)
      3. com.atlassian.greenhopper.web.rapid.chart.SprintBurndownModelFactory.getScopeChangeBurndownModel(SprintBurndownModelFactory.java:140)
      4. com.atlassian.greenhopper.web.rapid.chart.SprintBurndownModelFactory.getScopeChangeBurndownModel(SprintBurndownModelFactory.java:129)
      5. com.atlassian.greenhopper.service.sprint.health.SprintHealthServiceImpl.collectSprintMetrics(SprintHealthServiceImpl.java:144)
      6. com.atlassian.greenhopper.service.sprint.health.SprintHealthServiceImpl.getSprintHealth(SprintHealthServiceImpl.java:93)
      7. com.atlassian.greenhopper.gadget.SprintHealthResource$1.call(SprintHealthResource.java:65)
      8. com.atlassian.greenhopper.gadget.SprintHealthResource$1.call(SprintHealthResource.java:58)
      9. com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:42)
      10. com.atlassian.greenhopper.web.AbstractResource.createResponse(AbstractResource.java:100)
      11. com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:81)
      11 frames