Unknown exception java.lang.NullPointerException: when trying to create plan from Project in Advanced Roadmap
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
要約
When trying to create a plan with Issue sources as Project, an Unknown exception java.lang.NullPointerException is received
Unknown exception
java.lang.NullPointerException: (no message)
at com.atlassian.rm.jpo.env.projects.DefaultDeepJiraProject.create:109
at com.atlassian.rm.jpo.env.projects.DeepJiraProjectTransformation.createNewInstance:29
at com.atlassian.rm.jpo.env.projects.DeepJiraProjectTransformation.createNewInstance:7
at com.atlassian.rm.jpo.env.projects.BaseJiraProjectTransformation.apply:20
at com.atlassian.rm.jpo.env.projects.BaseJiraProjectTransformation.apply:8
at com.google.common.collect.Iterators$6.transform:785
at com.google.common.collect.TransformedIterator.next:47
at com.google.common.collect.Iterators.addAll:358
at com.google.common.collect.Lists.newArrayList:147
at com.google.common.collect.Lists.newArrayList:133
at com.atlassian.rm.jpo.env.projects.JiraProjectService.getDeepProjectsById:128
at com.atlassian.rm.jpo.core.project.DefaultProjectService.getDeepProjectsById:75
at com.atlassian.rm.jpo.core.issuesource.context.DefaultIssueSourceContextService.getProjectInfosForIssueSources:61
at com.atlassian.rm.jpo.rest.service.plan.setup.projects.PlanSetupProjectsRestEndpoint.getProjects:51
at jdk.internal.reflect.GeneratedMethodAccessor10367.invoke:-1
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke:-1
at java.lang.reflect.Method.invoke:-1
環境
- Jira Software v8.20.x
診断
Based on the traces in the logs, the affected project's workflows have missed linked statuses.
原因
The code invoked when the java.lang.NullPointerException is received is trying to check the Workflow linked statuses.
ソリューション
- Verify by going to the Project Settings and check the workflow that is being used by that project, and view the workflow as text to confirm there is any missing status.
- If there are any missing statuses, please follow the steps mentioned in the Resolution part of this KB: Unable to utilize imported or restored workflow in Jira server
最終更新日 2022 年 11 月 24 日
Powered by Confluence and Scroll Viewport.