You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I trying out Eclipse Collections for my project, using the latest available version - 9.2.0. Sometimes I am getting exceptions while iterating over a set (both while using UnifiedSet and UnifiedSetWithHashingStrategy):
Error: java.lang.ArrayIndexOutOfBoundsException: Index 256 out of bounds for length 256 java.lang.ArrayIndexOutOfBoundsException: Index 256 out of bounds for length 256 at org.eclipse.collections.impl.set.strategy.mutable.UnifiedSetWithHashingStrategy$PositionalIterator.next(UnifiedSetWithHashingStrategy.java:1834)
the index can be different, I have seen 256, 512, 1024 and some other powers of 2. It doesn't look like I am doing anything special here.
I don't have a test case that I can share right now. So far I just tried to use UnifiedSet a drop-in replacement for JDK's HashSet in a bigger project. I will try to distill a test case, although I have been unsuccessful so far.
I trying out Eclipse Collections for my project, using the latest available version - 9.2.0. Sometimes I am getting exceptions while iterating over a set (both while using UnifiedSet and UnifiedSetWithHashingStrategy):
Error: java.lang.ArrayIndexOutOfBoundsException: Index 256 out of bounds for length 256 java.lang.ArrayIndexOutOfBoundsException: Index 256 out of bounds for length 256 at org.eclipse.collections.impl.set.strategy.mutable.UnifiedSetWithHashingStrategy$PositionalIterator.next(UnifiedSetWithHashingStrategy.java:1834)
the index can be different, I have seen 256, 512, 1024 and some other powers of 2. It doesn't look like I am doing anything special here.
Could be similar or related to #481?
The text was updated successfully, but these errors were encountered: