
Cannot read field "entityAllowList" on server start
Closed this issue ยท 1 comments
Minecraft Version
1.21.1 (LTS)
Mod Loader
NeoForge
Describe the Issue
Had a crash on server launch this morning (enigmatica10, 1.20:
[01Apr2025 06:02:20.733] [modloading-worker-0/ERROR] [net.neoforged.fml.javafmlmod.FMLModContainer/LOADING]: Failed to create mod instance. ModID: forgivingvoid, class net.blay09.mods.forgivingvoid.NeoForgeForgivingVoid
java.lang.NullPointerException: Cannot read field "entityAllowList" because the return value of "net.blay09.mods.forgivingvoid.ForgivingVoidConfig.getActive()" is null
at TRANSFORMER/[email protected]/net.blay09.mods.forgivingvoid.ForgivingVoid.initialize(ForgivingVoid.java:36) ~[forgivingvoid-neoforge-1.21.1-21.1.2.jar%23522!/:21.1.2]
at TRANSFORMER/[email protected]/net.blay09.mods.balm.neoforge.NeoForgeBalmRuntime.initialize(NeoForgeBalmRuntime.java:186) ~[balm-neoforge-1.21.1-21.0.31.jar%23444!/:21.0.31]
at TRANSFORMER/[email protected]/net.blay09.mods.balm.neoforge.NeoForgeBalmRuntime.initialize(NeoForgeBalmRuntime.java:58) ~[balm-neoforge-1.21.1-21.0.31.jar%23444!/:21.0.31]
at TRANSFORMER/[email protected]/net.blay09.mods.balm.api.Balm.initialize(Balm.java:32) ~[balm-neoforge-1.21.1-21.0.31.jar%23444!/:21.0.31]
at TRANSFORMER/[email protected]/net.blay09.mods.forgivingvoid.NeoForgeForgivingVoid.<init>(NeoForgeForgivingVoid.java:16) ~[forgivingvoid-neoforge-1.21.1-21.1.2.jar%23522!/:21.1.2]
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:?]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:115) ~[loader-4.0.38.jar%2360!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.lambda$constructMods$3(ModLoader.java:153) ~[loader-4.0.38.jar%2360!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.lambda$dispatchParallelTask$7(ModLoader.java:231) ~[loader-4.0.38.jar%2360!/:4.0]
at java.base/java.util.concurrent.CompletableFuture.uniHandle(Unknown Source) [?:?]
at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(Unknown Source) [?:?]
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source) [?:?]
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:?]
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) [?:?]
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source) [?:?]
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:?]
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:?]
followed by
[01Apr2025 06:02:47.915] [main/ERROR] [net.minecraft.server.Main/FATAL]: Failed to start the minecraft server
net.neoforged.fml.ModLoadingException: Loading errors encountered:
- Forgiving Void (forgivingvoid) has failed to load correctly
java.lang.NullPointerException: Cannot read field "entityAllowList" because the return value of "net.blay09.mods.forgivingvoid.ForgivingVoidConfig.getActive()" is null
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.waitForFuture(ModLoader.java:281) ~[loader-4.0.38.jar%2360!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.dispatchParallelTask(ModLoader.java:244) ~[loader-4.0.38.jar%2360!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.constructMods(ModLoader.java:152) ~[loader-4.0.38.jar%2360!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:142) ~[loader-4.0.38.jar%2360!/:4.0]
at TRANSFORMER/[email protected]/net.neoforged.neoforge.internal.CommonModLoader.begin(CommonModLoader.java:49) ~[neoforge-21.1.133-universal.jar%23407!/:?]
at TRANSFORMER/[email protected]/net.neoforged.neoforge.server.loading.ServerModLoader.load(ServerModLoader.java:34) ~[neoforge-21.1.133-universal.jar%23407!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.Main.main(Main.java:124) ~[server-1.21.1-20240808.144430-srg.jar%23406!/:?]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:136) ~[loader-4.0.38.jar%2360!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.serverService(CommonLaunchHandler.java:128) ~[loader-4.0.38.jar%2360!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonServerLaunchHandler.runService(CommonServerLaunchHandler.java:32) ~[loader-4.0.38.jar%2360!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.lambda$launchService$4(CommonLaunchHandler.java:118) ~[loader-4.0.38.jar%2360!/:4.0]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-11.0.4.jar%2362!/:?]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-11.0.4.jar%2362!/:?]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-11.0.4.jar%2362!/:?]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:103) [modlauncher-11.0.4.jar%2362!/:?]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:74) [modlauncher-11.0.4.jar%2362!/:?]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-11.0.4.jar%2362!/:?]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-11.0.4.jar%2362!/:?]
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.run(BootstrapLauncher.java:210) [bootstraplauncher-2.0.2.jar:?]
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:69) [bootstraplauncher-2.0.2.jar:?]
Logs
Duplicate of #48