Clicking "Configure" on Rapid board will throw NullPointerException

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

症状

atlassian-jira.log に次のエラーが返される。

2014-10-01 16:07:58,464 ajp-bio-11016-exec-13 ERROR D441139 967x38859x1 11pgs2u 172.29.218.119 /rest/greenhopper/1.0/rapidviewconfig/editmodel.json [web.rapid.view.RapidViewEditResource] Unable to complete GreenHopper REST method java.lang.NullPointerException at com.atlassian.greenhopper.service.workflow.SimplifiedWorkflowServiceImpl.getGreenHopperSimplifiedWorkflow(SimplifiedWorkflowServiceImpl.java:185) at com.atlassian.greenhopper.web.rapid.workflow.WorkflowHelper.getGreenHopperSimplifiedWorkflow(WorkflowHelper.java:93) at com.atlassian.greenhopper.web.rapid.workflow.WorkflowHelper.isRapidViewUsingGreenHopperSimplifiedWorkflow(WorkflowHelper.java:61) ....

環境

Jira Software Server / Data Center 7.0.0 and any higher version.

原因

There are workflow schemes pointing to projects which doesn't exist, as the null pointer is thrown because of this part of the code:

if (!projects.isEmpty()) { Project p = projects.iterator().next(); if (!project.getId().equals(p.getId())) { return error(VALIDATION_FAILED, "gh.workflow.simple.workflow.error.exactly.one.project"); } }

ソリューション

⚠️Backup your database before running this Delete, as if anything goes wrong we can rollback your data to a previous working state.

  1. Jira をシャットダウンします。

  2. 以下のクエリを実行してください。

    DELETE FROM nodeassociation WHERE sink_node_entity = 'WorkflowScheme' AND source_node_id NOT IN (SELECT id FROM project);
  3. Jira の起動

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。