Cloud code internal server error

Hello backendless staff, our app is experiencing a recent issue that stops us from deploying cloud code services. This occurred after the addition of third party libraries.

Internal Server Error

Backendless encountered an error while handling an API request.

We logged this error with ID 27BE6E26-CA63-4DD5-BE97-15A3412A2877 and will be investigating the issue.

I’ll include both the server response and error details below:

Server response:
Backendless encountered an error while handling the request. An internal trouble ticket with ID bl-server:27BE6E26-CA63-4DD5-BE97-15A3412A2877 has been created and we will be investigating the issue.
org.hibernate.exception.DataException: could not execute batch
javax.persistence.PersistenceException: org.hibernate.exception.DataException: could not execute batch
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154)
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.cloudcode.services.parser.impl.SaveAllServices.execute(SaveAllServices.java:113)
at com.backendless.cloudcode.services.parser.impl.GenericServiceParser.lambda$parse$5(GenericServiceParser.java:138)
at com.backendless.datamodel.application.dao.AppJpaTransaction.executeSync(AppJpaTransaction.java:135)
at com.backendless.datamodel.application.dao.AppJpaTransaction.executeSync(AppJpaTransaction.java:217)
at com.backendless.datamodel.application.dao.AppJpaTransaction.lambda$execute$0(AppJpaTransaction.java:49)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at com.backendless.async.BackendlessExecutorService.lambda$execute$1(BackendlessExecutorService.java:153)
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.PersistenceException: org.hibernate.exception.DataException: 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:69)
at com.backendless.async.AsyncUtils.await(AsyncUtils.java:50)
at com.backendless.cloudcode.services.parser.impl.GenericServiceParser.parse(GenericServiceParser.java:137)
at com.backendless.management.servercode.service.CustomServiceManagement.parseBusinessLogic(CustomServiceManagement.java:449)
at com.backendless.management.servercode.service.CustomServiceManagement$$EnhancerByGuice$$2012a1be.GUICE$TRAMPOLINE()
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:74)
at com.backendless.monitoring.PerformanceMonitoring.invoke(PerformanceMonitoring.java:32)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
at com.google.inject.internal.InterceptorStackCallback.invoke(InterceptorStackCallback.java:55)
at com.backendless.management.servercode.service.CustomServiceManagement$$EnhancerByGuice$$2012a1be.parseBusinessLogic()
at controllers.console.ServerCode.lambda$deployDraft$1(ServerCode.java:173)
at com.backendless.async.BackendlessExecutorService.lambda$submit$0(BackendlessExecutorService.java:82)
… 3 more
Caused by: org.hibernate.exception.DataException: could not execute batch
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:115)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:37)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)
at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:135)
at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:110)
at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:153)
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.getBatch(JdbcCoordinatorImpl.java:187)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3355)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3908)
at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:107)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604)
at org.hibernate.engine.spi.ActionQueue.lambda$executeActions$1(ActionQueue.java:478)
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:475)
at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:344)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:40)
at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107)
at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1407)
… 12 more
Caused by: java.sql.BatchUpdateException: Data truncation: Data too long for column ‘description’ at row 1
at com.mysql.cj.jdbc.exceptions.SQLError.createBatchUpdateException(SQLError.java:214)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchSerially(ClientPreparedStatement.java:882)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchInternal(ClientPreparedStatement.java:463)
at com.mysql.cj.jdbc.StatementImpl.executeBatch(StatementImpl.java:896)
at jdk.internal.reflect.GeneratedMethodAccessor629.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy$JdbcInterfaceProxy.invoke(MultiHostConnectionProxy.java:110)
at com.mysql.cj.jdbc.ha.FailoverConnectionProxy$FailoverJdbcInterfaceProxy.invoke(FailoverConnectionProxy.java:91)
at jdk.proxy2/jdk.proxy2.$Proxy330.executeBatch(Unknown Source)
at org.apache.commons.dbcp2.DelegatingStatement.executeBatch(DelegatingStatement.java:230)
at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:125)
… 26 more
Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column ‘description’ at row 1
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:96)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:987)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1165)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchSerially(ClientPreparedStatement.java:861)
… 36 more

