Mod Crashes on server
GitCat3 opened this issue ยท 0 comments
Please complete the following information:
- Forge-Version: 1.18.2-40.1.82
- Mod-Version: 2.0.28.0-1.18.2
Describe the bug
The mod crashes with the following error when I try to add it to a server:
---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!
Time: 11/10/22, 8:37 PM
Description: Mod loading error has occurred
java.lang.Exception: Mod Loading has failed
at net.minecraftforge.logging.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:55) ~[forge-1.18.2-40.1.82-universal.jar%2350!/:?] {re:classloading}
at net.minecraftforge.server.loading.ServerModLoader.load(ServerModLoader.java:39) ~[forge-1.18.2-40.1.82-universal.jar%2350!/:?] {re:classloading}
at net.minecraft.server.Main.main(Main.java:112) ~[server-1.18.2-20220404.173914-srg.jar%2345!/:?] {re:classloading}
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.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:32) ~[fmlloader-1.18.2-40.1.82.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:?] {}
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: main
Stacktrace:
at com.github.elenterius.biomancy.init.ModMenuTypes.<clinit>(ModMenuTypes.java:43) ~[biomancy-2.0.28.0-1.18.2-forge.jar%2339!/:2.0.28.0] {re:classloading,pl:runtimedistcleaner:A}
-- MOD biomancy --
Details:
Caused by 0: java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] {}
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] {}
at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] {}
at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:67) ~[javafmllanguage-1.18.2-40.1.82.jar%2347!/:?] {}
at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:106) ~[fmlcore-1.18.2-40.1.82.jar%2346!/:?] {}
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:373) ~[?:?] {}
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {}
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {}
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {}
Mod File: /home/container/mods/biomancy-2.0.28.0-1.18.2-forge.jar
Failure message: Biomancy 2 (biomancy) has failed to load correctly
java.lang.reflect.InvocationTargetException: null
Mod Version: 2.0.28.0
Mod Issue URL: https://github.com/Elenterius/Biomancy/issues
Exception message: java.lang.NoSuchFieldError: SCREENS
Stacktrace:
at com.github.elenterius.biomancy.init.ModMenuTypes.<clinit>(ModMenuTypes.java:43) ~[biomancy-2.0.28.0-1.18.2-forge.jar%2339!/:2.0.28.0] {re:classloading,pl:runtimedistcleaner:A}
at com.github.elenterius.biomancy.BiomancyMod.<init>(BiomancyMod.java:41) ~[biomancy-2.0.28.0-1.18.2-forge.jar%2339!/:2.0.28.0] {re:classloading}
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] {}
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] {}
at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] {}
at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:67) ~[javafmllanguage-1.18.2-40.1.82.jar%2347!/:?] {}
at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:106) ~[fmlcore-1.18.2-40.1.82.jar%2346!/:?] {}
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:373) ~[?:?] {}
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {}
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {}
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {}
-- System Details --
Details:
Minecraft Version: 1.18.2
Minecraft Version ID: 1.18.2
Operating System: Linux (amd64) version 5.4.0-126-generic
Java Version: 17.0.1, GraalVM Community
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), GraalVM Community
Memory: 389793232 bytes (371 MiB) / 828375040 bytes (790 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 8
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz
Identifier: Intel64 Family 6 Model 62 Stepping 4
Microarchitecture: Ivy Bridge (Server)
Frequency (GHz): 3.70
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 8
Graphics card #0 name: unknown
Graphics card #0 vendor: unknown
Graphics card #0 VRAM (MB): 0.00
Graphics card #0 deviceId: unknown
Graphics card #0 versionInfo: unknown
Virtual memory max (MB): 48527.35
Virtual memory used (MB): 60945.48
Swap memory total (MB): 16383.99
Swap memory used (MB): 6904.74
JVM Flags: 6 total; -XX:ThreadPriorityPolicy=1 -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCIProduct -XX:-UnlockExperimentalVMOptions -Xms128M -Xmx2048M
ModLauncher: 9.1.3+9.1.3+main.9b69c82a
ModLauncher launch target: forgeserver
ModLauncher naming: srg
ModLauncher services:
mixin PLUGINSERVICE
eventbus PLUGINSERVICE
slf4jfixer PLUGINSERVICE
object_holder_definalize PLUGINSERVICE
runtime_enum_extender PLUGINSERVICE
capability_token_subclass PLUGINSERVICE
accesstransformer PLUGINSERVICE
runtimedistcleaner PLUGINSERVICE
mixin TRANSFORMATIONSERVICE
fml TRANSFORMATIONSERVICE
FML Language Providers:
[email protected]
lowcodefml@null
javafml@null
Mod List:
server-1.18.2-20220404.173914-srg.jar |Minecraft |minecraft |1.18.2 |COMMON_SET|Manifest: NOSIGNATURE
biomancy-2.0.28.0-1.18.2-forge.jar |Biomancy 2 |biomancy |2.0.28.0 |ERROR |Manifest: NOSIGNATURE
forge-1.18.2-40.1.82-universal.jar |Forge |forge |40.1.82 |COMMON_SET|Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90
Patchouli-1.18.2-71.1.jar |Patchouli |patchouli |1.18.2-71.1 |COMMON_SET|Manifest: NOSIGNATURE
geckolib-forge-1.18-3.0.54.jar |GeckoLib |geckolib3 |3.0.54 |COMMON_SET|Manifest: NOSIGNATURE
SewingKit-1.18.2-1.5.9.jar |Sewing Kit |sewingkit |1.5.9 |COMMON_SET|Manifest: NOSIGNATURE
jei-1.18.2-9.7.1.255.jar |Just Enough Items |jei |9.7.1.255 |COMMON_SET|Manifest: NOSIGNATURE
Crash Report UUID: a782a0a9-40ed-4226-9270-635b0b6e3e3f
FML: 40.1
Forge: net.minecraftforge:40.1.82
Expected behavior
The mod should run as normal