MehVahdJukaar / TrickOrTreatMod

4 stars 10 forks source link

`NoSuchFieldError: AGE` Crash with Haunted Harvest Mod #36

Open YumatanGames opened 1 year ago

YumatanGames commented 1 year ago

Bug Description

While creating a personal modpack and exploring the world in creative mode, my Minecraft session unexpectedly crashed. The crash report attributes this to a NoSuchFieldError: AGE error. Typically, this error is thrown when the JVM tries to access or modify a field that doesn't exist in a class. It appears that the Haunted Harvest mod is trying to access an 'AGE' field from an object where this field is absent, leading to the crash.

Steps to Reproduce

The crash occurs unpredictably during world exploration and is not tied to a specific action or area. However, the general conditions leading to the crash are as follows:

  1. Launch the modpack I've linked bellow, with the Haunted Harvest mod (version 3.1.10) installed, running on Fabric Loader 0.14.21 and Minecraft version 1.20.1.
  2. Create a new world or load an existing one.
  3. Begin flying around in creative mode to explore the world.

I spent a significant amount of time in the same area before the crash occurred, which seems to suggest that the issue is random and not linked to a particular action or region.

Expected Behavior

The game should allow for uninterrupted world exploration and gameplay, without any crashes.

Actual Behavior

The game crashes unexpectedly during world exploration. The crash report highlights the Haunted Harvest mod as the likely source of the error. I assume it could also be some unexpected interaction with some of the mods or datapacks.

Minecraft Version

Additional Information

The issue occurred in a heavily modded game environment with 300+ mods and 33 datapacks. For reproduction of the exact game environment and potential replication of the issue, the modpack used can be downloaded from the following link: Modpack Download

The full crash report is also available for further investigation:

Crash Report

I wanted to end this on a high note. I absolutely adore your Haunted Harvest mod. It's such a unique idea and adds so much fun to the game. I really hope this report helps in some way to make it even better. For now, I'll have to remove it from my modpack, which really bums me out, but I hope to add it back soon! Keep up the awesome work and thank you for all the effort you put into this mod. It's much appreciated!

MehVahdJukaar commented 1 year ago

hm cant replicate this. try the new file i uploaded and spawn some barns with place structure. problem seemed to be with ones that spawn with flax. Thanks glad you like the mod!

YumatanGames commented 1 year ago

I appreciate the speed on which you tried fixing it. Just downloaded the new version, I'll let you know if I found the issue again! :D

MisakiCopperrose commented 1 year ago

Hi all, I am also having the same problem, but with version 3.1.11 of the mod, fabric version is the same as above.

crash-2023-07-31_22.10.50-server.txt