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

1 vote
Accepted answer

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 Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

217 views 4 1
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