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.RuntimeException: Failure delivering result ResultInfo{who=null, request=885, result=-1, data=Intent { (has extras) }} to activity {nl.hnogames.domoticz.premium/nl.hnogames.domoticz.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=12; index=12 #194

Closed galadril closed 8 years ago

galadril commented 8 years ago
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=885, result=-1, data=Intent { (has extras) }} to activity {nl.hnogames.domoticz.premium/nl.hnogames.domoticz.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=12; index=12
    at android.app.ActivityThread.deliverResults(ActivityThread.java:4056)
    at android.app.ActivityThread.handleSendResult(ActivityThread.java:4099)
    at android.app.ActivityThread.access$1400(ActivityThread.java:177)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1497)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5940)
    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:1389)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1184)
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=12; index=12
    at nl.hnogames.domoticz.MainActivity.addFragment(MainActivity.java:211)
    at nl.hnogames.domoticz.MainActivity.buildScreen(MainActivity.java:113)
    at nl.hnogames.domoticz.MainActivity.onActivityResult(MainActivity.java:161)
    at android.app.Activity.dispatchActivityResult(Activity.java:6543)
    at android.app.ActivityThread.deliverResults(ActivityThread.java:4052)
    ... 10 more