Cherry Blossom Grotto

Cherry Blossom Grotto

114k Downloads

[Fixed][ItemRegistrationIssue]Fatal startup crash [1.18.2, Forge 40.2.0]

xFirefalconx opened this issue ยท 26 comments

commented

I read that the pig bug got solved, my crash says something about being unable to spawn pig entity?
I can't and won't update to 1.19 if that's got anything to do with it...

Anyways, here's my crash report:
crash-2023-01-30_23.11.38-client.txt

Hope you can do anything about this. Thanks in advance.

commented

So good news, after a few hours of debugging code, I think I have a fix. I just ran my compiled mod on Minecraft Forge v40.2.0 with arstikorcarts, MID, MIC and recipes_lib and it worked fine.

Basically the issue seemed to be with how entity types were being registered in cherryblossomgrotto/tumbleweed that caused a very particular incompatibility with those particular mods. I have no idea why it was a combination of a few mods that triggered the issue though.
I changed how I was registering entity types to the game (to a more recommended pattern) and updated the renderers to read these new registry objects instead of using the object holders in my mod which I guess were referencing null objects in this case?

And the error says pig, in my experience, cause that seems to be the fallback entity when the game is struggling to spawn another entity into the game.

Still have some testing to do to ensure everything is working ok but I'll hopefully be able to post a fix up to curseforge and modrinth by the weekend

commented

You can read a little bit about the kind of issue I was looking at with entity registration here

The answer is more concerned with a bucket item but it gives a nice short details on how registries are called at different times at initialization and doing something wrong here can have a myriad of consequences

commented

I uploaded a fix to CurseForge and Modrinth. Should be publicly available by the morning. Will close this issue out in the next few days if I don't see any other related issues.

commented

crash-2023-02-10_08.02.26-client.txt
I'll test if it at least works with tumbleweed deactivated. Will edit this.

commented

Alright, tumbleweed needs a fix as well, or astikorcarts either way. Your mod is compatible now! Thank you very much for the fix! You're incredible! If I stumble across any other issues, I'll let you know in a new issue ๐Ÿ™

commented

Hey thanks for reporting this to me!

This shouldn't be anything to do with "the pig bug". That one was specific to 1.19 and instead of causing a crash it made pigs spawn frequently in the cherry blossom grotto biome due to a typo for a custom entity that was supposed to take its place.

In the case of your logs it looks like there's something wrong with the rendering logic for the kunai item.

I was able to launch Forge 40.0.32 with cherryblossomgrotto 0.4.4 installed and it worked just fine. This could either be an issue with the later version of Forge you are using not being compatible with the mod, or a conflict with one of the other mods you have installed.
I'll keep looking and will post here if I find a cause.

commented

Yeah, I saw that with the kunai as well when I searched for the culprit (I'm having a 180+ mods modpack :'D). It though said exactly that it couldn't create? or render the pig model/entity on the better loading screen. It was about done with baking models and then crashed with that message. I hope it's not too difficult to fix since I had to upgrade forge for other mods (I think 4?)

commented

So I confirmed that the mod still works on Forge 40.2.0. I think that unfortunately means there's an incompatibility with one of the other mods you have installed. Of which you have many, so it'll it's going to be something that will take me a while to look into.

Any idea which mods you added when you had to upgrade forge? Might help me narrow down the options a bit!

commented

grafik
I have this, unfortunately I didn't take a screenshot when it said I should upgrade again after I chose that version.
Do you know if that gets saved in the crash report? I could look up my latest ones and send them.

commented

Alright, if you need any more info, just let me know. I hope I can help fix this bug that way.

commented

Not that I'm aware anyway. Will just have to dive in with the information provided but could take some time to find the source unfortunately

commented

Update on my side, the crash happened again. This time without your mod, but caused by a mod called tumbleweed. Can you check if there's an incompatibility?

The game crashed whilst rendering overlay
Error: java.lang.IllegalArgumentException: Failed to create model for minecraft:pig
crash-2023-02-01_14.22.24-client.txt

I will contact them as well.

commented

I also added a mod called "Haunted Harvest" after which the Tumbleweed crash happened (I confirmed it runs with tumbleweed deactivated) but I didn't have it in the modpack when I added your mod when the crash happened. I sent a crash report to pehkui as well since it changes models and I thought maybe that is interfering with something let me know if this helps in any way.