Error details:
{
“message”: “Backendless encountered an error while handling the request. An internal trouble ticket with ID bl-server:27BE6E26-CA63-4DD5-BE97-15A3412A2877 has been created and we will be investigating the issue.\norg.hibernate.exception.DataException: could not execute batch\njavax.persistence.PersistenceException: org.hibernate.exception.DataException: could not execute batch\n\tat org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154)\n\tat org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181)\n\tat org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:188)\n\tat org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1411)\n\tat org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1394)\n\tat com.backendless.datamodel.dao.AbstractEntityManager.flush(AbstractEntityManager.java:117)\n\tat com.backendless.cloudcode.services.parser.impl.SaveAllServices.execute(SaveAllServices.java:113)\n\tat com.backendless.cloudcode.services.parser.impl.GenericServiceParser.lambda$parse$5(GenericServiceParser.java:138)\n\tat com.backendless.datamodel.application.dao.AppJpaTransaction.executeSync(AppJpaTransaction.java:135)\n\tat com.backendless.datamodel.application.dao.AppJpaTransaction.executeSync(AppJpaTransaction.java:217)\n\tat com.backendless.datamodel.application.dao.AppJpaTransaction.lambda$execute$0(AppJpaTransaction.java:49)\n\tat java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)\n\tat com.backendless.async.BackendlessExecutorService.lambda$execute$1(BackendlessExecutorService.java:153)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.base/java.lang.Thread.run(Thread.java:840)\n\tSuppressed: java.util.concurrent.ExecutionException: javax.persistence.PersistenceException: org.hibernate.exception.DataException: could not execute batch\n\t\tat java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)\n\t\tat java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)\n\t\tat com.backendless.async.AsyncUtils.safeGet(AsyncUtils.java:69)\n\t\tat com.backendless.async.AsyncUtils.await(AsyncUtils.java:50)\n\t\tat com.backendless.cloudcode.services.parser.impl.GenericServiceParser.parse(GenericServiceParser.java:137)\n\t\tat com.backendless.management.servercode.service.CustomServiceManagement.parseBusinessLogic(CustomServiceManagement.java:449)\n\t\tat com.backendless.management.servercode.service.CustomServiceManagement$$EnhancerByGuice$$2012a1be.GUICE$TRAMPOLINE()\n\t\tat com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:74)\n\t\tat com.backendless.monitoring.PerformanceMonitoring.invoke(PerformanceMonitoring.java:32)\n\t\tat com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)\n\t\tat com.google.inject.internal.InterceptorStackCallback.invoke(InterceptorStackCallback.java:55)\n\t\tat com.backendless.management.servercode.service.CustomServiceManagement$$EnhancerByGuice$$2012a1be.parseBusinessLogic()\n\t\tat controllers.console.ServerCode.lambda$deployDraft$1(ServerCode.java:173)\n\t\tat com.backendless.async.BackendlessExecutorService.lambda$submit$0(BackendlessExecutorService.java:82)\n\t\t… 3 more\nCaused by: org.hibernate.exception.DataException: could not execute batch\n\tat org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:115)\n\tat org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:37)\n\tat org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)\n\tat org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:135)\n\tat org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:110)\n\tat org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:153)\n\tat org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.getBatch(JdbcCoordinatorImpl.java:187)\n\tat org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3355)\n\tat org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3908)\n\tat org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:107)\n\tat org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604)\n\tat org.hibernate.engine.spi.ActionQueue.lambda$executeActions$1(ActionQueue.java:478)\n\tat java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)\n\tat org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:475)\n\tat org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:344)\n\tat org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:40)\n\tat org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107)\n\tat org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1407)\n\t… 12 more\nCaused by: java.sql.BatchUpdateException: Data truncation: Data too long for column ‘description’ at row 1\n\tat com.mysql.cj.jdbc.exceptions.SQLError.createBatchUpdateException(SQLError.java:214)\n\tat com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchSerially(ClientPreparedStatement.java:882)\n\tat com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchInternal(ClientPreparedStatement.java:463)\n\tat com.mysql.cj.jdbc.StatementImpl.executeBatch(StatementImpl.java:896)\n\tat jdk.internal.reflect.GeneratedMethodAccessor629.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:568)\n\tat com.mysql.cj.jdbc.ha.MultiHostConnectionProxy$JdbcInterfaceProxy.invoke(MultiHostConnectionProxy.java:110)\n\tat com.mysql.cj.jdbc.ha.FailoverConnectionProxy$FailoverJdbcInterfaceProxy.invoke(FailoverConnectionProxy.java:91)\n\tat jdk.proxy2/jdk.proxy2.$Proxy330.executeBatch(Unknown Source)\n\tat org.apache.commons.dbcp2.DelegatingStatement.executeBatch(DelegatingStatement.java:230)\n\tat org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:125)\n\t… 26 more\nCaused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column ‘description’ at row 1\n\tat com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:96)\n\tat com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:987)\n\tat com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1165)\n\tat com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchSerially(ClientPreparedStatement.java:861)\n\t… 36 more\n”,
“status”: 500,
“headers”: {
“access-control-allow-methods”: “POST, GET, OPTIONS, PUT, DELETE, PATCH”,
“access-control-allow-origin”: “https://develop.backendless.com”,
“content-length”: “7032”,
“content-type”: “text/plain; charset=UTF-8”,
“date”: “Mon, 18 Nov 2024 01:11:01 GMT”,
“server”: “nginx”,
“strict-transport-security”: “max-age=31536000; includeSubDomains; preload”,
“x-powered-by”: “Express”
},
“body”: “Backendless encountered an error while handling the request. An internal trouble ticket with ID bl-server:27BE6E26-CA63-4DD5-BE97-15A3412A2877 has been created and we will be investigating the issue.\norg.hibernate.exception.DataException: could not execute batch\njavax.persistence.PersistenceException: org.hibernate.exception.DataException: could not execute batch\n\tat org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154)\n\tat org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181)\n\tat org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:188)\n\tat org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1411)\n\tat org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1394)\n\tat com.backendless.datamodel.dao.AbstractEntityManager.flush(AbstractEntityManager.java:117)\n\tat com.backendless.cloudcode.services.parser.impl.SaveAllServices.execute(SaveAllServices.java:113)\n\tat com.backendless.cloudcode.services.parser.impl.GenericServiceParser.lambda$parse$5(GenericServiceParser.java:138)\n\tat com.backendless.datamodel.application.dao.AppJpaTransaction.executeSync(AppJpaTransaction.java:135)\n\tat com.backendless.datamodel.application.dao.AppJpaTransaction.executeSync(AppJpaTransaction.java:217)\n\tat com.backendless.datamodel.application.dao.AppJpaTransaction.lambda$execute$0(AppJpaTransaction.java:49)\n\tat java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)\n\tat com.backendless.async.BackendlessExecutorService.lambda$execute$1(BackendlessExecutorService.java:153)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.base/java.lang.Thread.run(Thread.java:840)\n\tSuppressed: java.util.concurrent.ExecutionException: javax.persistence.PersistenceException: org.hibernate.exception.DataException: could not execute batch\n\t\tat java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)\n\t\tat java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)\n\t\tat com.backendless.async.AsyncUtils.safeGet(AsyncUtils.java:69)\n\t\tat com.backendless.async.AsyncUtils.await(AsyncUtils.java:50)\n\t\tat com.backendless.cloudcode.services.parser.impl.GenericServiceParser.parse(GenericServiceParser.java:137)\n\t\tat com.backendless.management.servercode.service.CustomServiceManagement.parseBusinessLogic(CustomServiceManagement.java:449)\n\t\tat com.backendless.management.servercode.service.CustomServiceManagement$$EnhancerByGuice$$2012a1be.GUICE$TRAMPOLINE()\n\t\tat com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:74)\n\t\tat com.backendless.monitoring.PerformanceMonitoring.invoke(PerformanceMonitoring.java:32)\n\t\tat com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)\n\t\tat com.google.inject.internal.InterceptorStackCallback.invoke(InterceptorStackCallback.java:55)\n\t\tat com.backendless.management.servercode.service.CustomServiceManagement$$EnhancerByGuice$$2012a1be.parseBusinessLogic()\n\t\tat controllers.console.ServerCode.lambda$deployDraft$1(ServerCode.java:173)\n\t\tat com.backendless.async.BackendlessExecutorService.lambda$submit$0(BackendlessExecutorService.java:82)\n\t\t… 3 more\nCaused by: org.hibernate.exception.DataException: could not execute batch\n\tat org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:115)\n\tat org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:37)\n\tat org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)\n\tat org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:135)\n\tat org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:110)\n\tat org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:153)\n\tat org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.getBatch(JdbcCoordinatorImpl.java:187)\n\tat org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3355)\n\tat org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3908)\n\tat org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:107)\n\tat org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604)\n\tat org.hibernate.engine.spi.ActionQueue.lambda$executeActions$1(ActionQueue.java:478)\n\tat java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)\n\tat org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:475)\n\tat org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:344)\n\tat org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:40)\n\tat org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107)\n\tat org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1407)\n\t… 12 more\nCaused by: java.sql.BatchUpdateException: Data truncation: Data too long for column ‘description’ at row 1\n\tat com.mysql.cj.jdbc.exceptions.SQLError.createBatchUpdateException(SQLError.java:214)\n\tat com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchSerially(ClientPreparedStatement.java:882)\n\tat com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchInternal(ClientPreparedStatement.java:463)\n\tat com.mysql.cj.jdbc.StatementImpl.executeBatch(StatementImpl.java:896)\n\tat jdk.internal.reflect.GeneratedMethodAccessor629.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:568)\n\tat com.mysql.cj.jdbc.ha.MultiHostConnectionProxy$JdbcInterfaceProxy.invoke(MultiHostConnectionProxy.java:110)\n\tat com.mysql.cj.jdbc.ha.FailoverConnectionProxy$FailoverJdbcInterfaceProxy.invoke(FailoverConnectionProxy.java:91)\n\tat jdk.proxy2/jdk.proxy2.$Proxy330.executeBatch(Unknown Source)\n\tat org.apache.commons.dbcp2.DelegatingStatement.executeBatch(DelegatingStatement.java:230)\n\tat org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:125)\n\t… 26 more\nCaused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column ‘description’ at row 1\n\tat com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:96)\n\tat com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:987)\n\tat com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1165)\n\tat com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchSerially(ClientPreparedStatement.java:861)\n\t… 36 more\n”
}

