Object MendixSSO.AppRole doesnt have member System.User_TimeZone.

0
I change by default timezone from default UTC to others but when I run my app it hits this error: Starting Mendix Runtime failed. -------- com.mendix.m2ee.api.AdminException: Starting Mendix Runtime failed.     at com.mendix.basis.impl.MxRuntimeImplBase.fireZeMissiles(MxRuntimeImplBase.java:479) Caused by: com.mendix.core.CoreRuntimeException: Failed to commit     at com.mendix.basis.component.TransactionCore.doCommit(TransactionCore.scala:164) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"type":"CommitAction"}', all database changes executed by this action were rolled back     at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:108) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"type":"CommitAction"}', all database changes executed by this action were rolled back     at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:23) Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"type":"CommitAction"}', all database changes executed by this action were rolled back     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.processErrorState(CoreActionHandlerImpl.scala:153) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: Object 'MendixSSO.AppRole' doesn't have member 'System.User_TimeZone'.     at com.mendix.connectionbus.store.update.UpdateHandlerImpl.$anonfun$getGroupedMembers$7(UpdateHandler.scala:271)     at scala.Option.orElse(Option.scala:477)     at com.mendix.connectionbus.store.update.UpdateHandlerImpl.$anonfun$getGroupedMembers$2(UpdateHandler.scala:271)     at scala.collection.immutable.List.flatMap(List.scala:293)     at com.mendix.connectionbus.store.update.UpdateHandlerImpl.getGroupedMembers(UpdateHandler.scala:261)     at com.mendix.connectionbus.store.update.UpdateHandlerImpl.groupMembersInfoPerRow(UpdateHandler.scala:120)     at com.mendix.connectionbus.store.update.UpdateHandlerImpl.$anonfun$generateTables$1(UpdateHandler.scala:89)     at scala.collection.immutable.List.map(List.scala:246)     at com.mendix.connectionbus.store.update.UpdateHandlerImpl.generateTables(UpdateHandler.scala:89)     at com.mendix.connectionbus.store.EntityStorer.$anonfun$handleUpdateRequest$1(EntityStorer.scala:155)     at java.base/java.util.HashMap$EntrySet.forEach(HashMap.java:1040)     at com.mendix.connectionbus.store.EntityStorer.handleUpdateRequest(EntityStorer.scala:151)     at com.mendix.connectionbus.store.EntityStorer.handleRequest(EntityStorer.scala:108)     at com.mendix.connectionbus.store.EntityStorer.store(EntityStorer.scala:42)     at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.scala:45)     at com.mendix.connectionbus.ConnectionBusImpl.doRequest(ConnectionBusImpl.scala:485)     at com.mendix.basis.action.user.CommitAction.commit(CommitAction.scala:147)     at com.mendix.basis.action.user.CommitAction.$anonfun$commitPersistableObjects$3(CommitAction.scala:109)     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)     at scala.util.Try$.apply(Try.scala:210)     at com.mendix.basis.action.user.CommitAction.commitPersistableObjects(CommitAction.scala:109)     at com.mendix.basis.action.user.CommitAction.executeAction(CommitAction.scala:60)     at com.mendix.basis.action.user.CommitAction.executeAction(CommitAction.scala:31)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:58)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:48)     at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:56)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.$anonfun$runMonitoredAction$1(CoreActionHandlerImpl.scala:59)     at com.mendix.basis.actionmanagement.ActionMonitoring$.$anonfun$monitor$1(ActionMonitoring.scala:49)     at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)     at com.mendix.basis.actionmanagement.ActionMonitoring$.monitor(ActionMonitoring.scala:49)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.runMonitoredAction(CoreActionHandlerImpl.scala:59)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:46)     at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:56)     at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:104)     at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)     at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:103)     at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeInTransactionSync$1(ActionManager.scala:115)     at scala.util.Try$.apply(Try.scala:210)     at com.mendix.basis.actionmanagement.ActionManager.executeInTransactionSync(ActionManager.scala:115)     at com.mendix.basis.component.TransactionCore.doStore$1(TransactionCore.scala:198)     at com.mendix.basis.component.TransactionCore.storeObjectsAndAutoCommittedObjects(TransactionCore.scala:206)     at com.mendix.basis.component.TransactionCore.doCommit(TransactionCore.scala:143)     at com.mendix.basis.component.TransactionCore.commit(TransactionCore.scala:116)     at com.mendix.basis.component.TransactionCore.commit$(TransactionCore.scala:110)     at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:24)     at com.mendix.basis.component.TransactionCore.commitWithoutEvents(TransactionCore.scala:63)     at com.mendix.basis.component.TransactionCore.commitWithoutEvents(TransactionCore.scala:60)     at com.mendix.basis.component.TransactionCore.commitWithoutEvents$(TransactionCore.scala:59)     at com.mendix.basis.component.InternalCore.commitWithoutEvents(InternalCore.scala:24)     at com.mendix.basis.component.TransactionCore.commitWithoutEvents(TransactionCore.scala:57)     at com.mendix.basis.component.TransactionCore.commitWithoutEvents$(TransactionCore.scala:56)     at com.mendix.basis.component.InternalCore.commitWithoutEvents(InternalCore.scala:24)     at com.mendix.modelstorage.synchronization.Synchronization.synchronizeUsersWithoutTimeZones(Synchronization.java:95)     at com.mendix.modelstorage.synchronization.Synchronization.synchronizeObjectInstances(Synchronization.java:81)     at com.mendix.basis.impl.MxRuntimeImplBase.doFire(MxRuntimeImplBase.java:497)     at com.mendix.basis.impl.MxRuntimeImplBase.fireZeMissiles(MxRuntimeImplBase.java:476)     at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:260)     at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.scala:30)     at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.scala:17)     at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandlerBase.service(HttpAdminHandlerBase.java:128)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:529)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1383)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1305)     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)     at org.eclipse.jetty.server.Server.handle(Server.java:563)     at org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:505)     at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:762)     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:497)     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282)     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)     at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)     at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)     at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)     at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)     at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:139)     at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:933)     at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1077)     at java.base/java.lang.Thread.run(Thread.java:829)  
asked
2 answers
2

Hi Teoh Ming Sul,

                              Check for all the users which is created as given the same time zone and the user entity as not set into localized time. If you done any data manipulation with use of time attribute check it once again because the failed to commit action happens due to miss leading of data. If the issue is not solved please post where you have used the time attribute. 

answered
2

Hi Teoh Ming Sul,

                                 Check the Localize property in the entity, the Localize determine whether the date will be shown to user in their own time zone.

check the data attribute once and check the entity includes all connected entities.

answered