commented

Ok so sounds like the issue isn't limited to just CherryBlossomGrotto (a slight relief for me). Let me know if you get any updates from the other mod issues. I'm likely not going to have the time to look into this more till the weekend due to work

commented

Hm. I can do a reverse debug trial to see if it's connected to a chunk of other mods and narrow it down. I just might take a while, I been doing this for another bug in CBC the last few days and I'm exhausted from that (my excuse why I still try, if I don't there's not as much hope to find the issue, right).
I also have a lot of config thingies running that might make things go awry. Do you happen to know at which phase of the loading process configs come in play? If it's not the same phase where it crashes that means that the configs could be fine. My crash happens at 9/9 (though I notice a jump at 8/9 and the last thing I see is a Mojang logo and Better Foliage Plus showing up?) according to "Better Loading Screen". The others haven't yet replied so I guess it's time to take matters to myself and play Sherlock. I wonder where the null reference pointer exactly is, that would help a lot figure out what's happening but I am not so good at reading crash reports, sadly.

This here is a freeze up window. The last item I see being generated.
grafik

I also deacitvated Tumbleweed to see if they clash but nope.
latest.log
crash-2023-02-05_09.09.16-client.txt

commented

Doesn't seem to be a compatibility issue with Pehkui anyway. Tried that out and everything ran fine

commented

I found this in the latest log ๐Ÿค”

[09:09:16] [Render thread/ERROR]: Reported exception thrown!
net.minecraft.ReportedException: Rendering overlay
at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:886) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1046) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:665) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.2.0.jar%2317!/:?]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?]
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?]
Caused by: java.lang.IllegalArgumentException: Failed to create model for minecraft:pig
at net.minecraft.client.renderer.entity.EntityRenderers.m_174039_(EntityRenderers.java:153) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?]
at net.minecraft.client.renderer.entity.EntityRenderers.m_174049_(EntityRenderers.java:149) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.client.renderer.entity.EntityRenderDispatcher.m_6213_(EntityRenderDispatcher.java:333) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.ResourceManagerReloadListener.m_10759_(ResourceManagerReloadListener.java:15) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:784) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:795) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:784) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:795) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:784) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:795) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:784) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at com.mojang.blaze3d.systems.RenderSystem.m_69884_(RenderSystem.java:211) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at com.mojang.blaze3d.systems.RenderSystem.m_69495_(RenderSystem.java:198) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at com.mojang.blaze3d.platform.Window.m_85435_(Window.java:333) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1068) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
... 15 more
Caused by: java.lang.NullPointerException: null key in entry: null=com.deku.cherryblossomgrotto.client.renderers.KunaiRenderer@35412944
at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:31) ~[guava-31.0.1-jre.jar%2329!/:?]
at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:337) ~[guava-31.0.1-jre.jar%2329!/:?]
at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:447) ~[guava-31.0.1-jre.jar%2329!/:?]
at net.minecraft.client.renderer.entity.EntityRenderers.m_174039_(EntityRenderers.java:151) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?]
at net.minecraft.client.renderer.entity.EntityRenderers.m_174049_(EntityRenderers.java:149) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.client.renderer.entity.EntityRenderDispatcher.m_6213_(EntityRenderDispatcher.java:333) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.ResourceManagerReloadListener.m_10759_(ResourceManagerReloadListener.java:15) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:784) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:795) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:784) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:795) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:784) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:795) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:784) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at com.mojang.blaze3d.systems.RenderSystem.m_69884_(RenderSystem.java:211) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at com.mojang.blaze3d.systems.RenderSystem.m_69495_(RenderSystem.java:198) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at com.mojang.blaze3d.platform.Window.m_85435_(Window.java:333) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1068) ~[client-1.18.2-20220404.173914-srg.jar%23244!/:?]
... 15 more

commented

