ConcurrentModificationException when notifying all grid nodes
shartte opened this issue ยท 0 comments
In fabric 9.0.0-alpha.8:
Description: Exception in server tick loop
java.util.ConcurrentModificationException
at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1584)
at java.base/java.util.HashMap$EntryIterator.next(HashMap.java:1617)
at java.base/java.util.HashMap$EntryIterator.next(HashMap.java:1615)
at com.google.common.collect.AbstractMapBasedMultimap$Itr.next(AbstractMapBasedMultimap.java:1177)
at appeng.me.service.EnergyService.publicPowerState(EnergyService.java:282)
at appeng.me.service.EnergyService.onServerEndTick(EnergyService.java:235)
at appeng.me.Grid.onServerEndTick(Grid.java:254)
at appeng.hooks.ticking.TickHandler.onServerTickEnd(TickHandler.java:259)
at appeng.hooks.ticking.TickHandler.lambda$init$1(TickHandler.java:87)
at net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.lambda$static$2(ServerTickEvents.java:62)
at net.minecraft.server.MinecraftServer.handler$fho002$onEndTick(MinecraftServer.java:12827)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:873)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
at java.base/java.lang.Thread.run(Thread.java:831)