Application ID: 6957D10C-D1E1-6803-FFB0-9FC87DC6A400
Error UID: 95EB9EA9-2753-8C1D-FFC2-3DC343E09F00
Backendless encountered an error while handling the request. An internal trouble ticket with ID bl-server:95EB9EA9-2753-8C1D-FFC2-3DC343E09F00 has been created and we will be investigating the issue.
could not execute batch
javax.persistence.PessimisticLockException: could not execute batch
at org.hibernate.internal.ExceptionConverterImpl.wrapLockException(ExceptionConverterImpl.java:273)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:108)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:188)
at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1411)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1394)
at com.backendless.datamodel.dao.AbstractEntityManager.flush(AbstractEntityManager.java:117)
at com.backendless.servercode.services.parser.impl.SaveAllServices.execute(SaveAllServices.java:112)
at com.backendless.servercode.services.parser.impl.GenericServiceParser.lambda$parse$5(GenericServiceParser.java:128)
at com.backendless.datamodel.application.dao.AppJpaTransaction.executeSync(AppJpaTransaction.java:132)
at com.backendless.datamodel.application.dao.AppJpaTransaction.executeSync(AppJpaTransaction.java:209)
at com.backendless.datamodel.application.dao.AppJpaTransaction.lambda$execute$0(AppJpaTransaction.java:46)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at com.backendless.async.BackendlessExecutorService.lambda$execute$2(BackendlessExecutorService.java:160)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Suppressed: java.util.concurrent.ExecutionException: javax.persistence.PessimisticLockException: could not execute batch
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
at com.backendless.async.AsyncUtils.safeGet(AsyncUtils.java:67)
at com.backendless.async.AsyncUtils.await(AsyncUtils.java:48)
at com.backendless.servercode.services.parser.impl.GenericServiceParser.parse(GenericServiceParser.java:127)
at com.backendless.management.servercode.service.CustomServiceManagement.par
Problem description
I get this error when trying to deploy on cloud code.