LoliKingdom / Thaumic-Speedup

Speeds up Thaumcraft's loading process and 'optimizes' some internals. Extremely lazy project.
MIT License
7 stars 1 forks source link

Logged Exception, no cache.lock file created #2

Closed Krutoy242 closed 2 years ago

Krutoy242 commented 2 years ago

After update 2.0 => 3.0 version, i removed cache.lock file, but new one didn't created when i lunched game.

I found this lines in debug.log file:

[21:41:11] [ThaumicSpeedup/AspectThread/ERROR] [FML]: Exception caught during firing event thaumcraft.api.aspects.AspectRegistryEvent@51ffec23:
java.util.ConcurrentModificationException: null
    at com.google.common.collect.HashBiMap$Itr.hasNext(HashBiMap.java:401) ~[guava-21.0.jar:?]
    at java.util.Collections$UnmodifiableCollection$1.hasNext(Collections.java:1041) ~[?:1.8.0_51]
    at thaumcraft.common.lib.crafting.ThaumcraftCraftingManager.generateTagsFromCraftingRecipes(ThaumcraftCraftingManager.java:500) ~[ThaumcraftCraftingManager.class:?]
[...]
    at thaumcraft.api.aspects.AspectEventProxy.registerComplexObjectTag(AspectEventProxy.java:55) ~[AspectEventProxy.class:?]
    at vazkii.botania.common.integration.thaumcraft.TCAspects.registerComplex(TCAspects.java:472) ~[TCAspects.class:?]

Modpack: https://github.com/Krutoy242/Enigmatica2Expert-Extended

Is this means Thaumic-Speedup uncompatible with some mods? Should i return to 2.0 version?

debug.log

Rongmario commented 2 years ago

cache.lock no longer is needed. I'll fix that bug though, it seems like mods that use the event to register aspects ends up bugging out.

Krutoy242 commented 2 years ago

cache.lock no longer is needed

So, where cached file stored? I want to supply it with modpack files, so players would have fast first load.

Rongmario commented 2 years ago

.minecraft/caches/thaumicspeedup/aspects_cache.bin

Krutoy242 commented 2 years ago

There is no such file:

So, i don't get it right: is mod not working right now because of this exception?

Rongmario commented 2 years ago

Possibly, do you have Persistency installed?

Krutoy242 commented 2 years ago

Possibly, do you have Persistency installed?

Yes, i do. Its also listed in mod list in debug.log from zero post.

Rongmario commented 2 years ago

Fixed now @Krutoy242.