The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue creation throws NullPointerException error

Priyanka Bhalla
February 10, 2022

Facing multiple error:

1. Issue creation throws NullPointerException error

2. Clicking on a issue type on project setting tab gives error :   "An error occurred while loading the page"

ava.lang.NullPointerException
java.lang.NullPointerException
	at com.atlassian.jira.issue.fields.config.manager.IssueTypeSchemeManagerImpl.getIssueTypesForConfigScheme(IssueTypeSchemeManagerImpl.java:345) [classes/:?]
	at com.atlassian.jira.issue.fields.config.manager.IssueTypeSchemeManagerImpl.getSubTaskIssueTypesForProject(IssueTypeSchemeManagerImpl.java:339) [classes/:?]
	at jdk.internal.reflect.GeneratedMethodAccessor1783.invoke(Unknown Source) [?:?]
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:?]
	at java.base/java.lang.reflect.Method.invoke(Method.java:566) [?:?]


1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Tuncay Senturk _Snapbytes_
Community Champion
February 10, 2022

Hello @Priyanka Bhalla 

Did you delete any issue type or any object directly from database?

If not, have you tried reindexing Jira? There is definitely something wrong with the indices or database rows.

Priyanka Bhalla
February 11, 2022

thank you, @Tuncay Senturk _Snapbytes_  , But re-indexing did not help could you please suggest some other option

Tuncay Senturk _Snapbytes_
Community Champion
February 11, 2022

Could you run the Integrity checker?

Priyanka Bhalla
February 11, 2022

We executed integrity checker and some errors which were fixed.

but some UNFIXABLE errors due to workflow exists:

Check workflow current step entries
UNFIXABLE ERROR: The issue with key CTSTMA_BLM-2 has a status of TO DO which is not a valid status for the issues workflow. (JRA-8326)

UNFIXABLE ERROR: The issue with key CTSTMA_BLM-1 has a status of TO DO which is not a valid status for the issues workflow. (JRA-8326)

UNFIXABLE ERROR: The issue with key ACOSSGA_BLM-230 has a status of NEW which is not a valid status for the issues workflow. (JRA-8326)

UNFIXABLE ERROR: The issue with key ACOSSGA_BLM-231 has a status of NEW which is not a valid status for the issues workflow. (JRA-8326)

UNFIXABLE ERROR: The issue with key ACOSSGA_BLM-232 has a status of NEW which is not a valid status for the issues workflow. (JRA-8326)

UNFIXABLE ERROR: The issue with key ACOSSGA_BLM-233 has a status of NEW which is not a valid status for the issues workflow. (JRA-8326)

UNFIXABLE ERROR: The issue with key ACOSSGA_BLM-234 has a status of NEW which is not a valid status for the issues workflow. (JRA-8

Tuncay Senturk _Snapbytes_
Community Champion
February 11, 2022

We are very close to the solution.

It seems that the workflow was changed and these issues stayed in invalid status.

I'd suggest changing your workflow so it would support those statuses (TO DO, NEW,.. if there are more), then bulk transition all to a status which you want them to be.