HugeArrayList.iterator() fails when empty
Opened this issue · 0 comments
GoogleCodeExporter commented
It throws a NPE
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source) ~[na:na]
at java.util.ArrayList.get(Unknown Source) ~[na:na]
at vanilla.java.collections.impl.AbstractHugeContainer.getAllocation(AbstractHugeContainer.java:104) ~[collections.jar:na]
<snip>
Original issue reported on code.google.com by brianfromoregon
on 3 Feb 2012 at 8:02