java.lang.IllegalArgumentException: clauseValues is empty

Atlassian JIRA | Woo Yit Wei [Atlassian] | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 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
  2. 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
  3. 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 | 5 years ago | Clarissa Gauterio [Atlassian]
    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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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 | 5 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)

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      clauseValues is empty

      at com.atlassian.jira.util.dbc.Assertions.not()
    2. com.atlassian.jira
      DefaultJqlClauseBuilder.issueParent
      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.issueParent(DefaultJqlClauseBuilder.java:620)
      3 frames
    3. com.atlassian.greenhopper
      AbstractResource.response
      1. com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.getParentsWithChildren(StartSprintHelper.java:206)
      2. com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.getIssueWithoutTrackingEstimate(StartSprintHelper.java:164)
      3. com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.loadIssuesInSprint(StartSprintHelper.java:123)
      4. com.atlassian.greenhopper.web.rapid.sprint.StartSprintResource$1.call(StartSprintResource.java:80)
      5. com.atlassian.greenhopper.web.rapid.sprint.StartSprintResource$1.call(StartSprintResource.java:72)
      6. com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:42)
      7. com.atlassian.greenhopper.web.AbstractResource.createResponse(AbstractResource.java:104)
      8. com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:85)
      8 frames