JIRA Error Message

We received this error when trying to restore a JIRA backup from an XML backup file:

 

ataimport.DefaultDataImportService] Importing data is 75% complete...

2016-03-02 19:53:19,166 JiraImportTaskExecutionThread-1 INFO amanandhar 1177x283x1 827u5w 10.111.101.214 /secure/admin/XmlRestore.jspa [jira.bc              .dataimport.DefaultDataImportService] Importing data is 76% complete...

2016-03-02 19:53:19,991 JiraImportTaskExecutionThread-1 ERROR amanandhar 1177x283x1 827u5w 10.111.101.214 /secure/admin/XmlRestore.jspa [ofbiz.              core.entity.GenericDelegator] Error getting entity definition from model

org.ofbiz.core.entity.GenericModelException: Could not find definition for entity name KPlugins

        at org.ofbiz.core.entity.model.ModelReader.getModelEntity(ModelReader.java:299)

        at org.ofbiz.core.entity.GenericDelegator.getModelEntity(GenericDelegator.java:292)

        at org.ofbiz.core.entity.GenericDelegator.makeValue(GenericDelegator.java:487)

        at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.makeValue(DefaultOfBizDelegator.java:419)

        at com.atlassian.jira.ofbiz.WrappingOfBizDelegator.makeValue(WrappingOfBizDelegator.java:231)

        at com.atlassian.jira.action.admin.OfbizImportHandler.parseValue(OfbizImportHandler.java:334)

        at com.atlassian.jira.action.admin.OfbizImportHandler.startElement(OfbizImportHandler.java:226)

        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 com.atlassian.security.xml.RestrictedXMLReader.parse(RestrictedXMLReader.java:103)

        at com.atlassian.jira.bc.dataimport.DefaultDataImportService.restoreData(DefaultDataImportService.java:953)

        at com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:761)

        at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:332)

        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:177)

        at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:148)

        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 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

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

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

2016-03-02 19:53:19,992 JiraImportTaskExecutionThread-1 ERROR amanandhar 1177x283x1 827u5w 10.111.101.214 /secure/admin/XmlRestore.jspa [jira.b              c.dataimport.DefaultDataImportService] Error importing data: java.lang.IllegalArgumentException: [GenericDelegator.makeValue] could not find en              tity for entityName: KPlugins

java.lang.IllegalArgumentException: [GenericDelegator.makeValue] could not find entity for entityName: KPlugins

        at org.ofbiz.core.entity.GenericDelegator.makeValue(GenericDelegator.java:489)

        at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.makeValue(DefaultOfBizDelegator.java:419)

        at com.atlassian.jira.ofbiz.WrappingOfBizDelegator.makeValue(WrappingOfBizDelegator.java:231)

        at com.atlassian.jira.action.admin.OfbizImportHandler.parseValue(OfbizImportHandler.java:334)

 

 

1 answer

1 accepted

Hi Kristen, it looks like you're hitting https://confluence.atlassian.com/jirakb/could-not-find-entity-for-entityname-when-restoring-a-xml-backup-into-a-jira-application-317951241.html

From the references to KPlugin I'd guess that you have a plugin installed on your source instance that you don't have on the instance you're trying to restore to.

Fr

Steven Behnke Community Champion Mar 02, 2016

Bingo. I'm pretty sure this is the kepler custom field/katl-commons add-on that is missing – I've seen it myself.

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 ...

241 views 0 11
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