Forums

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

Jira Cloud Migrated to Jira Server Importing Table Failed

Jero Dungog May 20, 2019

Good day Atlassian,

I am currently in the process of migrating a client's Jira Cloud instance into a Jira Server instance.

Jira Server instance version is: 7.6.10

When I performed the backup restore as instructed on the atlassian documents I get this error:
image.png Upon checking the atlassian-grasshopper.log I found this:image.png

I also checked atlassian-jira.log and got this:
image.png

All these logs were from the new Jira Server.
Is there a specific version I need to use in-order to have everything migrated properly?
Like some schema's were changed and my current Jira Server version is not up to the changed schema?

I also did almost all the suggested work around I found here in the community to no avail.

Looking forward for your guides and tips.

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2019

Hello,

As Atlassian states in the documentation, you should migrate to the latest Jira Server version.

https://confluence.atlassian.com/adminjiracloud/migrating-from-jira-cloud-to-server-776636236.html

Jero Dungog May 22, 2019

Hello @Alexey Matveev ,

I had followed as instructed and my new server version is now:
Jira Software 8.2.0

And now I am having this: No 'key' field for Issue 26402.

image.png

I had also followed some of the answers on the community to no avail.

I would really appreciate it if your could help me out on this one.

Thank you

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 22, 2019
Jero Dungog May 28, 2019

Hello @Alexey Matveev , my other projects were imported successfully except for this.
I had just extracted the logs from the server and found this when importing that said project:


2019-05-29 02:05:30,854 JiraTaskExectionThread-6 ERROR aloe.admin 125x7028x1 13bgy5t 203.177.52.178,127.0.0.1 /secure/admin/ProjectImportSelectProject.jspa [c.a.j.imports.xml.DefaultBackupXmlParser] Unexpected import failure
java.lang.NullPointerException
at com.atlassian.greenhopper.imports.LexorankPreImportHandler.addFieldMapping(LexorankPreImportHandler.java:94)
at com.atlassian.greenhopper.imports.LexorankPreImportHandler.handleEntity(LexorankPreImportHandler.java:78)
at com.atlassian.jira.imports.project.ao.handler.ChainedAoSaxHandler.endRow(ChainedAoSaxHandler.java:289)
at com.atlassian.jira.imports.project.ao.handler.ChainedAoSaxHandler.endElement(ChainedAoSaxHandler.java:193)
at com.atlassian.jira.imports.project.ao.handler.ChainedAoSaxHandler.endElement(ChainedAoSaxHandler.java:151)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.atlassian.security.xml.RestrictedXMLReader.parse(RestrictedXMLReader.java:103)
at com.atlassian.jira.imports.xml.DefaultBackupXmlParser$XmlParser.parseXml(DefaultBackupXmlParser.java:115)
at com.atlassian.jira.imports.xml.DefaultBackupXmlParser.parse(DefaultBackupXmlParser.java:64)
at com.atlassian.jira.imports.xml.DefaultBackupXmlParser.parseXml(DefaultBackupXmlParser.java:52)
at com.atlassian.jira.imports.xml.DefaultBackupXmlParser.parseAoBackupXml(DefaultBackupXmlParser.java:46)
at com.atlassian.jira.imports.project.DefaultProjectImportManager.getAoProjectImportData(DefaultProjectImportManager.java:363)
at com.atlassian.jira.imports.project.DefaultProjectImportManager.getProjectImportData(DefaultProjectImportManager.java:257)
at com.atlassian.jira.bc.imports.project.DefaultProjectImportService.getProjectImportData(DefaultProjectImportService.java:576)
at com.atlassian.jira.web.action.admin.importer.project.ProjectImportSelectProject$MappingResultCallable.call(ProjectImportSelectProject.java:252)
at com.atlassian.jira.web.action.admin.importer.project.ProjectImportSelectProject$MappingResultCallable.call(ProjectImportSelectProject.java:233)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:481)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:443)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:216)
at java.lang.Thread.run(Thread.java:748)
2019-05-29 02:05:30,854 JiraTaskExectionThread-6 ERROR aloe.admin 125x7028x1 13bgy5t 203.177.52.178,127.0.0.1 /secure/admin/ProjectImportSelectProject.jspa [c.a.j.imports.project.DefaultProjectImportService] There was an unexpected problem processing the file '/var/atlassian/application-data/jira/import/pcf migration latest.zip' when performing a project import.

I cannot make sense of this exception as it does not give me any data at all, only that there was a NPE happening in the background.

I hope you could have a guide for me on how to resolve this issue as it is already taking too much time just to migrate this project.

The following were the things I had done:

1. Backup Jira Cloud.
2. Installed a new and latest version of Jira Server 8.2.0
3. During setup, imported projects via the generated backup file from the Jira Cloud
4. Inside my newly created JIra server instance, generate a backup for the projects.
5. Use that generated backup from Jira server to import projects in my own Prod Jira Server instance.
6. I get this error when importing specific projects.

I would really appreciate it a lot if you could help me out on this one.

Shradha Singh November 22, 2021

Hi

I am also getting same error.

Do you have any solution ?

Regards
Shradha

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events