Issue with project import

HI,

we face an issue with import of a project with project configurator V2.0.3-J7

 

The plu-in  error message is the following :

Import of data and attachments could not complete. See import trace below.

 

Starting data import for project with key: ISMS

WARNINGS:

There are '1' user(s) referenced that JIRA can not automatically create. You may want to create these users before performing the import.

There are '1' users that will be automatically created if the import continues.

INFO  17:41:34,456 Project Import: Parsing the backup file '/opt/atlassian/jira/temp/com.awnaba.projectconfigurator1481042474490/data/data.zip' to obtain a Backup Overview.

INFO  17:41:39,988 Project Import: Backup Overview was successfully extracted from '/opt/atlassian/jira/temp/com.awnaba.projectconfigurator1481042474490/data/data.zip'.

INFO  17:41:47,813 Project Import: Mapping the backed up data to data in the current system, and validating the mappings...

INFO  17:41:48,957 Project Import: Validation errors were found. The import cannot continue.

WARN  17:41:48,957 There are '1' user(s) referenced that JIRA can not automatically create. You may want to create these users before performing the import.

WARN  17:41:48,957 There are '1' users that will be automatically created if the import continues.

 

And on JIra system log we have :

2016-12-06 17:18:36,336 JiraTaskExectionThread-696 INFO admin_for_migration 1038x877519x2 16x9skn 10.10.168.179 /secure/ProjectDataImport.jspa [c.a.j.imports.project.DefaultProjectImportService] Project Import: Backup Overview was successfully extracted from '/opt/atlassian/jira/temp/com.awnaba.projectconfigurator1481041088989/data/data.zip'.

2016-12-06 17:18:43,670 http-bio-8443-exec-5682 ERROR      [o.a.c.c.C.[.[localhost].[/].[action]] Servlet.service() for servlet [action] in context with path [] threw exception [java.lang.NullPointerException] with root cause

java.lang.NullPointerException

        at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:210)

        at com.atlassian.jira.issue.customfields.impl.SelectCFType.validateFromParams(SelectCFType.java:172)

        at com.atlassian.jira.issue.fields.CustomFieldImpl.validateParams(CustomFieldImpl.java:741)

        at com.atlassian.jira.web.action.issue.IssueCreationHelperBeanImpl.validateCreateIssueFields(IssueCreationHelperBeanImpl.java:83)

        at com.atlassian.jira.web.action.issue.IssueCreationHelperBeanImpl.validateCreateIssueFields(IssueCreationHelperBeanImpl.java:57)

        at com.atlassian.jira.bc.issue.DefaultIssueService.validateAndCreateIssueFromFields(DefaultIssueService.java:742)

        at com.atlassian.jira.bc.issue.DefaultIssueService.validateCreate(DefaultIssueService.java:703)

        at com.atlassian.jira.bc.issue.DefaultIssueService.validateCreate(DefaultIssueService.java:184)

        ... 2 filtered

        at java.lang.reflect.Method.invoke(Method.java:498)

        at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)

        at com.sun.proxy.$Proxy557.validateCreate(Unknown Source)

        ... 2 filtered

        at java.lang.reflect.Method.invoke(Method.java:498)

        at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136)

        at com.sun.proxy.$Proxy557.validateCreate(Unknown Source)

        at com.atlassian.jira.quickedit.action.QuickCreateIssue.getValidationErrors(QuickCreateIssue.java:270)

        at com.atlassian.jira.quickedit.action.QuickCreateIssue.doExecute(QuickCreateIssue.java:300)

        ... 1 filtered

        at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63)

        ... 7 filtered

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

        ... 30 filtered

        at com.go2group.synapse.web.filter.CreateIssueFilter.doFilter(CreateIssueFilter.java:108)

        ... 23 filtered

        at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59)

        ... 50 filtered

        at com.xpandit.raven.servlet.filter.IssueLinksInterceptor.doHttpFilter(Unknown Source)

        at com.xpandit.raven.servlet.filter.AbstractServletFilter.doFilter(Unknown Source)

        ... 15 filtered

        at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70)

        ... 46 filtered

        at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:201)

        at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178)

        at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85)

        at net.bull.javamelody.JiraMonitoringFilter.doFilter(JiraMonitoringFilter.java:105)

        ... 46 filtered

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Thread.java:745)

 

BR Rebecca

2 answers

0 votes
Vasiliy Zverev Community Champion Dec 06, 2016

It seems that into JIRA instance you import to there is no 1 user and importer can not create it. 

Try to compare users betweens JIRA instances.

Hello,

Finally, we used the native import of JIRA and we found the reason:

We must increase the maximum number of characters to be entered for a single field (jira.text.field.character.limit)

beckie

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,516 views 15 20
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