java.lang.IndexOutOfBoundsException: Index: 2255, Size: 1453

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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.

,

Thrown if trying to access an index which is out of bounds on objects like String, Array, or Vector. Any negative integer less than or equal to -1 and positive integer greater than or equal to the size of the object is an index which would be out of bounds

java.lang.IndexOutOfBoundsException: Index: 2255, Size: 1453
at java.util.ArrayList.rangeCheck(ArrayList.java:638)
at java.util.ArrayList.get(ArrayList.java:414)
at weka.core.Attribute.value(Attribute.java:741)
at weka.core.AbstractInstance.stringValue(AbstractInstance.java:668)
at weka.core.AbstractInstance.stringValue(AbstractInstance.java:644)
at weka.filters.unsupervised.attribute.StringToWordVector.convertInstancewoDocNorm(StringToWordVector.java:1631)
at weka.filters.unsupervised.attribute.StringToWordVector.input(StringToWordVector.java:700)
at weka.classifiers.meta.FilteredClassifier.filterInstance(FilteredClassifier.java:536)
at meka.classifiers.multilabel.cc.CNode.classify(CNode.java:177)
at meka.classifiers.multilabel.CC.distributionForInstance(CC.java:142)
at meka.classifiers.multilabel.Evaluation.testClassifier(Evaluation.java:411)
at meka.classifiers.multilabel.Evaluation.evaluateModel(Evaluation.java:363)
at meka.classifiers.multilabel.Evaluation.cvModel(Evaluation.java:316)
at meka.gui.explorer.ClassifyTab$6.run(ClassifyTab.java:346)
at java.lang.Thread.run(Thread.java:745)
at meka.gui.explorer.AbstractThreadedExplorerTab$WorkerThread.run(AbstractThreadedExplorerTab.java:78)

Users with the same issue

2 times, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 2 weeks ago
Once, 2 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.