An error occurred while initializing the Runtime

1
Hi All,   Can anyone help me to fix below error. An error occurred while initializing the Runtime: Unsupported pre-analysis migration version: 1.0.1. You are trying to synchronize a Mendix application database from an unsupported Mendix version. -------- com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: Unsupported pre-analysis migration version: 1.0.1. You are trying to synchronize a Mendix application database from an unsupported Mendix version.     at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:267) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: Unsupported pre-analysis migration version: 1.0.1. You are trying to synchronize a Mendix application database from an unsupported Mendix version.     at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader.getTables(DatabaseMappingReader.scala:152)     at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader.fillModel(DatabaseMappingReader.scala:59)     at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader$.$anonfun$getDatabaseMappingModel$4(DatabaseMappingReader.scala:34)     at scala.util.Using$.resource(Using.scala:261)     at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader$.$anonfun$getDatabaseMappingModel$3(DatabaseMappingReader.scala:34)     at scala.Option.map(Option.scala:242)     at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader$.getDatabaseMappingModel(DatabaseMappingReader.scala:32)     at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader$.$anonfun$getDatabaseMappingModel$1(DatabaseMappingReader.scala:19)     at scala.util.Using$.resource(Using.scala:261)     at com.mendix.connectionbus.modelsynchronization.analysis.mappingreaders.DatabaseMappingReader$.getDatabaseMappingModel(DatabaseMappingReader.scala:19)     at com.mendix.connectionbus.ConnectionBusImpl.fillMappingCache(ConnectionBusImpl.scala:405)     at com.mendix.connectionbus.ConnectionBusImpl.getInitialDatabaseCommands(ConnectionBusImpl.scala:400)     at com.mendix.basis.impl.MxRuntimeImplBase.collectDdlCommands(MxRuntimeImplBase.java:370)     at com.mendix.basis.impl.MxRuntimeImplBase.doSynchronization(MxRuntimeImplBase.java:285)     at com.mendix.basis.impl.MxRuntimeImplBase.startConnectionBus(MxRuntimeImplBase.java:274)     at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:246)     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:1385)     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:1307)     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:416)     at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:385)     at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:272)     at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:140)     at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:936)     at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1080)     at java.base/java.lang.Thread.run(Thread.java:834)     Regards, Swathi J
asked
3 answers
2

Hi Swathi Jagadish,

If you are trying to run the application locally and still get the error you can try the following:
 

Inside your project directory find the folder called deployment, enter this folder and delete all the contents inside. This will effectively clean your database to start from scratch and to solve the error that you are getting:


Otherwise, if you are getting the error in the cloud environment, please check if you can clean or restore to an older snapshot.

If you are still getting the same error message, please provide more detail about if you recently migrated the Studio Pro version to help you.

I hope that helps you solve your issue, regards!

answered
0

Hi Swathi,

Is it possible that the database you are connecting to is synchronized with a later version of the modeler than the modeler version of the branch that you are running from?  If so, you should just need to update your branch to the same modeler version.

Hope this helps
Danny

answered
0

 

Added the screenshot from the studio pro for better visibility.

answered