java.lang.IndexOutOfBoundsException

Index: 3, Size: 3

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 web6582

  • Index: 3, Size: 3
  • Index: 3, Size: 3
  • via GitHub by ptzafrir
    , 1 year ago
    Index: 3, Size: 3
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.codeborne.selenide.impl.CollectionElement.getWebElement(CollectionElement.java:29) at com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:85) at com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:58) at com.sun.proxy.$Proxy9.findElements(Unknown Source) at com.codeborne.selenide.impl.WebElementSelector.findElements(WebElementSelector.java:37) at com.codeborne.selenide.impl.BySelectorCollection.getActualElements(BySelectorCollection.java:28) at com.codeborne.selenide.impl.CollectionElement.getWebElement(CollectionElement.java:29) at com.codeborne.selenide.commands.ToWebElement.execute(ToWebElement.java:11) at com.codeborne.selenide.commands.ToWebElement.execute(ToWebElement.java:8) at com.codeborne.selenide.commands.Commands.execute(Commands.java:136) at com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:52) at com.sun.proxy.$Proxy9.toWebElement(Unknown Source) at com.codeborne.selenide.impl.ElementFinder.getSearchContext(ElementFinder.java:69) at com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:56) at com.codeborne.selenide.commands.GetWrappedElement.execute(GetWrappedElement.java:11) at com.codeborne.selenide.commands.GetWrappedElement.execute(GetWrappedElement.java:8) at com.codeborne.selenide.commands.Commands.execute(Commands.java:136) at com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:82) at com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:58) at com.sun.proxy.$Proxy9.getWrappedElement(Unknown Source)

    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, 1 year ago
    2 times, 1 month ago
    3 times, 9 months ago
    4 times, 9 months ago
    4 times, 1 year ago
    239 more bugmates