Project configurator nullpointer exception

Hi Team,



I am trying to load configurations of a project to JIRA instance, its showing me below error:



                at com.atlassian.jira.issue.fields.option.IssueConstantOption.getId(

                at com.awnaba.projectconfigurator.jiraobjectfacades.IssueTypeSchemeToolsImpl.getIssueTypes(

                at com.awnaba.projectconfigurator.loaders.handlers.JiraProjectHandler$7.propertySetLogMessage(

                at com.awnaba.projectconfigurator.loaders.core.AbstractIntegratedHandler$2.logMessageContent(

                at com.awnaba.projectconfigurator.loaders.core.AbstractLogger.log(

                at com.awnaba.projectconfigurator.loaders.core.AbstractSmartPropertySetter.smartSet(

                at com.awnaba.projectconfigurator.loaders.core.AbstractIntegratedHandler.processOnepropertyHelper(

                at com.awnaba.projectconfigurator.loaders.core.AbstractIntegratedHandler.processPropertyActionList(

                at com.awnaba.projectconfigurator.loaders.core.AbstractIntegratedHandler.handleSubordinatesAndProperties(

                at com.awnaba.projectconfigurator.loaders.core.AbstractIntegratedHandler.modifyTarget(

                at com.awnaba.projectconfigurator.loaders.handlers.JiraProjectHandler.finishHandling(

                at com.awnaba.projectconfigurator.loaders.handlers.ProjectConfigLoader.loadOperations(

                at com.awnaba.projectconfigurator.loaders.handlers.ProjectConfigLoader.doLoad(

                at com.awnaba.projectconfigurator.operationsapi.impl.ProjectConfigImporterImpl.doImport(

                at com.awnaba.projectconfigurator.operationsapi.impl.ProjectConfigImporterImpl.access$200(

                at com.awnaba.projectconfigurator.operationsapi.impl.ProjectConfigImporterImpl$

                at com.awnaba.projectconfigurator.operationsapi.impl.ProjectConfigImporterImpl$

                at com.atlassian.jira.task.TaskManagerImpl$

                at com.atlassian.jira.task.TaskManagerImpl$


                at java.util.concurrent.Executors$


                at com.atlassian.jira.task.ForkedThreadExecutor$



I have checked its resolution on the below link:



But its not the same issue in my instance ,also in JIRA logs I don’t find any other logs related to it.


Can you please suggest what can be the issue here? I




1 answer

NOTE: This question was answered on our support email account on May 6th. I am adding a summary of its resolution here, so that it can be useful to other users that may find this same issue.

This problem arises when the importer tries to change the issue type scheme for a project. The messages in the load trace immediately before the error should be enough to identify the affected project.

This error is caused by an inconsistency in the issue type scheme that project had before the import in the target instance. The exact problem could be the one described in the JIRA KB article mentioned in the question, but in this case that was discarded by a query on the database.

The problem was solved by editing the issue type scheme for that project, then the import run without error. A new issue type scheme was assigned manually to the project. Another option could be adding a few isue types to the existing isue type scheme and removing those added issue types later.



In my case I had an issue called Defect which in PROD (where I tried to import) had been assigned an icon but in UAT (where I created the export) it had no icon.  I added the icon in UAT and re-exported and the import worked.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

185 views 4 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you