Error in startup - NoSuchElementException

0
I have a strange error that appears in different applications in different parts of the start-up flow. It can appear in the MxModel synchronisation and the Start Oauth microflow, also in the StartDeeplink flow which is shown here. The error itself is the same every time. It can be solved by committing the local changes, delete the local project folder and downloading it again from the Team Server. This is however annoying and time-consuming. I cannot predict when the error will appear. Sometimes the second time when I run a local project or after ten local runs, in short, it's unpredictable. If anyone knows a solution that would be great :) Thanks in advance. com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: java.util.NoSuchElementException: key not found: deeplink.startdeeplinkjava at DeepLink.StartDeeplink (JavaAction : 'StartDeeplinkJava') at Administration.StartupFlow (SubMicroflow : 'StartDeeplink') Advanced stacktrace: at com.mendix.core.component.InternalCore.execute(InternalCore.java:425) Caused by: com.mendix.modules.microflowengine.MicroflowException: java.util.NoSuchElementException: key not found: deeplink.startdeeplinkjava at DeepLink.StartDeeplink (JavaAction : 'StartDeeplinkJava') at Administration.StartupFlow (SubMicroflow : 'StartDeeplink') Advanced stacktrace: at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:158) Caused by: com.mendix.core.CoreException: java.util.NoSuchElementException: key not found: deeplink.startdeeplinkjava at com.mendix.core.component.InternalCore.execute(InternalCore.java:276) Caused by: java.util.NoSuchElementException: key not found: deeplink.startdeeplinkjava at scala.collection.MapLike$class.default(MapLike.scala:228) at scala.collection.AbstractMap.default(Map.scala:59) at scala.collection.mutable.HashMap.apply(HashMap.scala:65) at com.mendix.core.actionmanagement.ActionRegistry.getUserActionClass(ActionRegistry.scala:30) at com.mendix.core.action.ActionFactory.createJavaAction(ActionFactory.scala:45) at com.mendix.core.action.ActionFactory.createUserAction(ActionFactory.scala:41) at com.mendix.core.component.InternalCore.execute(InternalCore.java:263) at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:46) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:49) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:196) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:151) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:53) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:291) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:276) at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:204) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:37) at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:199) at com.mendix.core.component.InternalCore.executeSync(InternalCore.java:236) at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:33) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:49) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:196) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:151) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:53) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:291) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:276) at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(CustomMonitoredAction.scala:17) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:151) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:37) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:153) at scala.util.Try$.apply(Try.scala:191) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:147) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:140) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238) at akka.dispatch.Mailbox.run(Mailbox.scala:220) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
asked
2 answers
1

Erwin, I've found that cleaning the deployment directory solves the problem.

answered
0

Jos,

From the key not found: deeplink.startdeeplinkjava it seems that the Mendix server is expecting something in a map that is not available. You could have a look at the project in eclipse when the error occurs, maybe there are some errors in there? (seen this a number of times).

answered