Receiving a 500 page while trying to access a workflow in Jira
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
要約
Error 500 while trying to access workflows
環境
8.20.11
診断
The below error can be seen in the atlassian-jira.logs -
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 -
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
原因
The reason could be that the work directory of Jira is corrupted.
ソリューション
Clear the contents of the work directory and restart JIRA
- Jira を停止します。
- Remove the contents of the JIRA Install>/work directory
Do not delete the entire directory itself, just the contents
- Jira を再起動します。