No files are saved in the database and in code

Application ID: 5929D091-E023-4BFB-FF88-B04E8D669400
Error UID: 004F1544-6468-6DD9-FF56-D7B8EE231200

Backendless encountered an error while handling the request. An internal trouble ticket with ID bl-server:004F1544-6468-6DD9-FF56-D7B8EE231200 has been created and we will be investigating the issue.
Error while committing the transaction
javax.persistence.RollbackException: Error while committing the transaction
	at org.hibernate.internal.ExceptionConverterImpl.convertCommitException(ExceptionConverterImpl.java:81)
	at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104)
	at com.backendless.datamodel.dao.AbstractTransaction.commit(AbstractTransaction.java:103)
	at com.backendless.datamodel.application.dao.AppJpaTransaction.executeSync(AppJpaTransaction.java:153)
	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.RollbackException: Error while committing the transaction
		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.management.servercode.service.CustomServiceManagement.removeDeploymentModelForLang(CustomServiceManagement.java:920)
		at com.backendless.management.servercode.service.CustomServiceManagement.parseBusinessLogic(CustomServiceManagement.java:438)
		at com.backendless.management.servercode.service.CustomServiceManagement$$EnhancerByGuice$$1cee4320.GUICE$TRAMPOLINE(<generated>)
		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$InterceptedMethodInv

Problem description

Describe what you did in console that led to the error. Please provide a description of what actually happens. Be descriptive: “it doesn’t work” does not describe what the behavior actually is. This will help us with reproducing the problem.

Steps to reproduce

Please describe steps to reproduce starting from the first action.

It would be helpful to know this:

Thank you for answering.
I was just working on a service that already existed and clicked the Save and deploy button. I just added the return array.
Also, this started to happen when I just change the values in the records in the database.