Android Question Debug does not show cast error


Licensed User
The application runs when in debug mode, but not in Release mode.
I am using the Xml2Map and DBUtils to update a records in sqlite db.
In Debug mode the DB is updated and the records are displayed,
in Release Mode the Debug log show the following.
"java.lang.ClassCastException: java.util.ArrayList cannot be cast to anywheresoftware.b4a.objects.collections.Map$MyMap"

I would have expected the Debug to have show a error at least and not complete the process code. !

Any inputs appreciated, as this has me perplexed.