Access Denied error while syncing MxModelReflection
I have a Mendix 5.3.2 project in which I installed MxModelReflection version v5.0.1. When I start to sync objects from the page MxObjects_Overview as Administrator, I get the following errors: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "setContextClassLoader") at MxModelReflection.IVK_SyncObjects (JavaAction : 'Sync all mx model reflection objects with the metamodel') I have already tried to lower the security level of the project to "Prototype/demo" but that doesn't help. Do you know how to solve this problem?
This problem is solved in Mendix 5.4.1
This has to do with the java security settings.
If you are running the app locally try to set the emulate cloud security to false to see if this helps.
If this helps and you want to deploy to a cloud environment there need to be changes on the java policy file (must be done by Mendix).
But first test this without cloud security, just to be sure.