Support Topics Documentation Slack YouTube Blog

Export error

Application ID: E27B10A2-C4B9-A5A6-FF6A-AB65CBE35A00
Error UID: 8FBA7F73-8494-9A5D-FF3B-3CF186768F00

Backendless encountered an error while handling the request. An internal trouble ticket with ID 8FBA7F73-8494-9A5D-FF3B-3CF186768F00 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:216)
	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:218)
	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:225)
		at com.backendless.management.impex.service.ExportService.getListOfTablesAndCategories(ExportService.java:124)
		at controllers.console.migration.Export.lambda$getListOfTablesAndCategories$0(Export.java:56)
		at com.backendless.async.ExecutorService.lambda$submit$0(ExecutorService.java:67)
		... 4 more

Problem description

Go to Manage->Export

Steps to reproduce

Please describe steps to reproduce starting from the first action.

Hi @Constantin_Craciunescu ,

Could you please describe how we can reproduce the error?

Regards,
Mark

Hi Marc,
I simply went to Manage->Export and the error is displayed

Thanks,
Constantin

Hi Constantin,

Thank you for reporting this error. I was able to duplicate it in your app. I opened an internal ticket for the team to investigate. For the reference purposes, the ticket number is BKNDLSS-24846
We will update this topic as soon as we figure out what causes the problem.

Regards,
Mark

1 Like

Hi @Constantin_Craciunescu !

Problem was caused by presense of old Geopoint column in one of your tables. It remained after old Geo removal and didn’t have any data in it. I have removed this column and now everything works as expected. Sorry for inconvenience.

Regards, Andriy

1 Like

Hi Andriy,
Thanks for fast reply

Constantin