executeMicroflowInBatches error

1
I get the following stacktrace error when executing this microflow: An error has occurred while handling the request. [User 'mxadmin' with roles 'Administrator'] lh: java.security.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader) at Rapportage.Update01FactuurStatistiek (JavaAction : 'Call 'executeMicroflowInBatches'')Advanced stacktrace: at mA.a(SourceFile:188) Caused by: com.mendix.core.CoreException: java.security.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader) at hk.b(SourceFile:170) Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374) at java.security.AccessController.checkPermission(AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.Thread.setContextClassLoader(Thread.java:1394) at communitycommons.Misc$MFSerialExecutor.runNext(Misc.java:267) at communitycommons.Misc$MFSerialExecutor.execute(Misc.java:260) at communitycommons.Misc.executeMicroflowInBatches(Misc.java:370) at communitycommons.Misc.executeMicroflowInBatches(Misc.java:352) at communitycommons.actions.executeMicroflowInBatches.executeAction(executeMicroflowInBatches.java:52) at communitycommons.actions.executeMicroflowInBatches.executeAction(executeMicroflowInBatches.java:32) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hk.b(SourceFile:156) at com.mendix.core.Core.execute(SourceFile:212) at lo.a(SourceFile:70) at mA.a(SourceFile:73) at mz.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hk.b(SourceFile:156) at com.mendix.core.Core.execute(SourceFile:212) at gd.execute(SourceFile:184) at iI.a(SourceFile:311) at iI.a(SourceFile:240) at iI.processRequest(SourceFile:179) at iL.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:856) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:43) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:662) It looks like a security error, but as far as I can see this should not be the case (all flows have the admin rights). Could it be something in the strings I pass over (xpath and microflow strings)? [EDIT] First error was I typo in the xpath. But is still get this stacktrace about a security error.
asked
1 answers
2

The security error is from java.security, you're probably running with cloud security enabled right? It appears this java action is doing something it's not allowed to, it looks like some ClassLoader is being set there for some reason.

answered