Auto Log-out, but errors in log file

I have set-up a custom Java action that logs a user out after a certain time of inactivity. This seems to be working, however I do have errors in my application log: ERROR - Connector: lb: com.mendix.core.CoreRuntimeException: access denied (java.lang.reflect.ReflectPermission suppressAccessChecks) at LogIn.LogOutMicroflow (JavaAction : 'Call 'CustomLogout'' The java i'm using to achieve this is: public class CustomLogout extends UserAction<boolean> { public CustomLogout() { super(); } @Override public Boolean executeAction() throws Exception { com.mendix.core.Core.logout(getContext().getSession()); return true; } /** * Returns a string representation of this action */ @Override public String toString() { return "CustomLogout"; } } Does anybody has an idea as to how to prevent this?
0 answers