Dear Community:
Not sure if you have the same experience. I'm trying to export an object schema with objects and when starting the export I get the following error trace in insight_objectschema_export.log:
2022-07-18 07:20:36,543 [Thread-458] | Export objects for object type id: 29
2022-07-18 07:20:36,543 [Thread-458] | Error when exporting object schema and objects, object schema id: 1, Error: columns to write should not be empty on line 1
java.lang.IllegalArgumentException: columns to write should not be empty on line 1
at org.supercsv.io.AbstractCsvWriter.writeRow(AbstractCsvWriter.java:182)
at org.supercsv.io.AbstractCsvWriter.writeHeader(AbstractCsvWriter.java:228)
at com.riadalabs.jira.plugins.insight.services.imports.ObjectExportServiceImpl.writeHeader(ObjectExportServiceImpl.java:157)
at com.riadalabs.jira.plugins.insight.services.imports.ObjectExportServiceImpl.exportObjects(ObjectExportServiceImpl.java:130)
at com.riadalabs.jira.plugins.insight.services.imports.schema.ObjectSchemaExportServiceImpl.exportData(ObjectSchemaExportServiceImpl.java:383)
at com.riadalabs.jira.plugins.insight.services.imports.schema.ObjectSchemaExportServiceImpl.exportSchemaToServerAsync(ObjectSchemaExportServiceImpl.java:250)
at com.riadalabs.jira.plugins.insight.services.imports.schema.ObjectSchemaExportServiceImpl.lambda$exportSchemaWithObjectsToServer$0(ObjectSchemaExportServiceImpl.java:206)
at java.base/java.lang.Thread.run(Unknown Source)
2022-07-18 07:20:36,543 [Thread-458] | Insight log directory: /var/atlassian/application-data/jira/log
2022-07-18 07:20:36,548 [Thread-458] | Done exporting object schema and objects, object schema id: 1
The Insight interface shows the following error: