Support Topics Documentation Slack YouTube Blog

Receive error, when try to update field

Application ID: C707FBDC-63C0-70CD-FF50-055D56408300
Error UID: 7D1F9C20-86CD-E810-FFFF-C0B89CF20E00

Backendless encountered an error while handling the request. An internal trouble ticket with ID 7D1F9C20-86CD-E810-FFFF-C0B89CF20E00 has been created and we will be investigating the issue.
java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
	at com.backendless.services.CheckDeveloperPermission.execute(CheckDeveloperPermission.java:38)
	at com.backendless.inject.interceptors.AbstractDeveloperOperationInterceptor.invoke(AbstractDeveloperOperationInterceptor.java:20)
	at router.Routes$$anonfun$routes$1.$anonfun$applyOrElse$416(Routes.scala:12590)
	at play.core.routing.HandlerInvokerFactory$$anon$8.resultCall(HandlerInvoker.scala:146)
	at play.core.routing.HandlerInvokerFactory$$anon$8.resultCall(HandlerInvoker.scala:145)
	at play.core.routing.HandlerInvokerFactory$JavaActionInvokerFactory$$anon$3$$anon$4$$anon$5.invocation(HandlerInvoker.scala:111)
	at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:119)
	at play.http.DefaultActionCreator$1.call(DefaultActionCreator.java:33)
	at com.backendless.old.security.ConsoleOriginAction.call(ConsoleOriginAction.java:46)
	at com.backendless.googleanalytic.ReportGoogleAnalyticsAction.call(ReportGoogleAnalyticsAction.java:43)
	at com.backendless.management.developer.DeveloperApplicationAccessAction.call(DeveloperApplicationAccessAction.java:30)
	at com.backendless.old.security.ApplicationExistenceAndUseAction.call(ApplicationExistenceAndUseAction.java:39)
	at com.backendless.management.developer.AbstractAuthenticateDeveloperAction.call(AbstractAuthenticateDeveloperAction.java:50)
	at com.backendless.InitApiKeyForConsoleAction.call(InitApiKeyForConsoleAction.java:48)
	at com.backendless.SimultaneousApiCallLimitAction.call(SimultaneousApiCallLimitAction.java:26)
	at com.backendless.StaticHttpResponseHeadersAction.call(StaticHttpResponseHeadersAction.java:22)
	at com.backendless.StackOverflowHandlerAction.call(StackOverflowHandlerAction.java:21)
	at com.backendless.CloseEntityManagerAction.call(CloseEntityManagerAction.java:36)
	at com.backendless.CurrentRequestsNumberAction.call(CurrentRequestsNumberAction.java:31)
	at play.core.j.JavaAction.$anonfun$apply$8(JavaAction.scala:175)
	at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:659)
	at scala.util.Success.$anonfun$map$1(Try.scala:255)
	at scala.util.Success.map(Try.scala:213)
	at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
	at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
	at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
	at play.core.j.HttpExecutionContext.$anonfun$execute$1(HttpExecutionContext.scala:63)
	at play.api.libs.streams.Execution$trampoline$.execute(Execution.scala:70)
	at play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:58)
	at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:72)
	at scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete(Promise.scala:372)
	at scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete$(Promise.scala:371)
	at scala.concurrent.impl.Promise$KeptPromise$Successful.onComplete(Promise.scala:379)
	at scala.concurrent.impl.Promise.transform(Promise.scala:33)
	at scala.concurrent.impl.Promise.transform$(Promise.scala:31)
	at scala.concurrent.impl.Promise$KeptPromise$Successful.transform(Promise.scala:379)
	at scala.concurrent.Future.map(Future.scala:292)
	at scala.concurrent.Future.map$(Future.scala:292)
	at scala.concurrent.impl.Promise$KeptPromise$Successful.map(Promise.scala:379)
	at scala.concurrent.Future$.apply(Future.scala:659)
	at play.core.j.JavaAction.apply(JavaAction.scala:176)
	at play.api.mvc.Action.$anonfun$apply$4(Action.scala:82)
	at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
	at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
	at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
	at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:92)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85)
	at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:92)
	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:47)
	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)
Caused by: java.lang.NullPointerException
	at com.backendless.management.persistence.RelationsManagementService.lambda$updateRelation$1(RelationsManagementService.java:124)
	at com.backendless.datamodel.dao.JpaTransaction.lambda$executeApp$3(JpaTransaction.java:199)
	at com.backendless.datamodel.dao.JpaTransaction.execute(JpaTransaction.java:235)
	at com.backendless.datamodel.dao.JpaTransaction.executeApp(JpaTransaction.java:100)
	at com.backendless.datamodel.dao.JpaTransaction.executeApp(JpaTransaction.java:198)
	at com.backendless.management.persistence.RelationsManagementService.updateRelation(RelationsManagementService.java:117)
	at com.backendless.management.persistence.DirectManagementService.updateRelationColumn(DirectManagementService.java:633)
	at com.backendless.management.persistence.DataManagementService.updateRelationColumn(DataManagementService.java:247)
	at controllers.console.DataManagement.updateDataRelationship(DataManagement.java:254)
	at com.backendless.inject.interceptors.AbstractDeveloperOperationInterceptor.lambda$invoke$0(AbstractDeveloperOperationInterceptor.java:23)
	at com.backendless.services.CheckDeveloperPermission.execute(CheckDeveloperPermission.java:27)
	... 54 more

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.

Hello @Keji_Giwa,

thank you for reproting this issue.
Please describe what you did in console that led to the error. Is this issue with specific table/column updating or with any? Is there some steps to reproduce it?

Regards,
Stanislaw

Our engineers were able to reproduce it.
We are already working of a fix.

Regards,
Stanislaw

Hello @Keji_Giwa

We made a fix. Check, please.

Also we have created internal ticket BKNDLSS-22191 to fix the issue in general

Thank you