FallingTree

FallingTree

39M Downloads

When Booting Server, Falling Tree mod failed to load correctly

NewUser198 opened this issue ยท 9 comments

commented

Describe the bug

Here is the crash report on my server side where it shows the mod Falling Tree having issue when load:
[I had tried to update the mod to the latest version 4.3.4 frbut the issue remain]
[after i delete the mod pack falling tree it can be booted normally.]

Here is the cmd logs:

Image

Image

Minecraft version

1.20.1

Forge version

v36

Mod version

4.3.4 and 4.3.3

Configuration

null

Relevant log output

Time: 2025-02-09 23:20:40
Description: Mod loading error has occurred

java.lang.Exception: Mod Loading has failed
	at net.minecraftforge.logging.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:60) ~[forge-1.20.1-47.3.12-universal.jar%23654!/:?] {re:mixin,re:classloading,pl:mixin:APP:connectormod.mixins.json:CrashReportExtenderMixin from mod connectormod,pl:mixin:A}

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: main
Suspected Mod: 
	FallingTree (fallingtree), Version: 4.3.4
		Issue tracker URL: https://github.com/Rakambda/FallingTree/issues
		at TRANSFORMER/[email protected]/fr.rakambda.fallingtree.common.config.proxy.ProxyConfiguration.<init>(ProxyConfiguration.java:18)
Stacktrace:
	at fr.rakambda.fallingtree.common.config.proxy.ProxyConfiguration.<init>(ProxyConfiguration.java:18) ~[FallingTree-1.20.1-4.3.4%20(1).jar%23466!/:4.3.4] {re:classloading}
-- MOD fallingtree --
Details:
	Caused by 0: java.lang.ExceptionInInitializerError
		at jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) ~[?:?] {}
		at jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) ~[?:?] {}
		at jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300) ~[?:?] {}
		at jdk.internal.reflect.MethodHandleAccessorFactory.newConstructorAccessor(MethodHandleAccessorFactory.java:103) ~[?:?] {}
		at jdk.internal.reflect.ReflectionFactory.newConstructorAccessor(ReflectionFactory.java:200) ~[?:?] {}
		at java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549) ~[?:?] {}
		at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] {}
		at java.lang.reflect.Constructor.newInstance(Constructor.java:486) ~[?:?] {}
		at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:77) ~[javafmllanguage-1.20.1-47.3.12.jar%23651!/:?] {}
		at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:124) ~[fmlcore-1.20.1-47.3.12.jar%23650!/:?] {re:mixin}
		at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
		at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
		at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1310) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1841) ~[?:?] {re:mixin,re:computing_frames}
		at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806) ~[?:?] {re:mixin,re:computing_frames}
		at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?] {re:mixin}

	Mod File: /C:/Users/victo/OneDrive/Desktop/MC-server/mods/FallingTree-1.20.1-4.3.4 (1).jar
	Failure message: FallingTree (fallingtree) has failed to load correctly
		java.lang.ExceptionInInitializerError: null
	Mod Version: 4.3.4
	Mod Issue URL: https://github.com/Rakambda/FallingTree/issues
	Exception message: java.lang.NullPointerException: Cannot invoke "fr.rakambda.fallingtree.common.config.IConfiguration.getTools()" because "delegate" is null

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: main
Suspected Mod: 
	FallingTree (fallingtree), Version: 4.3.4
		Issue tracker URL: https://github.com/Rakambda/FallingTree/issues
		at TRANSFORMER/[email protected]/fr.rakambda.fallingtree.common.config.proxy.ProxyConfiguration.<init>(ProxyConfiguration.java:18)
Stacktrace:
	at fr.rakambda.fallingtree.common.config.proxy.ProxyConfiguration.<init>(ProxyConfiguration.java:18) ~[FallingTree-1.20.1-4.3.4%20(1).jar%23466!/:4.3.4] {re:classloading}
