Restoration fails due to Structure plugin
プラットフォームについて: Cloud と Data Center - この記事は クラウド プラットフォームとデータセンター プラットフォームの両方に等しく当てはまります。
Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
問題
Restoration fails with the following error thrown in the logs
The following appears in the atlassian-jira
.log
/secure/admin/StructureRestore.jspa [structure.web.actions.StructureRestore] structure restore operation problem
java.lang.NullPointerException: null value
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204)
at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:139)
at com.google.common.collect.ImmutableMap.of(ImmutableMap.java:85)
at com.almworks.jira.structure.services.backup.BackupXMLReader2x.resolveIssue(BackupXMLReader2x.java:126)
at com.almworks.jira.structure.services.backup.BackupXMLReader2x.access$400(BackupXMLReader2x.java:23)
at com.almworks.jira.structure.services.backup.BackupXMLReader2x$1.endElement(BackupXMLReader2x.java:90)
at com.almworks.jira.structure.services.backup.SectionReader.read(SectionReader.java:31)
at com.almworks.jira.structure.services.backup.BackupXMLReader2x.readItemForest(BackupXMLReader2x.java:111)
at com.almworks.jira.structure.services.backup.BackupXMLReader2x$2.element(BackupXMLReader2x.java:167)
at com.almworks.jira.structure.services.backup.SectionReader.read(SectionReader.java:24)
at com.almworks.jira.structure.services.backup.BackupXMLReader2x.readHistoryEntry(BackupXMLReader2x.java:220)
at com.almworks.jira.structure.services.backup.BackupXMLReader$10.element(BackupXMLReader.java:668)
at com.almworks.jira.structure.services.backup.SectionReader.read(SectionReader.java:24)診断
環境
Structure - The Issue Organizer plugin (v2.11.x - v3.3.0) installed in JIRA
原因
There's a known problem in Structure 3.3.0 that sometimes causes a NullPointerException during restore.
ソリューション
回避策
Install version 3.2.1 (appropriate for your JIRA – 3.2.1.jira6), then perform the restore / migration from Structure 2.11, then upgrade to Structure 3.3.0 (which will not involve doing the Restore)
ソリューション
Upgrade to Structure - The Issue Organizer plugin (v3.3.1)
この内容はお役に立ちましたか?