java.lang.IllegalArgumentException: No status with step id -1

Atlassian JIRA | True | 3 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

    When Workflow has transitions to "The origination step" (-1), Workflow designer in 6.1 raise error {panel:bgColor=#d04437}{color:#fff}The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation.{color}{panel} In error log I see this lines: {code:xml} 2013-10-14 18:17:20,181 http-10.74.56.18-80-5 ERROR mikulov 1097x9845x1 dkq40m 10.69.4.26 /rest/workflowDesigner/latest/workflows [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service java.lang.IllegalArgumentException: No status with step id -1 at com.sysbliss.jira.plugins.workflow.util.WorkflowStatusUtils.findStatusId(WorkflowStatusUtils.java:30) at com.atlassian.jira.plugins.workflowdesigner.layout.LayoutUpdaterImpl$Updater.addedTransitions(LayoutUpdaterImpl.java:231) at com.atlassian.jira.plugins.workflowdesigner.layout.LayoutUpdaterImpl$Updater.update(LayoutUpdaterImpl.java:50) at com.atlassian.jira.plugins.workflowdesigner.layout.LayoutUpdaterImpl.updateLayoutWithDataFromWorkflow(LayoutUpdaterImpl.java:25) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.updateLayoutWithDataFromWorkflow(WorkflowLayoutManagerImpl.java:318) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.updateExistingLayout(WorkflowLayoutManagerImpl.java:303) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getNewLayoutJson(WorkflowLayoutManagerImpl.java:271) at com.atlassian.jira.plugins.workflowdesigner.rest.WorkflowsResource.getWorkflow(WorkflowsResource.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method){code}

    Atlassian JIRA | 3 years ago | True
    java.lang.IllegalArgumentException: No status with step id -1
  2. 0

    When Workflow has transitions to "The origination step" (-1), Workflow designer in 6.1 raise error {panel:bgColor=#d04437}{color:#fff}The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation.{color}{panel} In error log I see this lines: {code:xml} 2013-10-14 18:17:20,181 http-10.74.56.18-80-5 ERROR mikulov 1097x9845x1 dkq40m 10.69.4.26 /rest/workflowDesigner/latest/workflows [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service java.lang.IllegalArgumentException: No status with step id -1 at com.sysbliss.jira.plugins.workflow.util.WorkflowStatusUtils.findStatusId(WorkflowStatusUtils.java:30) at com.atlassian.jira.plugins.workflowdesigner.layout.LayoutUpdaterImpl$Updater.addedTransitions(LayoutUpdaterImpl.java:231) at com.atlassian.jira.plugins.workflowdesigner.layout.LayoutUpdaterImpl$Updater.update(LayoutUpdaterImpl.java:50) at com.atlassian.jira.plugins.workflowdesigner.layout.LayoutUpdaterImpl.updateLayoutWithDataFromWorkflow(LayoutUpdaterImpl.java:25) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.updateLayoutWithDataFromWorkflow(WorkflowLayoutManagerImpl.java:318) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.updateExistingLayout(WorkflowLayoutManagerImpl.java:303) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getNewLayoutJson(WorkflowLayoutManagerImpl.java:271) at com.atlassian.jira.plugins.workflowdesigner.rest.WorkflowsResource.getWorkflow(WorkflowsResource.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method){code}

    Atlassian JIRA | 3 years ago | True
    java.lang.IllegalArgumentException: No status with step id -1

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No status with step id -1

      at com.sysbliss.jira.plugins.workflow.util.WorkflowStatusUtils.findStatusId()
    2. com.sysbliss.jira
      WorkflowStatusUtils.findStatusId
      1. com.sysbliss.jira.plugins.workflow.util.WorkflowStatusUtils.findStatusId(WorkflowStatusUtils.java:30)
      1 frame
    3. com.atlassian.jira
      LayoutUpdaterImpl.updateLayoutWithDataFromWorkflow
      1. com.atlassian.jira.plugins.workflowdesigner.layout.LayoutUpdaterImpl$Updater.addedTransitions(LayoutUpdaterImpl.java:231)
      2. com.atlassian.jira.plugins.workflowdesigner.layout.LayoutUpdaterImpl$Updater.update(LayoutUpdaterImpl.java:50)
      3. com.atlassian.jira.plugins.workflowdesigner.layout.LayoutUpdaterImpl.updateLayoutWithDataFromWorkflow(LayoutUpdaterImpl.java:25)
      3 frames
    4. com.sysbliss.jira
      WorkflowLayoutManagerImpl.getNewLayoutJson
      1. com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.updateLayoutWithDataFromWorkflow(WorkflowLayoutManagerImpl.java:318)
      2. com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.updateExistingLayout(WorkflowLayoutManagerImpl.java:303)
      3. com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getNewLayoutJson(WorkflowLayoutManagerImpl.java:271)
      3 frames
    5. com.atlassian.jira
      WorkflowsResource.getWorkflow
      1. com.atlassian.jira.plugins.workflowdesigner.rest.WorkflowsResource.getWorkflow(WorkflowsResource.java:71)
      1 frame