I've upgraded a project from 4.4.4 to 5.2 and also upgrade to the Mx5.0 version of the LDAP Module from the app store. But I get this error every time a user tries to log in. Any help on this error would be greatly appreciated. An error has occurred while handling the request. com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"after":[],"before":[],"action":{"type":"LoginAction","user":"TestUser123"},"type":"EventExtendedAction"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:217) Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"after":[],"before":[],"action":{"type":"LoginAction","user":"TestUser123"},"type":"EventExtendedAction"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.processErrorState(SourceFile:322) Caused by: java.util.NoSuchElementException: key not found: ldap.ldaploginaction at scala.collection.MapLike$class.default(MapLike.scala:228) at scala.collection.AbstractMap.default(Map.scala:58) at scala.collection.mutable.HashMap.apply(HashMap.scala:64) at com.mendix.core.actionmanagement.ActionRegistry.getUserActionClass(SourceFile:30) at com.mendix.es.a(SourceFile:25) at com.mendix.core.actionmanagement.ActionListener.getReplaceAction(SourceFile:120) at com.mendix.core.actionmanagement.EventExtendedAction.checkListeners(SourceFile:112) at com.mendix.core.actionmanagement.EventExtendedAction.execute(SourceFile:90) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:271) at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:210) at com.mendix.core.component.InternalCore.login(SourceFile:2192) at com.mendix.core.component.InternalCore.login(SourceFile:2249) at com.mendix.jF.a(SourceFile:31) at com.mendix.pI.a(SourceFile:231) at com.mendix.pI.a(SourceFile:153) at com.mendix.pI.processRequest(SourceFile:101) at com.mendix.externalinterface.connector.MxRuntimeConnector.processRequest(SourceFile:75) at com.mendix.core.impl.MxRuntimeImpl.processRequest(SourceFile:735) at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.handle(RuntimeHandler.java:45) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:368) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:722)
asked
Julio Salazar
3 answers
0
When overriding the login action in Mendix 5, we've encountered the same error. We believe this is a bug in the platform. We've filed a ticket at the Mendix support site, ticket #CC0000000100510.
answered
Rom van Arendonk
0
This issue, which was also reported by Rom and others in the support portal, has been solved in the latest release of the LDAP module, version 5.1. You can download this from the appstore. Note that this version also has a lot of additional and improved functionality, so be sure to read the documentation. Please let us know whether this solves your issue.