Hi,
I am currently looking to migrate and merge two cloud instances into one. For this to work i am migrating my cloud instances into server. However, i am unable to migrate my first instance into server as i keep running into this error
Error importing data: java.lang.IllegalArgumentException: [GenericEntity.setString] "textvalue" is not a field of
Any idea what is causing this and how I can get past it. Need help URGENTLY PLEASE !!!
This is actually the correct bug report for this problem: https://jira.atlassian.com/browse/JSWSERVER-16556
As the workaround on the bug report suggests, we would need to go to the source Jira Cloud instance and generate a new backup file making sure to select the "Create backup for server" option.
This is basically making Jira Cloud backups useless. I can't restore it in the cloud or server.
And creating a new backup is NOT a very good answer. In fact, it is a terrible answer as I need data that was inadvertently deleted from our Cloud Jira version.
So I took a backup about a month ago, but now way to restore it... lol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the workaround https://jira.atlassian.com/browse/JSWSERVER-16556 has desicion
Once the above XML file is generated, you can double-check the file, opening it with a text editor, and find the following line:
___ Exported for ___________________________ for : server
Finally I have two file:
Where this line can be found?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As the workaround in the bug report suggests, you would need to go to the source Cloud instance and generate a new backup, making sure to select the "Create backup for server" option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you provide full message with error?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vasiliy,
Attached are the application-JIRA. logs.
Is there anything else that you require?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vasiliy
Here is the entire error message
2018-01-16 10:35:43,138 JiraImportTaskExecutionThread-1 ERROR anonymous 634x15x1 mb8i8z 0:0:0:0:0:0:0:1 /secure/SetupImport.jspa [c.a.j.bc.dataimport.DefaultDataImportService] Error importing data: java.lang.IllegalArgumentException: [GenericEntity.setString] "textvalue" is not a field of
java.lang.IllegalArgumentException: [GenericEntity.setString] "textvalue" is not a field of
at org.ofbiz.core.entity.GenericEntity.setString(GenericEntity.java:364)
at com.atlassian.jira.bc.dataimport.OfbizImportHandler.endElement(OfbizImportHandler.java:528)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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.parseXmlAndValidateBackupData(DefaultDataImportService.java:397)
at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:297)
at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:60)
at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:28)
at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:157)
at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:133)
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems you are not the only one having this issue, while researching the very same for a customer I came across this post and this bug report:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.