SAML Configuration Error - Unable to generate a keystore

0
Hi Team,WE have recently upgraded one of the application from 9.6.10 to 10.24.9. ON final testing, we are trying to test sso, but when configuration are made -> we are encountering Unable to generate a keystore. Im using lastest SAML Module - 4.2.2 and Encryption module with 11.1.2. I tried all options mentioned in https://community.mendix.com/link/spaces/app-development/questions/131443.Apart from deleting the module. We are successfully running this application with SSO. Hence suggest if this is a valid option for us.Did anyone tried deleting Encryption module? Do you think is it a viable option? My only worry is can it impact the production data in any way?Full Error:com.mendix.webui.WebUIException: Exception while executing runtime operationat com.mendix.webui.actions.client.RuntimeOperationAction.$anonfun$apply$3(RuntimeOperationAction.scala:60)Caused by: com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: Unable to generate KeyStoreat SAML20.MB_IDP_SelfGenerate_KeyStore (JavaAction : 'IDPSelfGenKeyStoreFile')at SAML20.Download_SP_Metadata (SubMicroflow : 'MB_IDP_SelfGenerate_KeyStore')Advanced stacktrace:at com.mendix.modules.microflowengine.MicroflowUtil$.processException(MicroflowUtil.scala:73)Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: Unable to generate KeyStoreat com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:126)Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: Unable to generate KeyStoreat com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:23)Caused by: java.lang.RuntimeException: Unable to generate KeyStoreat saml20.implementation.security.KeyStoreHelper.generateSelfKeyPair(KeyStoreHelper.java:101)at saml20.actions.IDPSelfGenKeyStoreFile.executeAction(IDPSelfGenKeyStoreFile.java:56)at saml20.actions.IDPSelfGenKeyStoreFile.executeAction(IDPSelfGenKeyStoreFile.java:19)at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:73)at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:73)at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49)at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:81)at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:123)at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:123)at com.mendix.basis.actionmanagement.UserActionCallBuilderImpl.execute(UserActionCallBuilderImpl.scala:58)at com.mendix.modules.microflowengine.actions.actioncall.ForegroundJavaAction.doExecute(ForegroundJavaAction.scala:35)at com.mendix.modules.microflowengine.actions.actioncall.ForegroundJavaAction.doExecute(ForegroundJavaAction.scala:11)at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:38)at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:29)at scala.Option.flatMap(Option.scala:283)at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:26)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:213)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeMicroflow(MicroflowImpl.scala:146)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAction$1(MicroflowImpl.scala:126)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.$anonfun$withSpan$1(OpenTelemetryUtil.scala:9)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.$anonfun$usingSpanWithCustomStatus$3(OpenTelemetryUtilImpl.scala:60)at scala.util.Try$.apply(Try.scala:217)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.usingSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:59)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.usingSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:41)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:31)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.withSpan(OpenTelemetryUtil.scala:9)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.withSpan$(OpenTelemetryUtil.scala:8)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withSpan(OpenTelemetryUtilImpl.scala:12)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:125)at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:73)at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:73)at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49)at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:81)at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:123)at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:123)at com.mendix.basis.component.ExecutionCore.doExecuteSync(ExecutionCore.scala:149)at com.mendix.basis.component.ExecutionCore.doExecuteSync$(ExecutionCore.scala:148)at com.mendix.basis.component.InternalCore.doExecuteSync(InternalCore.scala:22)at com.mendix.basis.component.ExecutionCore.executeSync(ExecutionCore.scala:98)at com.mendix.basis.component.ExecutionCore.executeSync$(ExecutionCore.scala:95)at com.mendix.basis.component.InternalCore.executeSync(InternalCore.scala:22)at com.mendix.modules.microflowengine.MicroflowExecuter$.executeSync(MicroflowExecuter.scala:19)at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:36)at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:29)at scala.Option.flatMap(Option.scala:283)at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:26)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:213)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeMicroflow(MicroflowImpl.scala:146)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAction$1(MicroflowImpl.scala:126)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.$anonfun$withSpan$1(OpenTelemetryUtil.scala:9)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.$anonfun$usingSpanWithCustomStatus$3(OpenTelemetryUtilImpl.scala:60)at scala.util.Try$.apply(Try.scala:217)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.usingSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:59)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.usingSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:41)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:31)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.withSpan(OpenTelemetryUtil.scala:9)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.withSpan$(OpenTelemetryUtil.scala:8)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withSpan(OpenTelemetryUtilImpl.scala:12)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:125)at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:73)at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:73)at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49)at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:81)at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:123)at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:123)at com.mendix.basis.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:63)at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.runMicroflow(MicroflowRuntimeOperationExecutor.scala:103)at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.$anonfun$doApply$6(MicroflowRuntimeOperationExecutor.scala:76)at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:30)at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.$anonfun$apply$1(RegularClientAction.scala:72)at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:46)at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:43)at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.withState(RegularClientAction.scala:66)at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:70)at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:66)at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.doApply(MicroflowRuntimeOperationExecutor.scala:77)at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.apply(MicroflowRuntimeOperationExecutor.scala:47)at com.mendix.webui.actions.client.RuntimeOperationAction.runOperation(RuntimeOperationAction.scala:81)at com.mendix.webui.actions.client.RuntimeOperationAction.$anonfun$apply$3(RuntimeOperationAction.scala:57)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.$anonfun$withSpan$1(OpenTelemetryUtil.scala:9)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.$anonfun$usingSpanWithCustomStatus$3(OpenTelemetryUtilImpl.scala:60)at scala.util.Try$.apply(Try.scala:217)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.usingSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:59)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.usingSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:41)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:31)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.withSpan(OpenTelemetryUtil.scala:9)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.withSpan$(OpenTelemetryUtil.scala:8)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withSpan(OpenTelemetryUtilImpl.scala:12)at com.mendix.webui.actions.client.RuntimeOperationAction.apply(RuntimeOperationAction.scala:54)at com.mendix.webui.actions.client.RuntimeOperationAction.apply(RuntimeOperationAction.scala:26)at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:30)at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:121)at scala.util.Try$.apply(Try.scala:217)at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:121)at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:119)at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$9(ContextHandling.scala:81)at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)at com.mendix.basis.actionmanagement.ActionMonitoring$.$anonfun$monitor$1(ActionMonitoring.scala:52)at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)at com.mendix.basis.actionmanagement.ActionMonitoring$.monitor(ActionMonitoring.scala:52)at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:81)at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:53)at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:95)at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:39)at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:24)at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:95)at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:119)at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest(ProfileHandling.scala:14)at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest$(ProfileHandling.scala:10)at com.mendix.webui.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:95)at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:116)at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:101)at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:72)at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:37)at com.mendix.external.connector.MxRuntimeConnector.$anonfun$doProcessRequest$2(MxRuntimeConnector.scala:68)at com.mendix.external.connector.MxRuntimeConnector.$anonfun$doProcessRequest$2$adapted(MxRuntimeConnector.scala:68)at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)at com.mendix.external.connector.MxRuntimeConnector.doProcessRequest(MxRuntimeConnector.scala:68)at com.mendix.external.connector.MxRuntimeConnector.$anonfun$processRequest$1(MxRuntimeConnector.scala:34)at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.$anonfun$withCurrentContextFrom$1(OpenTelemetryUtilImpl.scala:18)at scala.util.Using$.resource(Using.scala:296)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withCurrentContextFrom(OpenTelemetryUtilImpl.scala:17)at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.scala:34)at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.scala:1088)at com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.scala:40)at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)at org.eclipse.jetty.ee8.servlet.ServletHolder.handle(ServletHolder.java:640)at org.eclipse.jetty.ee8.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1374)at org.eclipse.jetty.ee8.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:175)at org.eclipse.jetty.ee8.servlet.FilterHolder.doFilter(FilterHolder.java:171)at org.eclipse.jetty.ee8.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1348)at org.eclipse.jetty.ee8.servlet.ServletHandler.doHandle(ServletHandler.java:454)at org.eclipse.jetty.ee8.nested.ScopedHandler.nextHandle(ScopedHandler.java:181)at org.eclipse.jetty.ee8.nested.SessionHandler.doHandle(SessionHandler.java:519)at org.eclipse.jetty.ee8.nested.ScopedHandler.nextHandle(ScopedHandler.java:181)at org.eclipse.jetty.ee8.nested.ContextHandler.doHandle(ContextHandler.java:885)at org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:152)at org.eclipse.jetty.ee8.servlet.ServletHandler.doScope(ServletHandler.java:423)at org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:150)at org.eclipse.jetty.ee8.nested.SessionHandler.doScope(SessionHandler.java:503)at org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:150)at org.eclipse.jetty.ee8.nested.ContextHandler.doScope(ContextHandler.java:830)at org.eclipse.jetty.ee8.nested.ScopedHandler.handle(ScopedHandler.java:117)at org.eclipse.jetty.ee8.nested.ContextHandler.handle(ContextHandler.java:1443)at org.eclipse.jetty.ee8.nested.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1289)at org.eclipse.jetty.ee8.nested.HttpChannel.dispatch(HttpChannel.java:616)at org.eclipse.jetty.ee8.nested.HttpChannel.handle(HttpChannel.java:459)at org.eclipse.jetty.ee8.nested.ContextHandler$CoreContextHandler$CoreToNestedHandler.handle(ContextHandler.java:2450)at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1064)at org.eclipse.jetty.server.Server.handle(Server.java:182)at org.eclipse.jetty.server.internal.HttpChannelState$HandlerInvoker.run(HttpChannelState.java:662)at org.eclipse.jetty.server.internal.HttpConnection.onFillable(HttpConnection.java:416)at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:322)at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:99)at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:480)at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:443)at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:293)at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:201)at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:311)at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:979)at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1209)at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1164)at java.base/java.lang.Thread.run(Thread.java:1583)Caused by: java.lang.NullPointerException: null algorithm nameat java.base/java.util.Objects.requireNonNull(Objects.java:259)at java.base/java.security.KeyPairGenerator.getInstance(KeyPairGenerator.java:232)at saml20.implementation.security.SecurityHelper.generateKeyPair(SecurityHelper.java:64)at saml20.implementation.security.SecurityHelper.generateKeyPairFromURI(SecurityHelper.java:52)at saml20.implementation.security.KeyStoreHelper.generateSelfKeyPair(KeyStoreHelper.java:80)at saml20.actions.IDPSelfGenKeyStoreFile.executeAction(IDPSelfGenKeyStoreFile.java:56)at saml20.actions.IDPSelfGenKeyStoreFile.executeAction(IDPSelfGenKeyStoreFile.java:19)at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:73)at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:73)at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49)at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:81)at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:123)at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:123)at com.mendix.basis.actionmanagement.UserActionCallBuilderImpl.execute(UserActionCallBuilderImpl.scala:58)at com.mendix.modules.microflowengine.actions.actioncall.ForegroundJavaAction.doExecute(ForegroundJavaAction.scala:35)at com.mendix.modules.microflowengine.actions.actioncall.ForegroundJavaAction.doExecute(ForegroundJavaAction.scala:11)at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:38)at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:29)at scala.Option.flatMap(Option.scala:283)at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:26)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:213)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeMicroflow(MicroflowImpl.scala:146)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAction$1(MicroflowImpl.scala:126)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.$anonfun$withSpan$1(OpenTelemetryUtil.scala:9)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.$anonfun$usingSpanWithCustomStatus$3(OpenTelemetryUtilImpl.scala:60)at scala.util.Try$.apply(Try.scala:217)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.usingSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:59)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.usingSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:41)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:31)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.withSpan(OpenTelemetryUtil.scala:9)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.withSpan$(OpenTelemetryUtil.scala:8)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withSpan(OpenTelemetryUtilImpl.scala:12)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:125)at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:73)at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:73)at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49)at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:81)at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:123)at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:123)at com.mendix.basis.component.ExecutionCore.doExecuteSync(ExecutionCore.scala:149)at com.mendix.basis.component.ExecutionCore.doExecuteSync$(ExecutionCore.scala:148)at com.mendix.basis.component.InternalCore.doExecuteSync(InternalCore.scala:22)at com.mendix.basis.component.ExecutionCore.executeSync(ExecutionCore.scala:98)at com.mendix.basis.component.ExecutionCore.executeSync$(ExecutionCore.scala:95)at com.mendix.basis.component.InternalCore.executeSync(InternalCore.scala:22)at com.mendix.modules.microflowengine.MicroflowExecuter$.executeSync(MicroflowExecuter.scala:19)at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:36)at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:29)at scala.Option.flatMap(Option.scala:283)at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:26)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:213)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeMicroflow(MicroflowImpl.scala:146)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAction$1(MicroflowImpl.scala:126)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.$anonfun$withSpan$1(OpenTelemetryUtil.scala:9)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.$anonfun$usingSpanWithCustomStatus$3(OpenTelemetryUtilImpl.scala:60)at scala.util.Try$.apply(Try.scala:217)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.usingSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:59)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.usingSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:41)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:31)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.withSpan(OpenTelemetryUtil.scala:9)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.withSpan$(OpenTelemetryUtil.scala:8)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withSpan(OpenTelemetryUtilImpl.scala:12)at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:125)at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:73)at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:73)at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49)at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:81)at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:123)at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:123)at com.mendix.basis.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:63)at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.runMicroflow(MicroflowRuntimeOperationExecutor.scala:103)at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.$anonfun$doApply$6(MicroflowRuntimeOperationExecutor.scala:76)at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:30)at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.$anonfun$apply$1(RegularClientAction.scala:72)at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:46)at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:43)at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.withState(RegularClientAction.scala:66)at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:70)at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:66)at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.doApply(MicroflowRuntimeOperationExecutor.scala:77)at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.apply(MicroflowRuntimeOperationExecutor.scala:47)at com.mendix.webui.actions.client.RuntimeOperationAction.runOperation(RuntimeOperationAction.scala:81)at com.mendix.webui.actions.client.RuntimeOperationAction.$anonfun$apply$3(RuntimeOperationAction.scala:57)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.$anonfun$withSpan$1(OpenTelemetryUtil.scala:9)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.$anonfun$usingSpanWithCustomStatus$3(OpenTelemetryUtilImpl.scala:60)at scala.util.Try$.apply(Try.scala:217)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.usingSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:59)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.usingSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:41)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withSpanWithCustomStatus(OpenTelemetryUtilImpl.scala:31)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.withSpan(OpenTelemetryUtil.scala:9)at com.mendix.modules.opentelemetry.OpenTelemetryUtil.withSpan$(OpenTelemetryUtil.scala:8)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withSpan(OpenTelemetryUtilImpl.scala:12)at com.mendix.webui.actions.client.RuntimeOperationAction.apply(RuntimeOperationAction.scala:54)at com.mendix.webui.actions.client.RuntimeOperationAction.apply(RuntimeOperationAction.scala:26)at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:30)at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:121)at scala.util.Try$.apply(Try.scala:217)at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:121)at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:119)at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$9(ContextHandling.scala:81)at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)at com.mendix.basis.actionmanagement.ActionMonitoring$.$anonfun$monitor$1(ActionMonitoring.scala:52)at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)at com.mendix.basis.actionmanagement.ActionMonitoring$.monitor(ActionMonitoring.scala:52)at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:81)at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:53)at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:95)at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:39)at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:24)at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:95)at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:119)at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest(ProfileHandling.scala:14)at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest$(ProfileHandling.scala:10)at com.mendix.webui.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:95)at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:116)at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:101)at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:72)at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:37)at com.mendix.external.connector.MxRuntimeConnector.$anonfun$doProcessRequest$2(MxRuntimeConnector.scala:68)at com.mendix.external.connector.MxRuntimeConnector.$anonfun$doProcessRequest$2$adapted(MxRuntimeConnector.scala:68)at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)at com.mendix.external.connector.MxRuntimeConnector.doProcessRequest(MxRuntimeConnector.scala:68)at com.mendix.external.connector.MxRuntimeConnector.$anonfun$processRequest$1(MxRuntimeConnector.scala:34)at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.$anonfun$withCurrentContextFrom$1(OpenTelemetryUtilImpl.scala:18)at scala.util.Using$.resource(Using.scala:296)at com.mendix.modules.opentelemetry.OpenTelemetryUtilImpl$.withCurrentContextFrom(OpenTelemetryUtilImpl.scala:17)at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.scala:34)at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.scala:1088)at com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.scala:40)at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)at org.eclipse.jetty.ee8.servlet.ServletHolder.handle(ServletHolder.java:640)at org.eclipse.jetty.ee8.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1374)at org.eclipse.jetty.ee8.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:175)at org.eclipse.jetty.ee8.servlet.FilterHolder.doFilter(FilterHolder.java:171)at org.eclipse.jetty.ee8.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1348)at org.eclipse.jetty.ee8.servlet.ServletHandler.doHandle(ServletHandler.java:454)at org.eclipse.jetty.ee8.nested.ScopedHandler.nextHandle(ScopedHandler.java:181)at org.eclipse.jetty.ee8.nested.SessionHandler.doHandle(SessionHandler.java:519)at org.eclipse.jetty.ee8.nested.ScopedHandler.nextHandle(ScopedHandler.java:181)at org.eclipse.jetty.ee8.nested.ContextHandler.doHandle(ContextHandler.java:885)at org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:152)at org.eclipse.jetty.ee8.servlet.ServletHandler.doScope(ServletHandler.java:423)at org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:150)at org.eclipse.jetty.ee8.nested.SessionHandler.doScope(SessionHandler.java:503)at org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:150)at org.eclipse.jetty.ee8.nested.ContextHandler.doScope(ContextHandler.java:830)at org.eclipse.jetty.ee8.nested.ScopedHandler.handle(ScopedHandler.java:117)at org.eclipse.jetty.ee8.nested.ContextHandler.handle(ContextHandler.java:1443)at org.eclipse.jetty.ee8.nested.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1289)at org.eclipse.jetty.ee8.nested.HttpChannel.dispatch(HttpChannel.java:616)at org.eclipse.jetty.ee8.nested.HttpChannel.handle(HttpChannel.java:459)at org.eclipse.jetty.ee8.nested.ContextHandler$CoreContextHandler$CoreToNestedHandler.handle(ContextHandler.java:2450)at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1064)at org.eclipse.jetty.server.Server.handle(Server.java:182)at org.eclipse.jetty.server.internal.HttpChannelState$HandlerInvoker.run(HttpChannelState.java:662)at org.eclipse.jetty.server.internal.HttpConnection.onFillable(HttpConnection.java:416)at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:322)at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:99)at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:480)at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:443)at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:293)at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:201)at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:311)at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:979)at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1209)at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1164)at java.base/java.lang.Thread.run(Thread.java:1583)Appreciate your help asap! as this might hamper out production release and block our mainline.
asked
2 answers
1