-- MOD fallingtree --
Details:
	Caused by 0: java.lang.ExceptionInInitializerError
		at jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) ~[?:?] {}
		at jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) ~[?:?] {}
		at jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300) ~[?:?] {}
		at jdk.internal.reflect.MethodHandleAccessorFactory.newConstructorAccessor(MethodHandleAccessorFactory.java:103) ~[?:?] {}
		at jdk.internal.reflect.ReflectionFactory.newConstructorAccessor(ReflectionFactory.java:200) ~[?:?] {}
		at java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549) ~[?:?] {}
		at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] {}
		at java.lang.reflect.Constructor.newInstance(Constructor.java:486) ~[?:?] {}
		at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:77) ~[javafmllanguage-1.20.1-47.3.12.jar%23651!/:?] {}
		at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:124) ~[fmlcore-1.20.1-47.3.12.jar%23650!/:?] {re:mixin}
		at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
		at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
		at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1310) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1841) ~[?:?] {re:mixin,re:computing_frames}
		at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806) ~[?:?] {re:mixin,re:computing_frames}
		at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?] {re:mixin}

	Mod File: /C:/Users/victo/OneDrive/Desktop/MC-server/mods/FallingTree-1.20.1-4.3.4 (1).jar
	Failure message: FallingTree (fallingtree) has failed to load correctly
		java.lang.ExceptionInInitializerError: null
	Mod Version: 4.3.4
	Mod Issue URL: https://github.com/Rakambda/FallingTree/issues
	Exception message: java.lang.NullPointerException: Cannot invoke "fr.rakambda.fallingtree.common.config.IConfiguration.getTools()" because "delegate" is null
commented

Hmm, you say you use forge v36 which is for Minecraft 1.16.5 and not 1.20.1. Is this an error and you use v47 ?

-- System Details --
Details:
Minecraft Version: 1.20.1
Minecraft Version ID: 1.20.1

sorry about the forge version, i think it should be this version instate?

Image

commented

47.3.12 yeah

Can you share your FallingTree config file ?

commented

Hmm, you say you use forge v36 which is for Minecraft 1.16.5 and not 1.20.1. Is this an error and you use v47 ?

commented

That's probably the source of your error. You need to have a valid config file. Just delete the file completely and it'll be recreated properly.

ok, noted that, i will try that out

commented

47.3.12 yeah

Can you share your FallingTree config file ?

I think it rewrited after i removed the mod pack from the mod folder now is only a null value inside the file
Do you need to re add back the mod to recreate the issue nd check the config file again?
Image

commented

That's probably the source of your error. You need to have a valid config file.
Just delete the file completely and it'll be recreated properly.

commented

Hi, had just delete the config file and added back the mod pack back to the mod folder
Now it can be boot up normally with the falling tree mod.

Image

Check withe the config file seems normal now:

Image

May I know whether is this issue might re-occurred again and why it happend?

commented

It happened a few times to a few people. But I honestly have no idea why it happens. Don't even know if the cause is from the mod or from something else.
It's rather hard to reproduce as people don't really know what lead to the config being in that state, as they just see the consequence of it, when the next server/client start crashes.

I could change something to be more resilient when loading the config, but I think I won't do it for the simple reason that the config have been lost. For people that play with defaults settings that's fine, but for those that tweaked things they may wanna know that something went wrong.

As of now in the years of the mod it only happened a handful of times, so I'll consider it being not a pressing issue. However if it happens more and more or that someone manages to find reproducible steps, i'll look more into it.

commented

It happened a few times to a few people. But I honestly have no idea why it happens. Don't even know if the cause is from the mod or from something else. It's rather hard to reproduce as people don't really know what lead to the config being in that state, as they just see the consequence of it, when the next server/client start crashes.

I could change something to be more resilient when loading the config, but I think I won't do it for the simple reason that the config have been lost. For people that play with defaults settings that's fine, but for those that tweaked things they may wanna know that something went wrong.

As of now in the years of the mod it only happened a handful of times, so I'll consider it being not a pressing issue. However if it happens more and more or that someone manages to find reproducible steps, i'll look more into it.

Ok, seems legit enough, i will observe it as where whether it reoccurred again, and remain the log and config file at the time.
Thanks for your responses, really appreaciated.