I went and single run checked about half of my mods. I'm at 101/190 now, test pending.
Edit: 124/190, taking a break.
This is the list of mods I've yet to check their compatibility/bug trigger on:

  • towns_and_towers_forge-1.10.0.1+1.18.2.jar
  • unordinary_basics-1.18.2-1.0.1.3.jar
  • untamedwilds-1.18.2-2.3.0.jar
  • VariantCraftingTables-1.18.2-1.7.0_1.jar
  • verdure-1.18.2-1.1.3a.jar
  • village-employment-1.18.2-1.5.1.jar
  • waystones-forge-1.18.2-10.1.0.jar
  • ArtisticCraft v0.16.1-1.18.2.jar
  • astikorcarts-1.18.2-1.1.2.jar
  • atmospheric-1.18.2-4.0.0.jar
  • benched-1.2.2-forge-mc1.18.jar
  • betterfoliage-3.1.4.jar
  • Beyond-Earth-1.18.2-6.2.jar
  • BiomesOPlenty-1.18.2-16.0.0.109-universal.jar
  • burgermod-2.8.0-1.18.2.jar
  • cell-lever-1.18-3.0.0.1.jar
  • ChinjufuMod[1.18.2]6.2.4.jar
  • ChunkByChunk-forge-1.18.2-1.12.2.jar
  • ChunkByChunk-forge-1.18.2-1.12.4.jar
  • citadel-1.11.3-1.18.2.jar
  • citydecor-1.1.1.jar
  • configured-2.0.0-1.18.2.jar
  • cookingforblockheads-forge-1.18.2-12.2.0.jar
  • creeperconfetti-3.11.jar
  • crittersandcompanions-1.18.2-1.0.2.jar
  • Curses_and_magic_1.6_1.18.2.jar
  • DungeonCrawl-1.18.2-2.3.10.jar
  • DynamicTrees-1.18.2-0.11.0-Beta5.jar
  • DynamicTreesBOP-1.18.2-3.0.0-Beta1.jar
  • DynamicTreesPlus-1.18.2-0.1.0-Beta1.jar
  • ExNihiloSequentia-1.18.2-20221113-044349.jar
  • fantasyfurniture-1.18.2-3.14.0.jar
  • FarmersRespite-1.18.2-1.3.0.jar
  • farmingforblockheads-forge-1.18.2-10.0.2.jar
  • FruitTrees-1.18.2-forge-5.0.1.jar
  • ftbbackups2-forge-1.18.2-1.0.17.jar
  • hedgehog-1.18.2-1.1.0.jar
  • horse_colors-1.18.2-1.8.0.jar
  • Jade-1.18.2-forge-5.2.6.jar
  • JustEnoughResources-1.18.2-0.14.1.171.jar
  • kleeslabs-forge-1.18.2-11.1.1.jar
  • Level-One-MC1.18.2-v1.6.0.jar
  • mcw-bridges-2.0.6-mc1.18.2forge.jar
  • mcw-doors-1.0.7-mc1.18.2.jar
  • mcw-fences-1.0.7-mc1.18.2forge.jar
  • mcwfencesbop-1.18.2-1.4.jar
  • mcw-roofs-2.2.2-mc1.18.2forge.jar
  • mcw-windows-2.1.1-mc1.18.2forge.jar
  • merenc-forge-1.18.x-v1.9.jar
  • movingelevators-1.3.11b-forge-mc1.18.jar
  • NaturalDecorMod1.18IIV0.1BETA.jar
  • NaturesCompass-1.18.2-1.9.7-forge.jar
  • Oh_The_Biomes_You'll_Go-forge-1.18.2-1.4.7.jar
  • overweightfarming-1.18.2-1.6.0-forge.jar
  • Patchouli-1.18.2-71.1.jar
  • Pehkui-3.6.3+1.18.2-forge.jar
  • polymorph-forge-1.18.2-0.46.jar
  • Quark-3.2-358.jar
  • SereneShrubbery-1.18.2-1.3.0.jar
  • SHAB (1.18.2) V1.0.2.jar
  • snowyspirit-1.18.2-1.3.2.jar
  • so_many_enchants-1.7.1 (1.18).jar
  • sophisticatedbackpacks-1.18.2-3.18.40.777.jar
  • sophisticatedcore-1.18.2-0.5.37.202.jar
  • spells_and_shields-1.18.2-1.9.2.jar
  • supplementaries-1.18.2-1.5.15.jar
commented

UPDATE! I added Astikorcarts to the mix and it crashed with the pig issue! Testing if it's really that mod, will inform the author if yes.