To anyone who comes across this issue in the future:

In my case, the problem was resolved by deleting all existing IdP (Identity Provider) configurations and creating a new IdP configuration from scratch. After recreating the configuration, everything worked as expected.

This appears to be a unique scenario, but recreating the IdP configuration may be worth trying if you encounter a similar issue.

Thank you for taking the time to review this question. Your assistance is greatly appreciated!



answered
0

Hi Jhansi,

I wouldn't recommend deleting the Encryption module, especially since your application was already working with SSO before the upgrade. Removing it won't affect existing production data, but it can break the SAML implementation and won't address the root cause.


Looking at the stack trace, the important part is:

java.lang.NullPointerException: null algorithm name KeyPairGenerator.getInstance(...)


This usually indicates that the key/signature algorithm is coming through as empty when the SAML module tries to generate the keystore.


After upgrading from 9.6.10 → 10.24.9, I'd check the SAML configuration record and make sure the cryptographic algorithms are populated, for example:

  • Signature Algorithm: RSA_SHA256
  • Key/Encryption Algorithm: RSA_OAEP (or the value expected by your IdP)


Also try:

  • Re-run the SAML setup/After Startup microflow after verifying the configuration.
  • Confirm you're using Java 21, since Mendix 10.24 targets Java 21.
  • If the configuration was migrated from 9.x, recreate the SAML configuration object rather than reusing the migrated one.


The null algorithm name error usually points to a missing or invalid SAML algorithm configuration rather than the Encryption module itself.


Kindly mark this as the accepted answer if it helps.

answered