TimeAndSpaceIO / SmoothieMap

A gulp of low latency Java
295 stars 30 forks source link

ConcurrentModificationException on get #10

Open cyberpwnn opened 3 years ago

cyberpwnn commented 3 years ago
[02:38:42] [Iris Generator 5/WARN]: java.util.ConcurrentModificationException
[02:38:42] [Iris Generator 5/WARN]:     at io.timeandspace.smoothie.Utils.nonNullOrThrowCme(Utils.java:89)
[02:38:42] [Iris Generator 5/WARN]:     at io.timeandspace.smoothie.InflatedSegmentQueryContext$Node.equals(InflatedSegmentQueryContext.java:792)
[02:38:42] [Iris Generator 5/WARN]:     at java.util.HashMap$TreeNode.find(HashMap.java:1867)
[02:38:42] [Iris Generator 5/WARN]:     at java.util.HashMap$TreeNode.find(HashMap.java:1877)
[02:38:42] [Iris Generator 5/WARN]:     at java.util.HashMap$TreeNode.find(HashMap.java:1877)
[02:38:42] [Iris Generator 5/WARN]:     at java.util.HashMap$TreeNode.getTreeNode(HashMap.java:1889)
[02:38:42] [Iris Generator 5/WARN]:     at java.util.HashMap.getNode(HashMap.java:576)
[02:38:42] [Iris Generator 5/WARN]:     at java.util.HashMap.get(HashMap.java:557)
[02:38:42] [Iris Generator 5/WARN]:     at io.timeandspace.smoothie.InflatedSegmentQueryContext.get(InflatedSegmentQueryContext.java:226)
[02:38:42] [Iris Generator 5/WARN]:     at io.timeandspace.smoothie.SmoothieMap$InflatedSegment.get(SmoothieMap.java:6093)
[02:38:42] [Iris Generator 5/WARN]:     at io.timeandspace.smoothie.SmoothieMap.getInflated(SmoothieMap.java:1733)
[02:38:42] [Iris Generator 5/WARN]:     at io.timeandspace.smoothie.SmoothieMap.get(SmoothieMap.java:1607)
[02:38:42] [Iris Generator 5/WARN]:     at com.volmit.iris.object.IrisObject.place(IrisObject.java:517) 

The last on the stack is simply invoking .get(KEY) within a for loop (keyset())