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 was iterating over a unifiedMap using values view and hit an ArrayIndexOutOfBoundsException
for (Object o : unifiedMap.valuesView())
|
|
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1048576
at com.gs.collections.impl.map.mutable.UnifiedMap$ValuesIterator.next(UnifiedMap.java:2564)
at com.gs.collections.impl.UnmodifiableIteratorAdapter.next(UnmodifiableIteratorAdapter.java:42)
at com.gs.futures.lexicon.product.client.components.InstrumentCache.unionOfChildMapsAsInstrumentList(InstrumentCache.java:471)
The text was updated successfully, but these errors were encountered:
Perhaps I am mutating my map somewhere else concurrently. When I add a lock the issue goes away and I can still use valuesView(). I'll close this ticket and continue to look into it. If I can reproduce it with the lock I'll let you know.
I was iterating over a unifiedMap using values view and hit an ArrayIndexOutOfBoundsException
|
|
The text was updated successfully, but these errors were encountered: