Mendix has found the root cause of this issue. The error occurs because the IMxRuntimeRequest parameter request isnull
in CloudLoginHandler custom login action at the time the logic arrives.
In order to fix this, please change the Core.login call in the Deeplink module to pass on the IMxRuntimeRequest parameter so a custom login handler will have access to it. This can be achieved by modifying line 305 in the StartDeepLink.java action from:
private ISession performLogin(IMxRuntimeRequest request, IMxRuntimeResponse response) throws Exception { String username = request.getParameter(ARGUSER); String password = request.getParameter(ARGPASS); try { ISession session = Core.login(username, password); // line 305
to:
private ISession performLogin(IMxRuntimeRequest request, IMxRuntimeResponse response) throws Exception { String username = request.getParameter(ARGUSER); String password = request.getParameter(ARGPASS); try { ISession session = Core.login(username, password, request); // line 305