galadril / DomoticzForAndroid

This is a Domoticz Android app. Domoticz is a very light weight home automation system ...
http://www.domoticz.com
14 stars 7 forks source link

java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 #162

Closed galadril closed 8 years ago

galadril commented 8 years ago
java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
    at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
    at java.util.ArrayList.get(ArrayList.java:308)
    at nl.hnogames.domoticz.Utils.GeoUtil.getAddressFromLatLng(GeoUtil.java:112)
    at nl.hnogames.domoticz.UI.LocationDialog$2.onClick(LocationDialog.java:189)
    at android.view.View.performClick(View.java:4757)
    at android.view.View$PerformClick.run(View.java:19757)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5219)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
galadril commented 8 years ago

Fixed in next version