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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

667 views 4 15
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot