Receiving a 500 page while trying to access a workflow in Jira
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Error 500 while trying to access workflows
Environment
8.20.11
Diagnosis
The below error can be seen in the atlassian-jira.logs -
1
atlassian-jira.log:2023-01-02 09:54:57,652+0100 http-nio-8080-exec-77 url: /secure/404.jspa ERROR [c.a.jira.workflow.OSWorkflowManager] Could not get workflow called: 'Workflow For Bug Qa Bug Question': com.opensymphony.workflow.FactoryException: Error converting XML to workflow descriptor.: root cause: Duplicate occurance of action ID 395 found in step 7
But there will be no duplicate actions in the workflow.
Check if the below errors are present in the atlassian-jira.logs -
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2023-01-02 09:54:57,641+0100 http-nio-8080-exec-77 url: /secure/admin/workflows/ViewWorkflowSteps.jspa; user: am.had ERROR am.had 594x50433193x1 1vm3oo9 83.145.94.46 /secure/admin/workflows/ViewWorkflowSteps.jspa [c.a.j.c.pico.web.RequestComponentManager] No live workflow was found for 'Workflow For Bug Qa Bug Question'.
java.lang.IllegalStateException: No live workflow was found for 'Workflow For Bug Qa Bug Question'.
at com.atlassian.jira.component.pico.web.RequestComponentManager.injectWorkflow(RequestComponentManager.java:89)
at com.atlassian.jira.component.pico.web.RequestComponentManager.getContainer(RequestComponentManager.java:53)
at com.atlassian.jira.component.pico.ComponentContainer.createRequestScopedComponent(ComponentContainer.java:536)
at com.atlassian.jira.component.pico.ComponentManager.createRequestScopedComponent(ComponentManager.java:584)
at com.atlassian.jira.component.pico.web.PicoWebworkObjectCreator.instantiate(PicoWebworkObjectCreator.java:15)
at webwork.util.injection.ObjectFactory.instantiate(ObjectFactory.java:47)
at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.instantiateAction(JiraActionFactory.java:424)
at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.getActionImpl(JiraActionFactory.java:400)
at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:109)
at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:59)
2023-01-02 09:54:57,643+0100 http-nio-8080-exec-77 url: /secure/admin/workflows/ViewWorkflowSteps.jspa; user: am.had ERROR am.had 594x50433193x1 1vm3oo9 83.145.94.46 /secure/admin/workflows/ViewWorkflowSteps.jspa [c.a.j.web.dispatcher.JiraWebworkActionDispatcher] Exception thrown from action 'ViewWorkflowSteps', returning 404
java.lang.IllegalArgumentException: Action 'com.atlassian.jira.web.action.admin.workflow.ViewWorkflowSteps' could not be instantiated - java.lang.RuntimeException: Error instantiating com.atlassian.jira.web.action.admin.workflow.ViewWorkflowSteps
at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.instantiateAction(JiraActionFactory.java:426)
at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.getActionImpl(JiraActionFactory.java:400)
at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:109)
at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:59)
at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:60)
at com.atlassian.jira.config.webwork.LookupAliasActionFactoryProxy.getActionImpl(LookupAliasActionFactoryProxy.java
Cause
The reason could be that the work directory of Jira is corrupted.
Solution
Clear the contents of the work directory and restart JIRA
Stop JIRA
Remove the contents of the JIRA Install>/work directory
ℹ️ Do not delete the entire directory itself, just the contents
Restart JIRA
Was this helpful?