Copycats crashes on forge server startup [Bug]
forest-cat opened this issue ยท 3 comments
Describe the bug
The Copycats mod crashes a forge server with only create and itself
To Reproduce
Steps to reproduce the behavior:
- Have a forge server or create one
- Install create and copycats
- Try starting the server by executing the
run.sh
file
Expected behavior
The server to load normal without crashing
Screenshots
Not needed
Desktop (please complete the following information):
- Minecraft Version:
1.20.1
- Mod Loader:
Forge 1.20.1-47.3.0
- Mod Version:
copycats-2.0.0+mc.1.20.1-forge
- Create Version:
create-1.20.1-0.5.1.f
Additional context
Crash Report:
---- Minecraft Crash Report ----
// Why is it breaking :(
Time: 2024-07-18 20:21:20
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.0-universal.jar%23110!/:?] {re:classloading}
at net.minecraftforge.server.loading.ServerModLoader.load(ServerModLoader.java:37) ~[forge-1.20.1-47.3.0-universal.jar%23110!/:?] {re:classloading}
at net.minecraft.server.Main.main(Main.java:125) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:mixin,re:classloading,pl:mixin:A}
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.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.3.0.jar%2369!/:?] {}
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.serverService(CommonLaunchHandler.java:103) ~[fmlloader-1.20.1-47.3.0.jar%2369!/:?] {}
at net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$makeService$0(CommonServerLaunchHandler.java:27) ~[fmlloader-1.20.1-47.3.0.jar%2369!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {}
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: main
Suspected Mods: NONE
Stacktrace:
at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:57) ~[fmlloader-1.20.1-47.3.0.jar%2369!/:1.0] {}
-- MOD copycats --
Details:
Caused by 0: java.lang.ExceptionInInitializerError
at com.copycatsplus.copycats.forge.CopycatsImpl.<init>(CopycatsImpl.java:22) ~[copycats-2.0.0+mc.1.20.1-forge.jar%23102!/:?] {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:70) ~[javafmllanguage-1.20.1-47.3.0.jar%23107!/:?] {}
at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:124) ~[fmlcore-1.20.1-47.3.0.jar%23106!/:?] {}
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/forestcat/Desktop/testforgeserver/mods/copycats-2.0.0+mc.1.20.1-forge.jar
Failure message: Create: Copycats+ (copycats) has failed to load correctly
java.lang.ExceptionInInitializerError: null
Mod Version: 2.0.0+mc.1.20.1-forge
Mod Issue URL: https://github.com/copycats-plus/copycats/issues
Exception message: java.lang.RuntimeException: Attempted to load class net/minecraft/client/resources/model/BakedModel for invalid dist DEDICATED_SERVER
Stacktrace:
at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:57) ~[fmlloader-1.20.1-47.3.0.jar%2369!/:1.0] {}
at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.10.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.10.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.10.jar:?] {}
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] {}
at com.copycatsplus.copycats.CCCreativeTabs.<clinit>(CCCreativeTabs.java:14) ~[copycats-2.0.0+mc.1.20.1-forge.jar%23102!/:?] {re:classloading}
at com.copycatsplus.copycats.forge.CopycatsImpl.<init>(CopycatsImpl.java:22) ~[copycats-2.0.0+mc.1.20.1-forge.jar%23102!/:?] {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:70) ~[javafmllanguage-1.20.1-47.3.0.jar%23107!/:?] {}
at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:124) ~[fmlcore-1.20.1-47.3.0.jar%23106!/:?] {}
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.20.1
Minecraft Version ID: 1.20.1
Operating System: Linux (amd64) version 6.6.39
Java Version: 17.0.7, N/A
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 147879392 bytes (141 MiB) / 402653184 bytes (384 MiB) up to 8401190912 bytes (8012 MiB)
CPUs: 8
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Identifier: Intel64 Family 6 Model 94 Stepping 3
Microarchitecture: Skylake (Client)
Frequency (GHz): 4.00
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 8
Graphics card #0 name: Navi 23 [Radeon RX 6600/6600 XT/6600M]
Graphics card #0 vendor: Advanced Micro Devices, Inc. [AMD/ATI] (0x1002)
Graphics card #0 VRAM (MB): 258.00
Graphics card #0 deviceId: 0x73ff
Graphics card #0 versionInfo: unknown
Virtual memory max (MB): 25027.13
Virtual memory used (MB): 6900.07
Swap memory total (MB): 9009.20
Swap memory used (MB): 0.00
JVM Flags: 0 total;
ModLauncher: 10.0.9+10.0.9+main.dcd20f30
ModLauncher launch target: forgeserver
ModLauncher naming: srg
ModLauncher services:
mixin-0.8.5.jar mixin PLUGINSERVICE
eventbus-6.0.5.jar eventbus PLUGINSERVICE
fmlloader-1.20.1-47.3.0.jar slf4jfixer PLUGINSERVICE
fmlloader-1.20.1-47.3.0.jar object_holder_definalize PLUGINSERVICE
fmlloader-1.20.1-47.3.0.jar runtime_enum_extender PLUGINSERVICE
fmlloader-1.20.1-47.3.0.jar capability_token_subclass PLUGINSERVICE
accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE
fmlloader-1.20.1-47.3.0.jar runtimedistcleaner PLUGINSERVICE
modlauncher-10.0.9.jar mixin TRANSFORMATIONSERVICE
modlauncher-10.0.9.jar fml TRANSFORMATIONSERVICE
FML Language Providers:
[email protected]
lowcodefml@null
javafml@null
Mod List:
server-1.20.1-20230612.114412-srg.jar |Minecraft |minecraft |1.20.1 |COMMON_SET|Manifest: NOSIGNATURE
mixinextras-forge-0.3.2.jar |MixinExtras |mixinextras |0.3.2 |COMMON_SET|Manifest: NOSIGNATURE
forge-1.20.1-47.3.0-universal.jar |Forge |forge |47.3.0 |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
flywheel-forge-1.20.1-0.6.10-7.jar |Flywheel |flywheel |0.6.10-7 |COMMON_SET|Manifest: NOSIGNATURE
create-1.20.1-0.5.1.f.jar |Create |create |0.5.1.f |COMMON_SET|Manifest: NOSIGNATURE
copycats-2.0.0+mc.1.20.1-forge.jar |Create: Copycats+ |copycats |2.0.0+mc.1.20.1-forg|ERROR |Manifest: NOSIGNATURE
Crash Report UUID: b84a9bd4-8b91-42eb-a44b-8838b2385a10
FML: 47.3
Forge: net.minecraftforge:47.3.0
Closed as duplicate of #101
Already closed but I should mention that the Flywheel JAR is not needed on the server, and also by Create 0.5.1.f in general as flywheel already comes with the Create JAR
@forest-cat
Already closed but I should mention that the Flywheel JAR is not needed on the server, and also by Create 0.5.1.f in general as flywheel already comes with the Create JAR @forest-cat
Yes i know, flywheel is already merged with create. It just shows up here because its still there, but the create mod puts it there by itself. I only added the create and copycat .jars