I had the same issue.
You probably have added (unique) validation rules on an entity, AFTER you have added entries. The existing entries are in conflict with the new validation rules.
Solution: remove the validity rules, check you existing entries and delete/change the wrong ones. Than add the validations again.
PS
My validation appeared after an import of those entities. I removed all validations and keep it in control on own microflows.
Regards,
Rene
My gut feeling would be to check your configuration and double check your database connection.
Regards,
Ronald
Hi all,
i receive the same error by starting the service on service console.
The starting of the service was working since yesterday without any issues. I made some small changes, commited them and deployed the package in my environment. After updating the app in the service console, the following message occurs:
An error occurred while initializing the Runtime: null
--------
com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: null
at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:407)
Caused by: java.lang.NullPointerException: null
at com.mendix.connectionbus.modelsynchronization.renderers.ChangeRenderer.createColumn(ChangeRenderer.java:349)
at com.mendix.connectionbus.modelsynchronization.renderers.ChangeRenderer.renderCreateOrUpdateColumns(ChangeRenderer.java:272)
at com.mendix.connectionbus.modelsynchronization.renderers.ChangeRenderer.renderCreatesOrUpdates(ChangeRenderer.java:135)
at com.mendix.connectionbus.modelsynchronization.renderers.ChangeRenderer.getSqlCommands(ChangeRenderer.java:62)
at com.mendix.connectionbus.modelsynchronization.ModelSynchronizationUpdater.analyzeAndRender(ModelSynchronizationUpdater.java:121)
at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeMappingModel(SynchronizationManager.scala:238)
at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeModel(SynchronizationManager.scala:228)
at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeCurrentDatabase(SynchronizationManager.scala:144)
at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.$anonfun$stateMachine$3(SynchronizationManager.scala:81)
at com.mendix.connectionbus.modelsynchronization.SimpleStateMachine$SimpleStateMachine.effect(SynchronizationManager.scala:55)
at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeCopying(SynchronizationManager.scala:185)
at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.$anonfun$stateMachine$2(SynchronizationManager.scala:80)
at com.mendix.connectionbus.modelsynchronization.SimpleStateMachine$SimpleStateMachine.effect(SynchronizationManager.scala:55)
at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeSourceStructureForCopy(SynchronizationManager.scala:153)
at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.$anonfun$stateMachine$1(SynchronizationManager.scala:79)
at com.mendix.connectionbus.modelsynchronization.SimpleStateMachine$SimpleStateMachine.effect(SynchronizationManager.scala:55)
at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyze(SynchronizationManager.scala:134)
at com.mendix.connectionbus.ConnectionBusImpl.collectDatabaseSynchronizationInformation(ConnectionBusImpl.java:358)
at com.mendix.basis.impl.MxRuntimeImpl.initializeConnectionBusAnyway(MxRuntimeImpl.java:484)
at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:386)
at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:49)
at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:30)
at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:129)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:502)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
at java.base/java.lang.Thread.run(Thread.java:834)
@Rene: I followed your hint, regarding the validation rules, but i have still the same error.
Any other suggestions?