java.lang.IndexOutOfBoundsException: index (0) must be less than size (0)

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

Solutions on the web

via GitHub by simon816
, 1 year ago
index (0) must be less than size (0)
via GitHub by DietmarKrause
, 1 year ago
index (32767) must be less than size (3)
via GitHub by visze
, 1 year ago
via GitHub by bobsyouruncle200
, 9 months ago
index (5) must be less than size (5)
via GitHub by rikai
, 9 months ago
index (6) must be less than size (5)
java.lang.IndexOutOfBoundsException: index (0) must be less than size (0)
at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:313)
at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:295)
at com.google.common.collect.RegularImmutableList.get(RegularImmutableList.java:65)
at org.spongepowered.api.data.MemoryDataView.set(MemoryDataView.java:283)
at org.spongepowered.api.data.MemoryDataContainer.set(MemoryDataContainer.java:53)
at org.spongepowered.api.data.MemoryDataContainer.set(MemoryDataContainer.java:1)

Users with the same issue

Once, 5 months ago

Write tip

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