java.lang.RuntimeException: Unable to start activity ComponentInfo{nl.hnogames.domoticz/nl.hnogames.domoticz.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=12; index=12
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2658)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2723)
at android.app.ActivityThread.access$900(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1422)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5832)
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:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
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.onCreate(MainActivity.java:106)
at android.app.Activity.performCreate(Activity.java:6221)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2611)
... 10 more