Project MMO

Project MMO

10M Downloads

v2.1.0 does not want to load in 1.19.2

ByucknahTheRed opened this issue ยท 0 comments

commented

Describe the bug
Server fails to load up and gives the following error.

[24Dec2022 01:23:37.859] [main/WARN] [net.minecraft.server.Main/]: Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safeMode
java.util.concurrent.ExecutionException: java.lang.ClassCastException: class java.util.HashMap cannot be cast to class harmonised.pmmo.config.codecs.DataSource (java.util.HashMap is in module java.base of loader 'bootstrap'; harmonised.pmmo.config.codecs.DataSource is in module [email protected] of loader 'TRANSFORMER' @3451f01d)
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
at net.minecraft.server.Main.main(Main.java:182) ~[server-1.19.2-20220805.130853-srg.jar%23167!/:?]
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:29) ~[fmlloader-1.19.2-43.2.0.jar%2367!/:?]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2354!/:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2354!/:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2354!/:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2354!/:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2354!/:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2354!/:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2354!/:?]
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?]
Caused by: java.lang.ClassCastException: class java.util.HashMap cannot be cast to class harmonised.pmmo.config.codecs.DataSource (java.util.HashMap is in module java.base of loader 'bootstrap'; harmonised.pmmo.config.codecs.DataSource is in module [email protected] of loader 'TRANSFORMER' @3451f01d)
at harmonised.pmmo.config.readers.MergeableCodecDataManager.lambda$postProcess$7(MergeableCodecDataManager.java:293) ~[pmmo-1.19-2.1.0.jar%23154!/:1.19-2.1.0]
at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
at harmonised.pmmo.config.readers.MergeableCodecDataManager.postProcess(MergeableCodecDataManager.java:293) ~[pmmo-1.19-2.1.0.jar%23154!/:1.19-2.1.0]
at harmonised.pmmo.config.readers.CoreLoader.onTagLoad(CoreLoader.java:44) ~[pmmo-1.19-2.1.0.jar%23154!/:1.19-2.1.0]
at harmonised.pmmo.config.readers.CoreLoader_onTagLoad_TagsUpdatedEvent.invoke(.dynamic) ~[pmmo-1.19-2.1.0.jar%23154!/:1.19-2.1.0]
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.3.jar%2351!/:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%2351!/:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%2351!/:?]
at net.minecraft.server.ReloadableServerResources.m_206868
(ReloadableServerResources.java:101) ~[server-1.19.2-20220805.130853-srg.jar%23167!/:?]
at net.minecraft.server.WorldLoader.m_214372
(WorldLoader.java:35) ~[server-1.19.2-20220805.130853-srg.jar%23167!/:?]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.Util.m_214652_(Util.java:781) ~[server-1.19.2-20220805.130853-srg.jar%23167!/:?]
at net.minecraft.Util.m_214679_(Util.java:770) ~[server-1.19.2-20220805.130853-srg.jar%23167!/:?]
at net.minecraft.server.Main.main(Main.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23167!/:?]

Expected behavior
It should launch normally, the previous version (1.0.2) for minecraft 1.19.2 launches without any issues on a hosted server, the newest version however fails.

Versions:

  • Minecraft: 1.19.2
  • Loader: Forge 43.2.0
  • PMMO: pmmo-1.19-2.1.0