W WDK Member Licensed User Sep 30, 2017 #1 I am getting an error - java.lang.ClassCastException: anywheresoftware.b4a.objects.collections.Map$MyMap cannot be cast to java.util.List The strange thing is if I add debug to the line in error and step through it, it works fine. Otherwise I get an error. I am trying to pull in exchange rates and it is loading successfully. Running with debug (Successful)... Running without debug (Error)....
I am getting an error - java.lang.ClassCastException: anywheresoftware.b4a.objects.collections.Map$MyMap cannot be cast to java.util.List The strange thing is if I add debug to the line in error and step through it, it works fine. Otherwise I get an error. I am trying to pull in exchange rates and it is loading successfully. Running with debug (Successful)... Running without debug (Error)....
DonManfred Expert Licensed User Longtime User Sep 30, 2017 #2 "rates" is not a List. It is a Map with the keys "AUD", "BGN", [...] Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 1, 2017 #4 You should post the code and the logs as text instead of these screenshots. Upvote 0