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

Atlassian JIRA | Richie Gee [Atlassian] | 3 years ago
  1. 0

    [JRA-34099] Importing From OnDemand Backup Result on Error - Atlassian JIRA

    atlassian.com | 11 months ago
    java.lang.IllegalArgumentException: [GenericDelegator.makeValue] could not find entity for entityName: PluginState
  2. 0

    Importing OnDemand backup to JIRA behind the firewall ran into the following error: {noformat} 2013-07-30 20:21:33,760 JiraImportTaskExecutionThread-1 ERROR admin 1221x174x1 jmwgs9 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Error importing data: java.lang.IllegalArgumentException: [GenericDelegator.makeValue] could not find entity for entityName: PluginState java.lang.IllegalArgumentException: [GenericDelegator.makeValue] could not find entity for entityName: PluginState at org.ofbiz.core.entity.GenericDelegator.makeValue(GenericDelegator.java:430) at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.makeValue(DefaultOfBizDelegator.java:385) at com.atlassian.jira.action.admin.OfbizImportHandler.startElement(OfbizImportHandler.java:205) 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.jira.bc.dataimport.DefaultDataImportService.parseXmlAndValidateBackupData(DefaultDataImportService.java:321) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:249) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:66) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:29) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:146) 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:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) {noformat} Suspected to be caused by there is new entity introduced on the on demand version which is yet to be available on the JIRA Self Hosted. Tested using latest On Demand backup (as of current release: 30th July 2013) restoring to JIRA 6.0.5 according to the version matrix: * https://confluence.atlassian.com/display/JIRA/Migrating+from+JIRA+OnDemand+to+a+JIRA+Installed+Site *Workaround* # Extract the entities.xml from the backup's zip # Open the entities.xml and remove all PluginState tags. #* Alternatively on Linux/Unix based machine, run the following command in the same folder where the entities.xml is located: {code} egrep -v "PluginState" entities.xml > entities-clean.xml {code} # Rename the entities-clean.xml to entities.xml and zip together again with the activeobject.xml (Remember to move the previous entities.xml to another location before rename so no naming conflict) # Perform the restore again # Acknowledge the error of the index path and attachment path # Restore Complete

    Atlassian JIRA | 3 years ago | Richie Gee [Atlassian]
    java.lang.IllegalArgumentException: [GenericDelegator.makeValue] could not find entity for entityName: PluginState
  3. 0

    Importing OnDemand backup to JIRA behind the firewall ran into the following error: {noformat} 2013-07-30 20:21:33,760 JiraImportTaskExecutionThread-1 ERROR admin 1221x174x1 jmwgs9 127.0.0.1 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Error importing data: java.lang.IllegalArgumentException: [GenericDelegator.makeValue] could not find entity for entityName: PluginState java.lang.IllegalArgumentException: [GenericDelegator.makeValue] could not find entity for entityName: PluginState at org.ofbiz.core.entity.GenericDelegator.makeValue(GenericDelegator.java:430) at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.makeValue(DefaultOfBizDelegator.java:385) at com.atlassian.jira.action.admin.OfbizImportHandler.startElement(OfbizImportHandler.java:205) 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.jira.bc.dataimport.DefaultDataImportService.parseXmlAndValidateBackupData(DefaultDataImportService.java:321) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:249) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:66) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:29) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:146) 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:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) {noformat} Suspected to be caused by there is new entity introduced on the on demand version which is yet to be available on the JIRA Self Hosted. Tested using latest On Demand backup (as of current release: 30th July 2013) restoring to JIRA 6.0.5 according to the version matrix: * https://confluence.atlassian.com/display/JIRA/Migrating+from+JIRA+OnDemand+to+a+JIRA+Installed+Site *Workaround* # Extract the entities.xml from the backup's zip # Open the entities.xml and remove all PluginState tags. #* Alternatively on Linux/Unix based machine, run the following command in the same folder where the entities.xml is located: {code} egrep -v "PluginState" entities.xml > entities-clean.xml {code} # Rename the entities-clean.xml to entities.xml and zip together again with the activeobject.xml (Remember to move the previous entities.xml to another location before rename so no naming conflict) # Perform the restore again # Acknowledge the error of the index path and attachment path # Restore Complete

    Atlassian JIRA | 3 years ago | Richie Gee [Atlassian]
    java.lang.IllegalArgumentException: [GenericDelegator.makeValue] could not find entity for entityName: PluginState
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Could not find entity for entityName - when restoring a XML backup into a JIRA application - Atlassian Documentation

    atlassian.com | 5 months ago
    java.lang.IllegalArgumentException: [GenericDelegator.makeValue] could not find entity for entityName: KPlugins
  6. 0

    Could not find entity for entityName - when restoring a XML backup into a JIRA application - Atlassian Documentation

    atlassian.com | 4 months ago
    java.lang.IllegalArgumentException: [GenericDelegator.makeValue] could not find entity for entityName: LinkEntity

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      [GenericDelegator.makeValue] could not find entity for entityName: PluginState

      at org.ofbiz.core.entity.GenericDelegator.makeValue()
    2. org.ofbiz.core
      GenericDelegator.makeValue
      1. org.ofbiz.core.entity.GenericDelegator.makeValue(GenericDelegator.java:430)
      1 frame
    3. com.atlassian.jira
      OfbizImportHandler.startElement
      1. com.atlassian.jira.ofbiz.DefaultOfBizDelegator.makeValue(DefaultOfBizDelegator.java:385)
      2. com.atlassian.jira.action.admin.OfbizImportHandler.startElement(OfbizImportHandler.java:205)
      2 frames
    4. Xerces2-j
      SAXParserImpl$JAXPSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      5. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      8. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      9. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      10. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      10 frames
    5. com.atlassian.jira
      ImportTaskManagerImpl$TaskCallableDecorator.call
      1. com.atlassian.jira.bc.dataimport.DefaultDataImportService.parseXmlAndValidateBackupData(DefaultDataImportService.java:321)
      2. com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:249)
      3. com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:66)
      4. com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:29)
      5. com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:146)
      5 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      4. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      5. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      8. java.lang.Thread.run(Thread.java:662)
      8 frames