java.lang.IndexOutOfBoundsException

Invalid index 1, size is 1

Samebug tips1

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web7428

  • Invalid index 1, size is 1
  • via GitHub by aviraxp
    , 3 months ago
    Invalid index 1, size is 1
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at nl.hnogames.domoticz.Adapters.ServerAdapter$2.onCheckedChanged(ServerAdapter.java:127) at android.widget.CompoundButton.setChecked(CompoundButton.java:165) at android.widget.CompoundButton.toggle(CompoundButton.java:118) at android.widget.CompoundButton.performClick(CompoundButton.java:123) at android.view.View$PerformClick.run(View.java:22526) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7229) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 3 months ago
    11 times, 7 months ago
    4 times, 7 months ago
    140 times, 9 months ago
    Unknown user
    Once, 11 months ago
    241 more bugmates