Thank you,
David Zhai

Hello @David_Zhai

Please, provide us with your app id and describe the steps to reproduce this issue.

Regards

Hello Viktor,

Our application ID is 552EA923-D13D-8DAB-FFF1-BBC86963EF00, and to replicate the error all you have to do is navigate to the coding section under quick access → cloud code → coding, and attempt to “save and deploy all” (shift+ctrl+s).

Thank you,
David Zhai

Hello David,

Could you please clarify where exactly these libraries were added (Language, Model)? Additionally, do you happen to know which files were modified before this issue started to appear?

Regards,
Alexander

Hello Alexander,

The only library we added was node-x12 under our default js model. It used to work, and now it does not. Unfortunately, we do not know what file was modified before the issues began.

Thanks,
David Zhai

Hello @David_Zhai

I have an assumption that the reason is this:

We have a description length limit of 1024 characters.

Take, for example, the getDriverAvailability method in the driverVehicleAwareness service, the description:

Aggregates data to create a …

has more than 1024 characters.
To solve this problem, please reduce the length of the description of the getDriverAvailability method.
Also, please check if there are any methods with descriptions longer than 1024 characters, and if so, shorten them as well.
After that, try save and deploy all again.

Please let us know if this solved your problem.

Regards,
Volodymyr

Hello Volodymyr,

I shortened the description of the method and that fixed the issue. Thank you very much. Out of curiosity, was this information available somewhere in documentation? If so please let me know, as I would like to get more familiar.

Thank you,
David