Failed to deploy application after changing default time zone

0
Hi there, I've changed my default time zone from none to GMT+01:00 Amsterdam. My application is working fine locally but when I try to deploy it to acceptance I am getting the following error:   16:17:39 APP INFO Started Mendix Cloud Foundry Buildpack v1.5.1 16:17:39 APP WARNING SERVER_ID is deprecated, please use LICENSE_ID instead 16:17:44 APP INFO S3 config detected, activating external file store 16:17:44 APP INFO Successfully updated backup service 16:17:44 APP INFO Trying to start the MxRuntime... 16:17:48 APP INFO Logging: Logging to file: /home/vcap/app/log/out.log, max size: 1024000KiB, max rotation: 10 16:17:48 APP INFO Core: Mendix Runtime 7.6.0 (build 23466). Copyright © 2003-2017 Mendix bv. All rights reserved. 16:17:48 APP INFO StorageS3: Endpoint set to: Some(s3-eu-central-1.amazonaws.com/cf-shared-prod-1-eu-central-1) 16:17:48 APP INFO Services: Adding 0 authority certificate(s) 16:17:50 APP INFO Core: Storage service: S3 storage, bucket location: d1ad38f7-884f-4c12-8570-a44d57d7a20f 16:17:50 APP INFO Driver: PostgreSQL JDBC Driver 42.0.0 16:17:50 APP INFO ConnectionBus: Database: PostgreSQL 9.6.1, name: 'dbduvztwksw0nq6c3' 16:17:50 APP INFO Core: Project company name is 'WebFlight B.V.' 16:17:50 APP INFO Core: License type is: 'Subscription' 16:17:50 APP INFO Core: License expiration date is 'Tue Nov 14 23:00:00 UTC 2017' 16:17:51 APP INFO Caused by: com.mendix.core.CoreRuntimeException: 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 16:17:51 APP INFO at com.mendix.basis.impl.MxRuntimeImpl.fireZeeMissile(MxRuntimeImpl.java:547) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.ActionManager.executeInTransactionSync(ActionManager.java:161) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:195) 16:17:51 APP INFO 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 16:17:51 APP INFO at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:37) 16:17:51 APP INFO 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 16:17:51 APP INFO at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.processErrorState(CoreActionHandlerImpl.scala:155) 16:17:51 APP INFO Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"type":"CommitAction"}', all database changes executed by this action were rolled back 16:17:51 APP INFO at com.mendix.basis.component.InternalCore.getInternationalizedString(InternalCore.java:793) 16:17:51 APP INFO Caused by: java.lang.NullPointerException: null 16:17:51 APP INFO at com.mendix.modelstorage.i18n.I18NProcessor.getInternationalizedString(I18NProcessor.java:108) 16:17:51 APP INFO at com.mendix.basis.action.user.UniquenessChecker$$anonfun$checkUniqueness$1$1$$anonfun$apply$1$$anonfun$apply$2.apply(UniquenessChecker.scala:49) 16:17:51 APP INFO at com.mendix.basis.action.user.UniquenessChecker.getInternationalizedString(UniquenessChecker.scala:89) 16:17:51 APP INFO at com.mendix.basis.action.user.UniquenessChecker$$anonfun$checkUniqueness$1$1$$anonfun$apply$1.apply(UniquenessChecker.scala:43) 16:17:51 APP INFO at com.mendix.basis.action.user.UniquenessChecker$$anonfun$checkUniqueness$1$1$$anonfun$apply$1$$anonfun$apply$2.apply(UniquenessChecker.scala:43) 16:17:51 APP INFO at scala.Option.foreach(Option.scala:257) 16:17:51 APP INFO at scala.collection.immutable.List.foreach(List.scala:381) 16:17:51 APP INFO at com.mendix.basis.action.user.UniquenessChecker$$anonfun$checkUniqueness$1$1$$anonfun$apply$1.apply(UniquenessChecker.scala:40) 16:17:51 APP INFO at com.mendix.basis.action.user.UniquenessChecker$$anonfun$checkUniqueness$1$1.apply(UniquenessChecker.scala:40) 16:17:51 APP WARNING start failed, stopping 16:17:51 APP INFO at com.mendix.basis.action.user.UniquenessChecker$$anonfun$checkUniqueness$1$1.apply(UniquenessChecker.scala:36) 16:17:51 APP INFO at scala.collection.immutable.List.flatMap(List.scala:327) 16:17:51 APP INFO at com.mendix.basis.action.user.UniquenessChecker.checkUniqueness$1(UniquenessChecker.scala:36) 16:17:51 APP INFO at com.mendix.basis.action.user.UniquenessChecker.check(UniquenessChecker.scala:59) 16:17:51 APP INFO at com.mendix.basis.action.user.CommitAction.commitPersistableObjects(CommitAction.scala:92) 16:17:51 APP INFO at com.mendix.basis.action.user.CommitAction.executeAction(CommitAction.scala:59) 16:17:51 APP INFO at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) 16:17:51 APP INFO at com.mendix.basis.action.user.CommitAction.executeAction(CommitAction.scala:29) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:76) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) 16:17:51 APP INFO at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:51) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.DefaultActionMonitor$$anonfun$run$1.apply(CustomMonitoredAction.scala:18) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) 16:17:51 APP INFO at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.CustomMonitoredAction.monitor(CustomMonitoredAction.scala:22) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.IMonitoredAction$class.monitor(IMonitoredAction.scala:49) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.runMonitoredAction(CoreActionHandlerImpl.scala:65) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.DefaultActionMonitor$.run(CustomMonitoredAction.scala:18) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:53) 16:17:51 APP INFO at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) 16:17:51 APP INFO at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:51) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191) 16:17:51 APP INFO at com.mendix.basis.actionmanagement.ActionManager.executeInTransactionSync(ActionManager.java:154) 16:17:51 APP INFO at com.mendix.basis.component.InternalCore.commitWithoutEvents(InternalCore.java:359) 16:17:51 APP INFO at com.mendix.basis.component.InternalCore.commit(InternalCore.java:311) 16:17:51 APP INFO at com.mendix.basis.component.InternalCore.commitWithoutEvents(InternalCore.java:364) 16:17:51 APP INFO at com.mendix.modelstorage.synchronization.Synchronization.synchronizeUsersWithoutTimeZones(Synchronization.java:97) 16:17:51 APP INFO at com.mendix.modelstorage.synchronization.Synchronization.synchronizeObjectInstances(Synchronization.java:83) 16:17:51 APP INFO at com.mendix.basis.impl.MxRuntimeImpl.doFire(MxRuntimeImpl.java:566) 16:17:51 APP INFO at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:50) 16:17:51 APP INFO at com.mendix.basis.impl.MxRuntimeImpl.fireZeeMissile(MxRuntimeImpl.java:544) 16:17:51 APP INFO at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:340) 16:17:51 APP INFO at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:274) 16:17:51 APP INFO at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:31) 16:17:51 APP INFO at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:122) 16:17:51 APP INFO at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) 16:17:51 APP INFO at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) 16:17:51 APP INFO at org.eclipse.jetty.server.Server.handle(Server.java:368) 16:17:51 APP INFO at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953) 16:17:51 APP INFO at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014) 16:17:51 APP INFO at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) 16:17:51 APP INFO at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861) 16:17:51 APP INFO at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) 16:17:51 APP INFO at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) 16:17:51 APP INFO at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) 16:17:51 APP INFO at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) 16:17:51 APP INFO at java.lang.Thread.run(Thread.java:745) 16:17:51 APP INFO at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) Does anyone know how to solve this?  Thank you very much for your help!  
asked
2 answers
0

Looks to me that his is an issue with setting the new time zone in the database of the acceptance environment. I would suggest to file a support ticket.

answered
0

I managed to resolve the issue. 

I had users in my DB that had equal usernames (test db) . This caused the application to fail because it wanted to assign and commit the new timezone to all users (without a timezone assigned). The unique user validation made the application crash...

answered