Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-36301

JIRA Integrity Check should check workflow schemes associated to projects.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • None
    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      We had an issue in which more than one workflow scheme was associated to the same project.
      Due to this issue we had the symptoms below:

      • No workflow was displayed in the Workflow screen.
      • Creating a Workflow threw an exception (UI displays error 500).

      The stack trace below could be found in the logs:

      2013-12-05 18:00:25,815 http-bio-8080-exec-6 ERROR n524601 1080x2506x1 1abcxzy 10.43.13.9 /secure/admin/workflows/ListWorkflows.jspa [webwork.util.ValueStack] query="inactiveWorkflows" {[id="inactiveWorkflows" type="8" values=""]}
      java.lang.reflect.InvocationTargetException
      	at sun.reflect.GeneratedMethodAccessor675.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
      	at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
      	at webwork.util.ValueStack.findValue(ValueStack.java:417)
      	at webwork.util.ValueStack.findValue(ValueStack.java:216)
      	...
      Caused by: java.lang.IllegalArgumentException: Passed List had more than one value.
      	at org.ofbiz.core.entity.EntityUtil.getOnly(EntityUtil.java:62)
      	at com.atlassian.jira.workflow.DefaultWorkflowSchemeManager.getWorkflowScheme(DefaultWorkflowSchemeManager.java:175)
      	at com.atlassian.jira.workflow.DefaultWorkflowSchemeManager$ActiveWorkflowCache.load(DefaultWorkflowSchemeManager.java:830)
      	at com.atlassian.jira.workflow.DefaultWorkflowSchemeManager$ActiveWorkflowCache.get(DefaultWorkflowSchemeManager.java:776)
      	at com.atlassian.jira.workflow.DefaultWorkflowSchemeManager.getActiveWorkflowNames(DefaultWorkflowSchemeManager.java:458)
      	at com.atlassian.jira.workflow.OSWorkflowManager.isActive(OSWorkflowManager.java:166)
      	at com.atlassian.jira.workflow.AbstractJiraWorkflow.isActive(AbstractJiraWorkflow.java:385)
      

      JIRA Database Integrity Check should verify if such an inconsistent state is present in the DB, and if so, advise on how to fix it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dconrad Danilo Conrad
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: