com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializationException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable at [Source: java.io.StringReader@525d0cab; line: 1, column: 2363] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"])

Atlassian JIRA | Steven Behnke [DiscoverEquip.com] | 1 year ago
  1. 0

    Global actions were re-introduced into JIRA in the JIRA 6.4 release. See JRA-36498 When you attempt to import this workflow into any JIRA before this, you receive the following errors: !screenshot-1.png! {noformat}/rest/workflowDesigner/latest/workflows [plugins.workflowdesigner.layout.WorkflowLayoutsImpl] Error serializing workflow layout for workflow EXS Default Workflow, draft = false com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializationException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable at [Source: java.io.StringReader@525d0cab; line: 1, column: 2363] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"]) at com.atlassian.jira.plugins.workflowdesigner.utilities.JsonSerializer.deserialize(JsonSerializer.java:37) at com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializerImpl.deserializeFromJson(LayoutSerializerImpl.java:30) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getLayout(WorkflowLayoutManagerImpl.java:108) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getExistingLayoutOrCreate(WorkflowLayoutManagerImpl.java:72) {noformat} So on and so forth. Workaround: # Download a copy of the workflow-designer for 6.4.0 [^workflow-designer-plugin-6.4-D20150109T010200.jar] # Stop your currently running JIRA. # Replace the workflow-designer plugin in {{$JIRA_INSTALL/atlassian-jira/WEB-INF/atlassian-bundled-plugins/}} (It will be named workflow-designer-plugin-6.3.xx.jar where xx is the version number) with the copy you downloaded in step 1. # Restart JIRA. (!) This has only been tested for JIRA 6.3.x (!)

    Atlassian JIRA | 1 year ago | Steven Behnke [BlackPearl PDM]
    com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializationException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable at [Source: java.io.StringReader@525d0cab; line: 1, column: 2363] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"])
  2. 0

    Global actions were re-introduced into JIRA in the JIRA 6.4 release. See JRA-36498 When you attempt to import this workflow into any JIRA before this, you receive the following errors: !screenshot-1.png! {noformat}/rest/workflowDesigner/latest/workflows [plugins.workflowdesigner.layout.WorkflowLayoutsImpl] Error serializing workflow layout for workflow EXS Default Workflow, draft = false com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializationException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable at [Source: java.io.StringReader@525d0cab; line: 1, column: 2363] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"]) at com.atlassian.jira.plugins.workflowdesigner.utilities.JsonSerializer.deserialize(JsonSerializer.java:37) at com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializerImpl.deserializeFromJson(LayoutSerializerImpl.java:30) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getLayout(WorkflowLayoutManagerImpl.java:108) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getExistingLayoutOrCreate(WorkflowLayoutManagerImpl.java:72) {noformat} So on and so forth. Workaround: # Download a copy of the workflow-designer for 6.4.0 [^workflow-designer-plugin-6.4-D20150109T010200.jar] # Stop your currently running JIRA. # Replace the workflow-designer plugin in {{$JIRA_INSTALL/atlassian-jira/WEB-INF/atlassian-bundled-plugins/}} (It will be named workflow-designer-plugin-6.3.xx.jar where xx is the version number) with the copy you downloaded in step 1. # Restart JIRA. (!) This has only been tested for JIRA 6.3.x (!)

    Atlassian JIRA | 1 year ago | Steven Behnke [DiscoverEquip.com]
    com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializationException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable at [Source: java.io.StringReader@525d0cab; line: 1, column: 2363] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"])
  3. 0

    h4. +Steps to Replicate+ # In JIRA Cloud (6.4.x), create a custom workflow in Diagram mode # Back up JIRA Cloud and import into JIRA Server # View the custom workflow created above in Diagram mode (in JIRA Server) h4. +Expected Behavior+ The workflow should be displayed properly without any error h4. +Actual Behavior+ The workflow is not displayed and the following error: "An error occurred while loading the workflow. See your system log for more information." is shown: !error.png|thumbnail! This same error is observed in a couple of places: * Project Administration -> Issue Types -> <any_issue_type> * Project Administration -> Workflows -> <view_diagram_mode> * JIRA Administration -> Issues -> Workflows -> <view_diagram_mode> * View Issue screen -> View Workflow This is thrown in the logs: {noformat:borderStyle=dashed| borderColor=#6A8EB3 |bgColor=#F8F8F8} 2014-12-18 20:00:55,933 http-bio-56312-exec-13 ERROR sysadmin 1200x656x1 udyc5v 0:0:0:0:0:0:0:1 /rest/workflowDesigner/latest/workflows [plugins.workflowdesigner.layout.WorkflowLayoutsImpl] Error serializing workflow layout for workflow E6 Full Workflow, draft = false com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializationException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable at [Source: java.io.StringReader@636a0128; line: 1, column: 4460] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"]) at com.atlassian.jira.plugins.workflowdesigner.utilities.JsonSerializer.deserialize(JsonSerializer.java:37) at com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializerImpl.deserializeFromJson(LayoutSerializerImpl.java:30) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getLayout(WorkflowLayoutManagerImpl.java:108) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getExistingLayoutOrCreate(WorkflowLayoutManagerImpl.java:72) at com.atlassian.jira.plugins.workflowdesigner.layout.WorkflowLayoutsImpl.getLayout(WorkflowLayoutsImpl.java:101) at com.atlassian.jira.plugins.workflowdesigner.rest.WorkflowsResource.getWorkflow(WorkflowsResource.java:69) <+3> (NativeMethodAccessorImpl.java:57) (DelegatingMethodAccessorImpl.java:43) ... Caused by: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable at [Source: java.io.StringReader@636a0128; line: 1, column: 4460] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"]) at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:53) at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownFieldException(StdDeserializationContext.java:267) at org.codehaus.jackson.map.deser.std.StdDeserializer.reportUnknownProperty(StdDeserializer.java:649) at org.codehaus.jackson.map.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:635) at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:717) at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580) at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2723) at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1854) at com.atlassian.jira.plugins.workflowdesigner.utilities.JsonSerializer.deserialize(JsonSerializer.java:33) ... 198 more {noformat} h3. +Workaround:+ # Download [^workflow-designer-plugin-6.4-D20141201T055222.jar] (this is the version bundled in JIRA Server 6.4-m12) # Navigate to *Administration » Add-ons » Manage Add-ons* # Click *'Upload Add-on'* # Select the downloaded file and upload it After that the workflow should be displayed correctly. {panel}(i) Apart from this, administrators can still view and edit the affected workflow in Text mode from JIRA Administration -> Issues -> Workflows{panel}

    Atlassian JIRA | 2 years ago | Andy Nguyen [Atlassian]
    com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializationException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable at [Source: java.io.StringReader@636a0128; line: 1, column: 4460] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h4. +Steps to Replicate+ # In JIRA Cloud (6.4.x), create a custom workflow in Diagram mode # Back up JIRA Cloud and import into JIRA Server # View the custom workflow created above in Diagram mode (in JIRA Server) h4. +Expected Behavior+ The workflow should be displayed properly without any error h4. +Actual Behavior+ The workflow is not displayed and the following error: "An error occurred while loading the workflow. See your system log for more information." is shown: !error.png|thumbnail! This same error is observed in a couple of places: * Project Administration -> Issue Types -> <any_issue_type> * Project Administration -> Workflows -> <view_diagram_mode> * JIRA Administration -> Issues -> Workflows -> <view_diagram_mode> * View Issue screen -> View Workflow This is thrown in the logs: {noformat:borderStyle=dashed| borderColor=#6A8EB3 |bgColor=#F8F8F8} 2014-12-18 20:00:55,933 http-bio-56312-exec-13 ERROR sysadmin 1200x656x1 udyc5v 0:0:0:0:0:0:0:1 /rest/workflowDesigner/latest/workflows [plugins.workflowdesigner.layout.WorkflowLayoutsImpl] Error serializing workflow layout for workflow E6 Full Workflow, draft = false com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializationException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable at [Source: java.io.StringReader@636a0128; line: 1, column: 4460] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"]) at com.atlassian.jira.plugins.workflowdesigner.utilities.JsonSerializer.deserialize(JsonSerializer.java:37) at com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializerImpl.deserializeFromJson(LayoutSerializerImpl.java:30) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getLayout(WorkflowLayoutManagerImpl.java:108) at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getExistingLayoutOrCreate(WorkflowLayoutManagerImpl.java:72) at com.atlassian.jira.plugins.workflowdesigner.layout.WorkflowLayoutsImpl.getLayout(WorkflowLayoutsImpl.java:101) at com.atlassian.jira.plugins.workflowdesigner.rest.WorkflowsResource.getWorkflow(WorkflowsResource.java:69) <+3> (NativeMethodAccessorImpl.java:57) (DelegatingMethodAccessorImpl.java:43) ... Caused by: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable at [Source: java.io.StringReader@636a0128; line: 1, column: 4460] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"]) at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:53) at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownFieldException(StdDeserializationContext.java:267) at org.codehaus.jackson.map.deser.std.StdDeserializer.reportUnknownProperty(StdDeserializer.java:649) at org.codehaus.jackson.map.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:635) at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:717) at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580) at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2723) at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1854) at com.atlassian.jira.plugins.workflowdesigner.utilities.JsonSerializer.deserialize(JsonSerializer.java:33) ... 198 more {noformat} h3. +Workaround:+ # Download [^workflow-designer-plugin-6.4-D20141201T055222.jar] (this is the version bundled in JIRA Server 6.4-m12) # Navigate to *Administration » Add-ons » Manage Add-ons* # Click *'Upload Add-on'* # Select the downloaded file and upload it After that the workflow should be displayed correctly. {panel}(i) Apart from this, administrators can still view and edit the affected workflow in Text mode from JIRA Administration -> Issues -> Workflows{panel}

    Atlassian JIRA | 2 years ago | Andy Nguyen [Atlassian]
    com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializationException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable at [Source: java.io.StringReader@636a0128; line: 1, column: 4460] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"])

    Root Cause Analysis

    1. com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializationException

      org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable at [Source: java.io.StringReader@525d0cab; line: 1, column: 2363] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"])

      at com.atlassian.jira.plugins.workflowdesigner.utilities.JsonSerializer.deserialize()
    2. com.atlassian.jira
      LayoutSerializerImpl.deserializeFromJson
      1. com.atlassian.jira.plugins.workflowdesigner.utilities.JsonSerializer.deserialize(JsonSerializer.java:37)
      2. com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializerImpl.deserializeFromJson(LayoutSerializerImpl.java:30)
      2 frames
    3. com.sysbliss.jira
      WorkflowLayoutManagerImpl.getExistingLayoutOrCreate
      1. com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getLayout(WorkflowLayoutManagerImpl.java:108)
      2. com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getExistingLayoutOrCreate(WorkflowLayoutManagerImpl.java:72)
      2 frames