Hi,
I'm trying to migrate Jira's database from Oracle to SQL Server.
I've correctly do the migration using the XML Backup Tool, exporting the file and importing in the new instance (following the oficial documentation step by step).
I thought that the XML Backup Tool export all the information, but when the new instance was started I realized that the Insight configuration (schemas and objects) was empty.
Then I found a Export tool by Object Schema in Insight. I exported the zip for each one, but when I tried to import in the new instance, I got the same error for each zip file.
Start importing object schema and objects, object schema id: 1
[insight-InsightThreadGroup-worker-thread-8] | Unable to insert object type ObjectTypeBean [id=5895, name=Estruturas Organizacionais] will skip this object type, Error: Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657)