CME at Startup
oitsjustjose opened this issue ยท 1 comments
Documenting for ease of tracking.
This CME occurs in the setup
init phase.
The solutions available are:
- Iterate over a
clone()
of the biomes/biomes features try/catch
(possibly recursive to ensure that the feature is definitely removed)
java.util.ConcurrentModificationException
at java.util.ArrayList.removeIf(ArrayList.java:1411)
at com.oitsjustjose.geolosys.common.world.FeatureStripper.strip(FeatureStripper.java:27)
at com.oitsjustjose.geolosys.Geolosys.setup(Geolosys.java:93)
at com.oitsjustjose.geolosys.Geolosys$$Lambda$2396/2141726996.accept(Unknown Source)
at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212)
at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204)
at net.minecraftforge.eventbus.EventBus$$Lambda$2001/1672306663.invoke(Unknown Source)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
at net.minecraftforge.fml.javafmlmod.FMLModContainer.fireEvent(FMLModContainer.java:106)
at net.minecraftforge.fml.javafmlmod.FMLModContainer$$Lambda$2110/1567077043.accept(Unknown Source)
at java.util.function.Consumer.lambda$andThen$14(Consumer.java:65)
at java.util.function.Consumer$$Lambda$2099/583765599.accept(Unknown Source)
at java.util.function.Consumer.lambda$andThen$14(Consumer.java:65)
at java.util.function.Consumer$$Lambda$2099/583765599.accept(Unknown Source)
at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112)
at net.minecraftforge.fml.ModList.lambda$null$10(ModList.java:134)
at net.minecraftforge.fml.ModList$$Lambda$2222/1673172925.accept(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
[21:59:57] [modloading-worker-2/ERROR]: Caught exception during event FMLCommonSetupEvent dispatch for modid geolosys
java.util.ConcurrentModificationException: null
at java.util.ArrayList.removeIf(ArrayList.java:1411) ~[?:1.8.0_51]
at com.oitsjustjose.geolosys.common.world.FeatureStripper.strip(FeatureStripper.java:27) ~[?:4.0.7]
at com.oitsjustjose.geolosys.Geolosys.setup(Geolosys.java:93) ~[?:4.0.7]
at com.oitsjustjose.geolosys.Geolosys$$Lambda$2396/2141726996.accept(Unknown Source) ~[?:?]
at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212) ~[eventbus-1.0.0-service.jar:?]
at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204) ~[eventbus-1.0.0-service.jar:?]
at net.minecraftforge.eventbus.EventBus$$Lambda$2001/1672306663.invoke(Unknown Source) ~[?:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-1.0.0-service.jar:?]
at net.minecraftforge.fml.javafmlmod.FMLModContainer.fireEvent(FMLModContainer.java:106) [?:28.1]
at net.minecraftforge.fml.javafmlmod.FMLModContainer$$Lambda$2110/1567077043.accept(Unknown Source) [?:28.1]
at java.util.function.Consumer.lambda$andThen$14(Consumer.java:65) [?:1.8.0_51]
at java.util.function.Consumer$$Lambda$2099/583765599.accept(Unknown Source) [?:1.8.0_51]
at java.util.function.Consumer.lambda$andThen$14(Consumer.java:65) [?:1.8.0_51]
at java.util.function.Consumer$$Lambda$2099/583765599.accept(Unknown Source) [?:1.8.0_51]
at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112) [?:?]
at net.minecraftforge.fml.ModList.lambda$null$10(ModList.java:134) [?:?]
at net.minecraftforge.fml.ModList$$Lambda$2222/1673172925.accept(Unknown Source) [?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) [?:1.8.0_51]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) [?:1.8.0_51]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) [?:1.8.0_51]
at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291) [?:1.8.0_51]
at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) [?:1.8.0_51]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_51]
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_51]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) [?:1.8.0_51]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_51]
This should be fixed by commit 18dafde