Support Topics Documentation Slack YouTube Blog

APP Export broken

Application ID: EEB0D956-B06D-88EE-FFB5-F17A2C993A00
Error UID: DC0CAF09-DDB0-E88F-FF16-3FA823EBA800

Backendless encountered an error while handling the request. An internal trouble ticket with ID DC0CAF09-DDB0-E88F-FF16-3FA823EBA800 has been created and we will be investigating the issue.
class com.backendless.datamodel.application.entity.table.column.UserDataTableColumnEntity cannot be cast to class com.backendless.datamodel.application.entity.table.UserDataTableRelationEntity (com.backendless.datamodel.application.entity.table.column.UserDataTableColumnEntity and com.backendless.datamodel.application.entity.table.UserDataTableRelationEntity are in unnamed module of loader 'app')
java.lang.ClassCastException: class com.backendless.datamodel.application.entity.table.column.UserDataTableColumnEntity cannot be cast to class com.backendless.datamodel.application.entity.table.UserDataTableRelationEntity (com.backendless.datamodel.application.entity.table.column.UserDataTableColumnEntity and com.backendless.datamodel.application.entity.table.UserDataTableRelationEntity are in unnamed module of loader 'app')
	at com.backendless.management.impex.manager.ExportDataManager.lambda$getUserDataTableList$9(ExportDataManager.java:219)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
	at com.backendless.management.impex.manager.ExportDataManager.lambda$getUserDataTableList$10(ExportDataManager.java:221)
	at com.backendless.datamodel.dao.JpaContext.executeAppSync(JpaContext.java:125)
	at com.backendless.datamodel.dao.JpaContext.lambda$executeApp$0(JpaContext.java:150)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
	Suppressed: java.util.concurrent.ExecutionException: java.lang.ClassCastException: class com.backendless.datamodel.application.entity.table.column.UserDataTableColumnEntity cannot be cast to class com.backendless.datamodel.application.entity.table.UserDataTableRelationEntity (com.backendless.datamodel.application.entity.table.column.UserDataTableColumnEntity and com.backendless.datamodel.application.entity.table.UserDataTableRelationEntity are in unnamed module of loader 'app')
		at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
		at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
		at com.backendless.async.UncheckedCompletableFutureImpl.getUnchecked(UncheckedCompletableFutureImpl.java:158)
		at com.backendless.management.impex.manager.ExportDataManager.getUserDataTableList(ExportDataManager.java:228)
		at com.backendless.management.impex.service.ExportService.getListOfTablesAndViews(ExportService.java:128)
		at controllers.console.migration.Export.lambda$getListOfTablesAndViews$0(Export.java:53)
		at com.backendless.async.ExecutorService.lambda$submit$0(ExecutorService.java:67)
		... 4 more

Problem description

I tried to export our app from a US instance in order to reimport it into the eu. The export doesnt work and only shows:


The system has encountered an error.
Report a problem

which lead me here.

Steps to reproduce

Please describe steps to reproduce starting from the first action.

  1. Click on Export (only broken on this app. our testing instance works fine)

Hi @Frederic_Schulz !

Sorry for inconvenience. Your problem was caused by column “gps_loc” in “trip_point” table. This columns has old Geo type. Old Geo was deprecated and removed last Autumn. I have droped this column since it doesn’t contain any values and can’t be used anymore. Now export tab should be available.
Could you please, check and confirm that it works as expected?

Regards, Andriy