NullPointerException when Deleting an Issue Type

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When trying to delete an issue type, the issue type cannot be removed. The following stack trace will appear in the log:


java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.putIfAbsent(ConcurrentHashMap.java:896)
at  com.atlassian.jira.issue.fields.screen.DefaultFieldScreenSchemeManager.getFieldScreenScheme(DefaultFieldScreenSchemeManager.java:61)
at  com.atlassian.jira.issue.fields.screen.issuetype.DefaultIssueTypeScreenSchemeManager.buildIssueTypeScreenSchemeEntity(DefaultIssueTypeScreenSchemeManager.java:165)
at  com.atlassian.jira.issue.fields.screen.issuetype.MultipleIssueTypeScreenSchemeManager.getIssueTypeScreenSchemeEntities(MultipleIssueTypeScreenSchemeManager.java:39)
at  com.atlassian.jira.issue.fields.screen.issuetype.IssueTypeScreenSchemeImpl.getInternalEntities(IssueTypeScreenSchemeImpl.java:171)
at  com.atlassian.jira.issue.fields.screen.issuetype.IssueTypeScreenSchemeImpl.containsEntity(IssueTypeScreenSchemeImpl.java:153)
at com.atlassian.jira.web.action.admin.issuetypes.DeleteIssueType.doExecute(DeleteIssueType.java:172)

...

Cause

The problem is due to an issue type screen scheme associated with no issue types.

Resolution

Delete the problematic issue type screen scheme. Then it will be possible to delete issue types.


Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.