java.lang.IndexOutOfBoundsException

Index: 2161, Size: 1749

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 web6487

  • Index: 2161, Size: 1749
  • Index: , Size:
  • Index: 3, Size: 3
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: 2161, Size: 1749 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at weka.core.Attribute.addStringValue(Attribute.java:924) at weka.core.StringLocator.copyStringValues(StringLocator.java:150) at weka.core.StringLocator.copyStringValues(StringLocator.java:91) at weka.filters.Filter.copyValues(Filter.java:399) at weka.filters.Filter.bufferInput(Filter.java:342) at weka.filters.unsupervised.attribute.StringToWordVector.input(StringToWordVector.java:655) at weka.filters.Filter.useFilter(Filter.java:692) at CrossValidationExample.main(CrossValidationExample.java:108)

    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 month ago
    Unknown user
    12 times, 5 months ago
    Unknown user
    Once, 5 months ago
    Unknown user
    Once, 6 months ago
    Unknown user
    Once, 7 months ago
    239 more bugmates