Unable to Delete a Project due to java.lang.NullPointerException
症状
While deleting a project, the user gets a NullPointerException error. The following appears in the
atlassian-jira.log
:2012-02-09 20:55:29,616 TP-Processor2 ERROR [500ErrorPage.jsp] Exception caught in 500 page null java.lang.NullPointerException at com.atlassian.jira.security.roles.CachingProjectRoleAndActorStore$ProjectRoleActorsCache.removeByProject(CachingProjectRoleAndActorStore.java:213) at com.atlassian.jira.security.roles.CachingProjectRoleAndActorStore.removeAllRoleActorsByProject(CachingProjectRoleAndActorStore.java:137) at com.atlassian.jira.security.roles.DefaultProjectRoleManager.removeAllRoleActorsByProject(DefaultProjectRoleManager.java:200) at com.atlassian.jira.project.DefaultProjectManager.removeProject(DefaultProjectManager.java:238)
Trying to view the project results in the following:
2012-01-23 10:27:35,704 http-9443-6 ERROR [500ErrorPage.jsp] Exception caught in 500 page null java.lang.NullPointerException at com.atlassian.jira.projectconfig.contextproviders.ScreensSummaryPanelContextProvider$SimpleIssueTypeScreenScheme.<init>(ScreensSummaryPanelContextProvider.java:217) at com.atlassian.jira.projectconfig.contextproviders.ScreensSummaryPanelContextProvider.getContextMap(ScreensSummaryPanelContextProvider.java:59) at com.atlassian.jira.plugin.webfragment.CacheableContextProviderDecorator.initContextMap(CacheableContextProviderDecorator.java:70)
Trying to view any project's Screens Tab may result in the same behaviour described in Can't View Screens in Administration Project Section.
原因
The cached index files are not valid. This is tracked under - JRA-28069Getting issue details... STATUS .
ソリューション
- Jira を再起動します。
- Verify if the problem is persistant - if so, perform a full reindex of the instance and test again.
最終更新日 2022 年 8 月 30 日
Powered by Confluence and Scroll Viewport.