Forums

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

Jira Data Center 7.4.0 create issue NullPointerException

yanshuai@meituan.com April 13, 2018

hi, all, when I use jira Data Center 7.4.0 for a long time, I got the exception:

errorId=3f59fe3a-572f-4261-aa85-2c3c0f0b00aa, interpretedMsg=, cause=java.lang.NullPointerException: config, stacktrace=java.lang.NullPointerException: config
at java.util.Objects.requireNonNull(Objects.java:228) [?:1.8.0_45]
at com.atlassian.jira.issue.fields.option.CachedOptionSetManager.getOptionsForConfig(CachedOptionSetManager.java:42) [classes/:?]
at com.atlassian.jira.issue.fields.config.manager.IssueTypeSchemeManagerImpl.getIssueTypesForConfigScheme(IssueTypeSchemeManagerImpl.java:272) [classes/:?]
at com.atlassian.jira.issue.fields.config.manager.IssueTypeSchemeManagerImpl.getSubTaskIssueTypesForProject(IssueTypeSchemeManagerImpl.java:265) [classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_45]
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) [atlassian-plugins-core-4.5.0.jar:?]
at com.sun.proxy.$Proxy471.getSubTaskIssueTypesForProject(Unknown Source) [?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_45]
at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) [?:?]
at com.sun.proxy.$Proxy471.getSubTaskIssueTypesForProject(Unknown Source) [?:?]
at com.atlassian.jira.quickedit.action.QuickCreateIssue.setSelectedIssueTypeId(QuickCreateIssue.java:510) [?:?]
at com.atlassian.jira.quickedit.action.QuickCreateIssue.doDefault(QuickCreateIssue.java:195) [?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_45]

 

 

it sames that the db data has something wrong, can anybody help me to resolve the issue?

1 answer

0 votes
Dave
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 18, 2018

Hi Yanshuai,

Can you check this article - nullPointerException when creating issue editing issue move issue accessing the screen tab from the project

The stacktrace may not exactly match, but it looks like you're hitting into an issue with the Issue type Config scheme.

Follow the query in the Diagnosis section and if you do get no matching values for an optionid to an issuetype id in the issuetype table then you can follow the Resolution section for it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events