java.lang.IllegalArgumentException

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

  • Seen in JBAC's logs after the restart: {noformat} 2013-11-19 04:35:11,087 INFO [http-bio-8085-exec-49] [AccessLogFilter] mhenderson POST http://jira-bamboo.internal.atlassian.com/build/admin/ajax/reorderBuild.action 1226465kb 2013-11-19 04:35:11,089 ERROR [http-bio-8085-exec-49] [ExceptionMappingInterceptor] prevBuildResultKey and nextBuildResultKey cannot be null, either or both must be specified. java.lang.IllegalArgumentException: prevBuildResultKey and nextBuildResultKey cannot be null, either or both must be specified. at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.reorderBuildInQueue(BuildQueueManagerImpl.java:357) at com.atlassian.bamboo.ww2.actions.build.admin.ReorderBuild.doExecute(ReorderBuild.java:45) at com.atlassian.bamboo.ww2.BambooActionSupport.execute(BambooActionSupport.java:1134) at sun.reflect.GeneratedMethodAccessor701.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:167) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.validateWorkflow(BambooWorkflowInterceptor.java:53) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.access$000(BambooWorkflowInterceptor.java:16) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:33) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:29) at com.atlassian.bamboo.util.BambooProfilingUtils.withUtilTimerStack(BambooProfilingUtils.java:49) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.doIntercept(BambooWorkflowInterceptor.java:28) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) {noformat}
    via by Martin Meinhold,
  • Seen in JBAC's logs after the restart: {noformat} 2013-11-19 04:35:11,087 INFO [http-bio-8085-exec-49] [AccessLogFilter] mhenderson POST http://jira-bamboo.internal.atlassian.com/build/admin/ajax/reorderBuild.action 1226465kb 2013-11-19 04:35:11,089 ERROR [http-bio-8085-exec-49] [ExceptionMappingInterceptor] prevBuildResultKey and nextBuildResultKey cannot be null, either or both must be specified. java.lang.IllegalArgumentException: prevBuildResultKey and nextBuildResultKey cannot be null, either or both must be specified. at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.reorderBuildInQueue(BuildQueueManagerImpl.java:357) at com.atlassian.bamboo.ww2.actions.build.admin.ReorderBuild.doExecute(ReorderBuild.java:45) at com.atlassian.bamboo.ww2.BambooActionSupport.execute(BambooActionSupport.java:1134) at sun.reflect.GeneratedMethodAccessor701.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:167) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.validateWorkflow(BambooWorkflowInterceptor.java:53) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.access$000(BambooWorkflowInterceptor.java:16) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:33) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:29) at com.atlassian.bamboo.util.BambooProfilingUtils.withUtilTimerStack(BambooProfilingUtils.java:49) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.doIntercept(BambooWorkflowInterceptor.java:28) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) {noformat}
    via by Martin Meinhold,
    • java.lang.IllegalArgumentException: prevBuildResultKey and nextBuildResultKey cannot be null, either or both must be specified. at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.reorderBuildInQueue(BuildQueueManagerImpl.java:357) at com.atlassian.bamboo.ww2.actions.build.admin.ReorderBuild.doExecute(ReorderBuild.java:45) at com.atlassian.bamboo.ww2.BambooActionSupport.execute(BambooActionSupport.java:1134) at sun.reflect.GeneratedMethodAccessor701.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:167) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.validateWorkflow(BambooWorkflowInterceptor.java:53) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.access$000(BambooWorkflowInterceptor.java:16) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:33) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:29) at com.atlassian.bamboo.util.BambooProfilingUtils.withUtilTimerStack(BambooProfilingUtils.java:49) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.doIntercept(BambooWorkflowInterceptor.java:28) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
    No Bugmate found.