GenerateURL in the ForgotPassword module java.lang.NullPointerException

0
The Java GenerateURL action, when I run it locally, sends the following error message:com.mendix.webui.WebUIException:Exception during runtime operation execution.    at com.mendix.webui.actions.client.RuntimeOperationAction.apply(RuntimeOperationAction.scala:72) Caused by: com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException 
asked
1 answers
2

Hi Sergio,

Looks like there's something Null in the microflow, most probably it is the GenerateUUID java action.

What you can do is, you can create another deeplink thatperforms the same logic as the URL microflow, for , and in the java action, which generates the URL you can do custom error handling, something like this:

image.png->      image.png

This way, if the URL generation failes, the user will still get a link, and he will be redirected to a deeplink MF, which will be performing the same logic which was supposed to happen.

Let me know, if you have any issues,

Hope it helps!!

answered