Error Reference values cant be null

0
I am getting the following error in our tablet offline profile:    12:16:22APPINFOjava.lang.IllegalArgumentException: requirement failed: Reference values can't be null. 12:16:22APPINFOat scala.Predef$.require(Predef.scala:337) 12:16:22APPINFOat com.mendix.basis.objectmanagement.member.MendixObjectReferenceSetImpl.setValue(MendixObjectReferenceSetImpl.scala:87) 12:16:22APPINFOat com.mendix.basis.objectmanagement.member.MendixObjectReferenceSetImpl.setValue(MendixObjectReferenceSetImpl.scala:73) 12:16:22APPINFOat com.mendix.basis.objectmanagement.member.MendixObjectReferenceSetImpl.setValue(MendixObjectReferenceSetImpl.scala:20) 12:16:22APPINFOat com.mendix.basis.objectmanagement.MendixObjectMember.setValue(MendixObjectMember.java:31) 12:16:22APPINFOat com.mendix.basis.objectmanagement.MendixObjectImpl.setValue(MendixObjectImpl.java:248) 12:16:22APPINFOat com.mendix.basis.objectmanagement.MendixObjectImpl.setValue(MendixObjectImpl.java:237) 12:16:22APPINFOat com.mendix.basis.session.User.addUserRole(User.scala:67) 12:16:22APPINFOat com.mendix.basis.session.SessionValidator$.$anonfun$applyChangesToSessionAndUser$4(SessionValidator.scala:99) 12:16:22APPINFOat com.mendix.basis.session.SessionValidator$.$anonfun$applyChangesToSessionAndUser$4$adapted(SessionValidator.scala:99) 12:16:22APPINFOat scala.collection.immutable.List.foreach(List.scala:333) 12:16:22APPINFOat com.mendix.basis.session.SessionValidator$.$anonfun$applyChangesToSessionAndUser$3(SessionValidator.scala:99) 12:16:22APPINFOat com.mendix.basis.session.SessionValidator$.$anonfun$applyChangesToSessionAndUser$3$adapted(SessionValidator.scala:88) 12:16:22APPINFOat scala.Option.foreach(Option.scala:437) 12:16:22APPINFOat com.mendix.basis.session.SessionValidator$.com$mendix$basis$session$SessionValidator$$applyChangesToSessionAndUser(SessionValidator.scala:88) 12:16:22APPINFOat com.mendix.basis.session.SessionValidator.$anonfun$refreshSessionIfExists$1(SessionValidator.scala:63) 12:16:22APPINFOat scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.scala:17) 12:16:22APPINFOat scala.util.Try$.apply(Try.scala:210) 12:16:22APPINFOat com.mendix.basis.session.SessionValidator.refreshSessionIfExists(SessionValidator.scala:59) 12:16:22APPINFOat com.mendix.basis.session.SessionValidator.revalidate(SessionValidator.scala:47) 12:16:22APPINFOat com.mendix.basis.session.PersistentSession.revalidate(PersistentSession.scala:77) 12:16:22APPINFOat com.mendix.basis.session.SessionManager.getSessionById(SessionManager.scala:149) 12:16:22APPINFOat com.mendix.webui.requesthandling.helpers.SessionHandling.$anonfun$getSessionFromRequestUnsafe$3(SessionHandling.scala:39) 12:16:22APPINFOat scala.Option.flatMap(Option.scala:283) 12:16:22APPINFOat com.mendix.webui.requesthandling.helpers.SessionHandling.$anonfun$getSessionFromRequestUnsafe$1(SessionHandling.scala:38) 12:16:22APPINFOat scala.Option.flatMap(Option.scala:283) 12:16:22APPINFOat com.mendix.webui.requesthandling.helpers.SessionHandling.getSessionFromRequestUnsafe(SessionHandling.scala:37) 12:16:22APPINFOat com.mendix.webui.requesthandling.helpers.SessionHandling.getSessionFromRequestUnsafe$(SessionHandling.scala:35) 12:16:22APPINFOat com.mendix.webui.actions.client.offline.internal.OfflineClientAction.getSessionFromRequestUnsafe(OfflineClientAction.scala:13) 12:16:22APPINFOat com.mendix.webui.requesthandling.helpers.SessionHandling.$anonfun$getSessionFromRequestSafe$2(SessionHandling.scala:31) 12:16:22APPINFOat scala.Option.flatMap(Option.scala:283) 12:16:22APPINFOat com.mendix.webui.requesthandling.helpers.SessionHandling.getSessionFromRequestSafe(SessionHandling.scala:29) 12:16:22APPINFOat com.mendix.webui.requesthandling.helpers.SessionHandling.getSessionFromRequestSafe$(SessionHandling.scala:27) 12:16:22APPINFOat com.mendix.webui.actions.client.offline.internal.OfflineClientAction.getSessionFromRequestSafe(OfflineClientAction.scala:13) 12:16:22APPINFOat com.mendix.webui.actions.client.offline.internal.OfflineClientAction.execute(OfflineClientAction.scala:24) 12:16:22APPINFOat com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:95) 12:16:22APPINFOat com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:68) 12:16:22APPINFOat com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:37) 12:16:22APPINFOat com.mendix.external.connector.MxRuntimeConnector.$anonfun$processRequest$1(MxRuntimeConnector.scala:54) 12:16:22APPINFOat com.mendix.external.connector.MxRuntimeConnector.$anonfun$processRequest$1$adapted(MxRuntimeConnector.scala:54) 12:16:22APPINFOat com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) 12:16:22APPINFOat com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.scala:54) 12:16:22APPINFOat com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.scala:222) 12:16:22APPINFOat com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.scala:40) 12:16:22APPINFOat javax.servlet.http.HttpServlet.service(HttpServlet.java:590) 12:16:22APPINFOat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) 12:16:22APPINFOat org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665) 12:16:22APPINFOat org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:170) 12:16:22APPINFOat org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202) 12:16:22APPINFOat org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635) 12:16:22APPINFOat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527) 12:16:22APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) 12:16:22APPINFOat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570) 12:16:22APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) 12:16:22APPINFOat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1384) 12:16:22APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) 12:16:22APPINFOat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) 12:16:22APPINFOat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543) 12:16:22APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) 12:16:22APPINFOat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1306) 12:16:22APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) 12:16:22APPINFOat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) 12:16:22APPINFOat org.eclipse.jetty.server.Server.handle(Server.java:563) 12:16:22APPINFOat org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753) 12:16:22APPINFOat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501) 12:16:22APPINFOat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287) 12:16:22APPINFOat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) 12:16:22APPINFOat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) 12:16:22APPINFOat org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) 12:16:22APPINFOat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421) 12:16:22APPINFOat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390) 12:16:22APPINFOat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277) 12:16:22APPINFOat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199) 12:16:22APPINFOat org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) 12:16:22APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969) 12:16:22APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194) 12:16:22APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149) 12:16:22APPINFOat java.base/java.lang.Thread.run(Unknown Source)   It is about setting value but the value is null so not allowed, but do i read it right that it tries to add a userrole or something to an session or is this just the generic error and is it a value on a entity that is not able to be set?   I base my initial expectation mainly on these lines:   12:16:22APPINFOat com.mendix.basis.objectmanagement.MendixObjectMember.setValue(MendixObjectMember.java:31) 12:16:22APPINFOat com.mendix.basis.objectmanagement.MendixObjectImpl.setValue(MendixObjectImpl.java:248) 12:16:22APPINFOat com.mendix.basis.objectmanagement.MendixObjectImpl.setValue(MendixObjectImpl.java:237) 12:16:22APPINFOat com.mendix.basis.session.User.addUserRole(User.scala:67) If it is the session what can i do to fix this error
asked
0 answers