java.lang.IllegalArgumentException: prevBuildResultKey and nextBuildResultKey cannot be null, either or both must be specified.

Atlassian JIRA | Martin Meinhold | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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}

    Atlassian JIRA | 3 years ago | Martin Meinhold
    java.lang.IllegalArgumentException: prevBuildResultKey and nextBuildResultKey cannot be null, either or both must be specified.
  2. 0

    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}

    Atlassian JIRA | 3 years ago | Martin Meinhold
    java.lang.IllegalArgumentException: prevBuildResultKey and nextBuildResultKey cannot be null, either or both must be specified.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      prevBuildResultKey and nextBuildResultKey cannot be null, either or both must be specified.

      at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.reorderBuildInQueue()
    2. com.atlassian.bamboo
      BambooActionSupport.execute
      1. com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.reorderBuildInQueue(BuildQueueManagerImpl.java:357)
      2. com.atlassian.bamboo.ww2.actions.build.admin.ReorderBuild.doExecute(ReorderBuild.java:45)
      3. com.atlassian.bamboo.ww2.BambooActionSupport.execute(BambooActionSupport.java:1134)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor701.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. XWork
      DefaultWorkflowInterceptor.doIntercept
      1. com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
      2. com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
      3. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)
      4. com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:167)
      4 frames
    5. com.atlassian.bamboo
      BambooWorkflowInterceptor.doIntercept
      1. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.validateWorkflow(BambooWorkflowInterceptor.java:53)
      2. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.access$000(BambooWorkflowInterceptor.java:16)
      3. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:33)
      4. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:29)
      5. com.atlassian.bamboo.util.BambooProfilingUtils.withUtilTimerStack(BambooProfilingUtils.java:49)
      6. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.doIntercept(BambooWorkflowInterceptor.java:28)
      6 frames
    6. XWork
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
      2. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
      2 frames