Cannot run due to Unsupported pre-analysis migration

0
When I try to run the Modeler, I’m getting the following error. com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: Unsupported pre-analysis migration: version '4.1.0' cannot be downgraded to version '4.0.0'.     at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:350) Full log below.   I’m currently running Mx 8.13.1 with a MicrosoftSQL server. I tried my branche in 8.14 yesterday, including running. Dropped the folder and downloaded the branche freshly this morning, if that is related.  I really have no clue how to debug or where to look. It would seem, however, this is related to a database change. This is not included in the current changelog of 8.14, though.   Unsupported pre-analysis migration com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: Unsupported pre-analysis migration: version '4.1.0' cannot be downgraded to version '4.0.0'. at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:350) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: Unsupported pre-analysis migration: version '4.1.0' cannot be downgraded to version '4.0.0'. at com.mendix.connectionbus.modelsynchronization.migration.PreanalysisPhaseMigrationHelper.preventVersionDowngrade(PreanalysisPhaseMigrationHelper.scala:42) at com.mendix.connectionbus.modelsynchronization.analysis.SystemTableUpgradeCommandGenerator$.generate(SystemTableUpgradeCommandGenerator.scala:26) at com.mendix.connectionbus.modelsynchronization.analysis.SystemTableUpgradeCommandGenerator.generate(SystemTableUpgradeCommandGenerator.scala) at com.mendix.connectionbus.modelsynchronization.analysis.DatabaseAnalyzer.analyzeAndFillMigrationCommands(DatabaseAnalyzer.java:77) at com.mendix.connectionbus.modelsynchronization.ModelSynchronizationUpdater.analyzeAndFillMigrationCommands(ModelSynchronizationUpdater.java:153) at com.mendix.connectionbus.modelsynchronization.ModelSynchronizationUpdater.analyzeAndRender(ModelSynchronizationUpdater.java:102) at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeMappingModel(SynchronizationManager.scala:243) at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeModel(SynchronizationManager.scala:233) at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeCurrentDatabase(SynchronizationManager.scala:149) at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.$anonfun$stateMachine$3(SynchronizationManager.scala:82) at com.mendix.connectionbus.modelsynchronization.SimpleStateMachine$SimpleStateMachine.effect(SynchronizationManager.scala:56) at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeCopying(SynchronizationManager.scala:190) at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.$anonfun$stateMachine$2(SynchronizationManager.scala:81) at com.mendix.connectionbus.modelsynchronization.SimpleStateMachine$SimpleStateMachine.effect(SynchronizationManager.scala:56) at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeSourceStructureForCopy(SynchronizationManager.scala:158) at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.$anonfun$stateMachine$1(SynchronizationManager.scala:80) at com.mendix.connectionbus.modelsynchronization.SimpleStateMachine$SimpleStateMachine.effect(SynchronizationManager.scala:56) at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyze(SynchronizationManager.scala:139) at com.mendix.connectionbus.ConnectionBusImpl.collectDatabaseSynchronizationInformation(ConnectionBusImpl.java:370) at com.mendix.basis.impl.MxRuntimeImplBase.initializeConnectionBusAnyway(MxRuntimeImplBase.java:436) at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:327) at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:48) 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:127) at org.eclipse.jetty.server.Server.handle(Server.java:501) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) at java.base/java.lang.Thread.run(Thread.java:834)  
asked
1 answers
4

Did you restore your local database again? Because if you tested a later version and did run, your local database also get's upgraded. So you after you revert you also need to restore your database to a Mx8.13.1 version. Otherwise you get the above error.

Regards,

Ronald

 

 

answered