Java exception while restoring the backup

I am trying to restore a backup (Jira 3.10.2) of our projects to Jira 4.4.1. We have changed the entities and added few to customize the application. While restoring process I am getting following error. Also note that the changed table or newly added table information is updated in EntityModel.xml. Please help.

Error:
2012-01-17 14:47:09,239 JiraImportTaskExecutionThread-1 INFO gururaj 886x138x1 j0l5o0 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 3% complete...
2012-01-17 14:47:11,680 JiraImportTaskExecutionThread-1 INFO gururaj 886x138x1 j0l5o0 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 4% complete...
2012-01-17 14:47:14,214 JiraImportTaskExecutionThread-1 INFO gururaj 886x138x1 j0l5o0 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 5% complete...
2012-01-17 14:47:16,499 JiraImportTaskExecutionThread-1 INFO gururaj 886x138x1 j0l5o0 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 6% complete...
2012-01-17 14:47:18,318 JiraImportTaskExecutionThread-1 INFO gururaj 886x138x1 j0l5o0 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 7% complete...
2012-01-17 14:47:20,432 JiraImportTaskExecutionThread-1 INFO gururaj 886x138x1 j0l5o0 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 8% complete...
2012-01-17 14:47:22,826 JiraImportTaskExecutionThread-1 INFO gururaj 886x138x1 j0l5o0 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 9% complete...
2012-01-17 14:47:24,583 JiraImportTaskExecutionThread-1 INFO gururaj 886x138x1 j0l5o0 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 10% complete...
2012-01-17 14:47:26,107 JiraImportTaskExecutionThread-1 INFO gururaj 886x138x1 j0l5o0 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 11% complete...
2012-01-17 14:47:26,433 JiraImportTaskExecutionThread-1 ERROR gururaj 886x138x1 j0l5o0 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.action.admin.OfbizImportHandler] Failed to set attribute 'IssueMapping.id' with value '10076'. Error: Type numeric not found
2012-01-17 14:47:26,433 JiraImportTaskExecutionThread-1 ERROR gururaj 886x138x1 j0l5o0 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Error importing data: java.lang.IllegalArgumentException: Type numeric not found
java.lang.IllegalArgumentException: Type numeric not found
at org.ofbiz.core.entity.GenericEntity.setString(GenericEntity.java:268)
at com.atlassian.jira.action.admin.OfbizImportHandler.startElement(OfbizImportHandler.java:176)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(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 org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at com.atlassian.jira.bc.dataimport.DefaultDataImportService.parseXmlAndValidateBackupData(DefaultDataImportService.java:247)
at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:195)
at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:65)
at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:28)
at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:147)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForTenant(DefaultMultiTenantManager.java:61)
at com.atlassian.multitenant.juc.MultiTenantExecutors$WrappedRunnable.run(MultiTenantExecutors.java:160)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

1 answer

1 accepted

This widget could not be displayed.

Not sure if you resolved this issue yet, if not, I would recommend checking out the below link about upgrading your instance to JIRA 4.0 There were a lot of changes made between 3.10.2 and 4.4.1 The link below covers upgrading your instance from 3.2, with extra notes at the bottom about upgrading up to 3.2 (and the same upgrade guides are there to cover 4 to 4.4.1). If you are trying to import this into OnDemand, I would recommend upgrading your local instance up to 4.4.1 before taking the export.

https://confluence.atlassian.com/display/JIRA/JIRA+4.0+Upgrade+Guide

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 11 hours ago in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

32 views 1 3
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