Equivalent Exchange 3

Equivalent Exchange 3

2M Downloads

Crash with RFTools: ConcurrentModificationException

AstralSorceress opened this issue ยท 4 comments

commented

RFTools adds recipes during the world load event, causing a ConcurrentModificationException EE3's registration of vanilla recipes with the RecipeRegistry. Removing RFTools fixed the issue.

commented

This information is in not enough to help you, please provide the crush log.

commented

Well there is not much to say about this, it's a problem with Minecraft not considering multi-threaded scenarios, getRecipeList should return an immutable copy of the list. Or provide a sync-root. Unfortunately this is not the case. IMHO the best course of action to copy the list on the main thread and then pass it to calculation on the worker threads.

commented

Derp! Here is the tail of the log (I can't post the whole thing due to Pastebin's 500kB limit). It seems that RFTools is adding recipes as EE3 is iterating over the recipe list. Check out this line and this function from the RFTools code.

commented

Closing in order to track issues on the unified ticket #993