Run Time Failed

0
Hi team i got some issue while running the App there are 2 errors  mendix runtime error  intializing the modules   i tried like changing the ports and restoring different DB and clean deployment directory and download same package again in version control and run it again but i got same issue .please help me out on this   com.mendix.m2ee.api.AdminException: Starting Mendix Runtime failed.     at com.mendix.basis.impl.MxRuntimeImplBase.fireZeMissiles(MxRuntimeImplBase.java:512) Caused by: com.mendix.m2ee.api.AdminException: An error occurred while initializing modules     at com.mendix.basis.impl.MxRuntimeImplBase.initializeModules(MxRuntimeImplBase.java:607) Caused by: java.util.NoSuchElementException: None.get     at scala.None$.get(Option.scala:627)     at scala.None$.get(Option.scala:626)     at com.mendix.modules.microflowengine.actions.impl.CoreMicroflowActionFactory.createCallMicroflowAction(CoreMicroflowActionFactory.scala:124)     at com.mendix.modules.microflowengine.actions.impl.CoreMicroflowActionFactory.createMicroflowAction(CoreMicroflowActionFactory.scala:42)     at com.mendix.modules.microflowengine.actions.impl.CoreMicroflowActionFactory.create(CoreMicroflowActionFactory.scala:37)     at com.mendix.modules.microflowengine.actions.impl.MicroflowActionRegistry.$anonfun$registerMicroflowActionFactory$2(MicroflowActionRegistry.scala:15)     at com.mendix.modules.microflowengine.actions.impl.MicroflowActionRegistry.createMicroflowAction(MicroflowActionRegistry.scala:34)     at com.mendix.modules.microflowengine.actions.impl.MicroflowActionBuilder.createMicroflowAction(MicroflowActionBuilder.scala:24)     at com.mendix.modules.microflowengine.microflowstructure.MicroflowStructureFactory.processActivity(MicroflowStructureFactory.java:260)     at com.mendix.modules.microflowengine.microflowstructure.MicroflowStructureFactory.createMicroflowStructure(MicroflowStructureFactory.java:138)     at com.mendix.modules.microflowengine.internal.MicroflowEngineModuleImpl.$anonfun$reload$2(MicroflowEngineModuleImpl.scala:34)     at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:563)     at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:561)     at scala.collection.AbstractIterable.foreach(Iterable.scala:926)  
asked
4 answers
2

Hi Anjineyulu Vuddandam,

Have you recently migrated your app into a newer Studio Pro version?

Either way, have you tried updating the Marketplace modules from your application? I had one scenario where that was the problem and the solution was indeed updating the marketplace modules.

I hope you can solve your issue, best regards!

answered
0

I never saw this problem, but upgrading to Mendix 9.24 might be worth a try.

I hope this helps.

answered
0

Hello ;) 

 

I don't think we have a clear answer of why this happens so the best thing to do in my opinion is to try out some different things. I would suggest to you to simply try to redeploy with a new database or simply use the built-in database from Mendix. 

 

image.png

 

At least we could eliminate some of the ideas you have tried till now and narrow down towards the remaining ones.

answered
0

Hi Anjineyulu Vuddandam

 

From the log trace I supect that Somewhere in your model, you have an activity “Call Microflow” with no valid target microflow.

This could be because:

  1. The microflow it references was deleted.

  2. The microflow was renamed but the reference didn’t update properly.

  3. A Marketplace module update removed a microflow that other modules/pages still reference.

Mendix doesn’t wait until you run that page or action.During runtime initialization, it scans and loads all microflows into memory.When it finds one with a missing target, it throws this None.get and aborts the runtime startup.

 

  • The CoreMicroflowActionFactory is responsible for creating runtime objects for activities inside microflows.

  • The method createCallMicroflowAction means: it was trying to load a “Call Microflow” activity.

  • None.get means Mendix tried to look up the target microflow of that activity, but it was missing (null/empty).

answered