It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Error Message

Kristen Viscardi Mar 02, 2016

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
Answer accepted
Andrew Frayling Mar 02, 2016

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 Leader 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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

776 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you