CalculateGeo.java - com.mendix.thirdparty.org.json.JSONException: JSONObject[error_message] not found.

0
Hi guys,   I am using CalculateGeo.java in order to validate the address in Mendix.  There is an issue if you try to validate the invalid address, you will get a general error. During debugging I found that the problem is within java action.    If the java action returns true, there is no problem, but false doesn't work as well. Any idea how to fix this? EDIT (the solution):   Thanks in advance. 
asked
2 answers
2

Why not set an error handler on the Java action? This way you circumvent the general error. Just let the error handler goto the false part.

Regards,

Ronald

 

answered
1

You could try to catch the issue on the Java Action by an invidividual error handler and try to handle it.

answered