java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Richie Gee [Atlassian],
  • 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
    via by Richie Gee [Atlassian],
    • java.lang.IllegalArgumentException: [GenericDelegator.makeValue] could not find entity for entityName: LinkEntity at org.ofbiz.core.entity.GenericDelegator.makeValue(GenericDelegator.java:430) at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareMethodInterceptor.intercept(MultiTenantComponentFactoryImpl.java:230) at org.ofbiz.core.entity.GenericDelegator$$EnhancerByCGLIB$$9e98ab2.makeValue(<generated>) at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.makeValue(DefaultOfBizDelegator.java:385) at com.atlassian.jira.action.admin.OfbizImportHandler.startElement(OfbizImportHandler.java:176) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    No Bugmate found.