Log:
crash-2023-02-06_13.32.04-client.txt

latest.log

commented
commented

Can confirm, Astikor Carts is part of the problem, but also the ManyIdeas Doors. Tumbleweed and SakuraBlossomGrotto seem to clash with both. I will send both a report.

commented

Here a summary, I posted the exact same on the other pages.

Versions
Minecraft Version: 1.18.2
Minecraft Forge Version: 40.2.0
Mod Version: 0.4.4

Log files
Please append the log, debug-log and if available the crash-log files.

latest.log
2023-02-06-7.log.gz
crash-2023-02-06_14.07.02-client.txt
crash-2023-02-06_14.11.17-client.txt
crash-2023-02-06_13.32.04-client.txt
crash-2023-02-06_14.05.21-fml.txt
Not all may be relevant but I included them to see the full magnitude.
Modpack of 190 mods. There MIGHT be EVEN MORE culprits among these as I am still to test 57 mods that potentially can be innocent, though. Please do get in touch with the other authors linked below if you are not a cause but a bystander.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behaviour:

  1. Add following mods: SakuraBlossomGrotto (+ Terra Blender), this also happens with Tumbleweed, add Astikor's Carts. The game will crash when trying to create the pig model due to a NullPointerReferenceExeption.
    Disable either Astikor's Carts or both SakuraBlossomGrotto and Tumbleweed. If either AC, MID + SBG or T are together, the game crashes.

Expected behaviour
No crash, lol.

Screenshots
If applicable, add screenshots to help explain your problem.
grafik

Additional context

Other crash reports on the other mods
#36
konwboj/Tumbleweed#33 (no response yet)
GeheimagentNr1/ManyIdeasDoors#4
issork/astikor-carts#88

commented

You need to add ManyIdeas Doors to the mix. Those three mods work for me, as well, but it breaks once that mod and its two libraries are in.
crash-2023-02-07_06.52.39-client.txt

I created a new modpack and added them, it crashed as usual.
grafik

commented

I ran a test on Forge v40.2.0 with:

  • cherryblossomgrotto v0.4.4
  • terrablender v1.1.0.99
  • astikorcasts v1.1.2

And everything worked fine. Unfortunately wasn't able to reproduce your crash

commented

Ah I see. I didnt see manyideasdoors in your previous comment.

Well like you said, I was able to reproduce the crash when all those mods installed. I did the following tests on Forge v40.2.0:

  • cherryblossomgrotto v0.4.4

  • terrablender v1.1.0.99

  • astikorcasts v1.1.2

  • manyideascore v1.4.0

  • manyideasdoors v1.2.0

  • recipeslibrary v2.0.0
    RESULT: crash

  • astikorcasts v1.1.2

  • manyideascore v1.4.0

  • manyideasdoors v1.2.0

  • recipeslibrary v2.0.0
    RESULT: runs fine

  • cherryblossomgrotto v0.4.4

  • terrablender v1.1.0.99

  • manyideascore v1.4.0

  • manyideasdoors v1.2.0

  • recipeslibrary v2.0.0
    RESULT: runs fine

And given that my previous comment already tested with astikorcasts + cherryblossomgrotto and that was also running fine that means it only crashes when all those mods are present together at once.

But finally some progress! I couldn't figure out why this was happening but I took a look at the source for all the mods and found a common link in one thing between my mod and Tumbleweeds. Related to how we register our entities into the game. I made some changes to the mod and it ran! No crash!

Unfortunately though, this isn't a fix I can release straight away because unfortunately this change breaks another feature of the mod. So I need to fix the related issues to make this change compatible before I can close this issue out

commented

I just saw your reply now and, THANK YOU! ๐Ÿค—. I was starting to feel like I was imagining things or my hardware was to blame. That it's something you could find as well just gave me endless relief that those hours I poured into the debugging will pay off.
I am just curious, how exactly does that bug come to play? I am interested in code and game structure so I would love to know more - if you feel like sharing of course.
Take your time debugging, I will keep astikorcarts unloaded for until you found a stable way. Also, if you need me to test if it works with the rest of our mods, let me know. I will gladly give feedback.
Your reply really made my day. I hope it'll not be too difficult to fix the related issues. Thank you for your effort!