ATM10 Server Crashing
Affected Product(s)
SpongeForge
Version
SpongeNeo 1.21.1-21.1.35-12.0.0-RC2002
Operating System
Windows 11
Java Version
1.21.1
Plugins/Mods
https://www.curseforge.com/minecraft/modpacks/all-the-mods-10/relations/dependencies
Describe the bug
When I run ATM10 without Sponge it works perfectly fine, but when I add SpongeNeo it crashes with the following console error:
[14:00:46.198] [main/ERROR] [loading.moddiscovery.ModFile/LOADING]: Access transformer file META-INF/accesstransformer.cfg provided by mod allthewizardgear does not exist! Exception in thread “main” java.lang.module.FindException: Module org.yaml.snakeyaml not found, required by space.arim.dazzleconf.ext.snakeyaml at java.base/java.lang.module.Resolver.findFail(Resolver.java:892) at java.base/java.lang.module.Resolver.resolve(Resolver.java:192) at java.base/java.lang.module.Resolver.resolve(Resolver.java:141) at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:491) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ModuleLayerHandler.buildLayer(ModuleLayerHandler.java:75) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ModuleLayerHandler.buildLayer(ModuleLayerHandler.java:87) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:90) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:74) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.run(BootstrapLauncher.java:210) at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:69)
I also attached the full log file if needed.
Link to logs
https://pastebin.com/1RY2DDSz
So one incompatibility:
- Spark has a new bug report that it's mistakenly shipping service manifests that JPMS won't allow us to change Refer to https://github.com/lucko/spark/issues/485 However, the fix for this can be as simple as using
- Fix: Spark for Sponge, from their website (https://spark.lucko.me/download)
- Observable - the hooks we have in both are not feasible unless both Sponge and Observable switch to use WrapOperation to be compatible with each other (because if Sponge uses WrapOperation, Observable will replace Sponge's tracking system points, which kinda defeats the purpose of plugins being able to list to events as the world changes.
- Pending this PR's verification that it's compatible fully, we'd likely need some more time on this one
- Placebo this is harder to make changes with as it involves Placebo's changing a line, or us at Sponge making further changes to keep events between the two platforms in sync (since Plugins can listen to events, we try to keep SpongeAPI events sync'ed with Mod events so Mod event listeners also get any further changes suggested from plugins).
- Being that this is a "core" library mod, the longer list
FastWorkbench-1.21-9.1.2.jar
irons_jewelry-1.21.1-1.0.4.jar
GatewaysToEternity-1.21.1-5.0.2.jar
moreoverlays-1.23.2-mc1.21-neoforge.jar
Apotheosis-1.21.1-8.1.2.jar
HostileNeuralNetworks-1.21.1-6.1.3.jar
servercore-neoforge-1.5.5+1.21.1.jar
ApothicAttributes-1.21.1-2.6.1.jar
PackMenu-1.21-7.0.2.jar
ApothicSpawners-1.21.1-1.2.0.jar
Placebo-1.21.1-9.6.4.jar
FastFurnace-1.21.1-9.0.0.jar
WitherSkeletonTweaks-1.21.1-10.0.2.jar
- There's an additional compatibility that I've not been able to trace down with some mod that is doing something with registries that results in an awkward error like
[17:18:55] [main/ERROR] [minecraft/Main]: Failed to start the minecraft server
net.neoforged.fml.ModLoadingException: Loading errors encountered:
- An uncaught parallel processing error has occurred.
java.lang.NullPointerException: Trying to access unbound value: ResourceKey[minecraft:block / evilcraft:gem_stone_torch]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.waitForFuture(ModLoader.java:281) ~[loader-4.0.35.jar%2360!/:4.0] {}
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.waitForTask(ModLoader.java:183) ~[loader-4.0.35.jar%2360!/:4.0] {}
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.runInitTask(ModLoader.java:163) ~[loader-4.0.35.jar%2360!/:4.0] {}
at TRANSFORMER/[email protected]/net.neoforged.neoforge.internal.CommonModLoader.begin(CommonModLoader.java:51) ~[neoforge-21.1.97-universal.jar%23511!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.neoforged.neoforge.server.loading.ServerModLoader.load(ServerModLoader.java:34) ~[neoforge-21.1.97-universal.jar%23511!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.server.Main.main(Main.java:124) ~[server-1.21.1-20240808.144430-srg.jar%23510!/:?] {re:mixin,re:classloading,pl:mixin:A}
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?] {}
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?] {}
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:136) ~[loader-4.0.35.jar%2360!/:4.0] {}
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.serverService(CommonLaunchHandler.java:128) ~[loader-4.0.35.jar%2360!/:4.0] {}
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonServerLaunchHandler.runService(CommonServerLaunchHandler.java:32) ~[loader-4.0.35.jar%2360!/:4.0] {}
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.lambda$launchService$4(CommonLaunchHandler.java:118) ~[loader-4.0.35.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:?] {}
- Servercore-neoforge This one is going to be an incompatibility based on our usage of Configurate and Snakeyaml, which we ship as 1.x and servercore requires snakeyaml 2. This won't be easy to fix as we won't be able to update that until later. This I think will be permanently incompatible.
Just giving an update:
- Placebo 9.6.5 has the commit that fixes compatibility
- SpongeNeo 1.21.1-21.1.35-12.0.1-RC2013 has some compatibility fixes as mentioned above, with observability apparently "functioning".
There is still a startup issue that I'm tracing down that's still not resolved in the modpack.
About the snakeyaml issue: servercore ships snakeyaml 2.2 sponge ships snakeyaml 1.28 This is likely what cause the error.
A temporary workaround is to remove the snakeyaml entry in sponge-libraries.json in the sponge jar.
~~A proper fix might be to update snakeyaml to a newer version in sponge.~~
The proper fix will be to update configurate-yaml once it released.
Fixed compat with MrCrayfishFurnitureMod-Refurbished.
Identified other problems:
- Script
kubejs/startup_scripts/CustomAdditions.jsStartupEvents.registry('block', ...)causes the server to hang. - AllTheLeaks does a cast to
EventBustoo : https://github.com/pietro-lopes/AllTheLeaks/blob/c5b2015dab3b3ff84797e8c91caa1c0c87657a46/src/main/java/dev/uncandango/alltheleaks/leaks/common/mods/neoforge/Issue1486.java#L36
Identified a client error during login :
[14Feb2025 20:03:51.496] [Render thread/ERROR] [net.neoforged.neoforge.network.handlers.ClientPayloadHandler/]: Failed to handle registry sync from server.
java.lang.NullPointerException: null
at MC-BOOTSTRAP/[email protected]/com.google.common.collect.Iterators$6.transform(Iterators.java:829) ~[guava-32.1.2-jre.jar%23124!/:?]
at MC-BOOTSTRAP/[email protected]/com.google.common.collect.TransformedIterator.next(TransformedIterator.java:52) ~[guava-32.1.2-jre.jar%23124!/:?]
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?]
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:?]
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at TRANSFORMER/[email protected]/net.minecraft.world.entity.ai.attributes.DefaultAttributes.validate(DefaultAttributes.java:191) ~[client-1.21.1-20240808.144430-srg.jar%23595!/:?]
at TRANSFORMER/[email protected]/net.neoforged.neoforge.registries.NeoForgeRegistryCallbacks$AttributeCallbacks.onBake(NeoForgeRegistryCallbacks.java:100) ~[neoforge-21.1.116-universal.jar%23596!/:?]
at TRANSFORMER/[email protected]/net.minecraft.core.MappedRegistry.lambda$freeze$7(MappedRegistry.java:370) ~[client-1.21.1-20240808.144430-srg.jar%23595!/:?]
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ~[?:?]
at TRANSFORMER/[email protected]/net.minecraft.core.MappedRegistry.freeze(MappedRegistry.java:370) ~[client-1.21.1-20240808.144430-srg.jar%23595!/:?]
at TRANSFORMER/[email protected]/net.neoforged.neoforge.registries.RegistryManager.applySnapshot(RegistryManager.java:211) ~[neoforge-21.1.116-universal.jar%23596!/:?]
at TRANSFORMER/[email protected]/net.neoforged.neoforge.registries.RegistryManager.lambda$applySnapshot$1(RegistryManager.java:146) ~[neoforge-21.1.116-universal.jar%23596!/:?]
at java.base/java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1603) ~[?:?]
at TRANSFORMER/[email protected]/net.neoforged.neoforge.registries.RegistryManager.applySnapshot(RegistryManager.java:136) ~[neoforge-21.1.116-universal.jar%23596!/:?]
at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.handlers.ClientPayloadHandler.handle(ClientPayloadHandler.java:74) ~[neoforge-21.1.116-universal.jar%23596!/:?]
at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.handling.DirectionalPayloadHandler.handle(DirectionalPayloadHandler.java:17) ~[neoforge-21.1.116-universal.jar%23596!/:?]
at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.handling.MainThreadPayloadHandler.lambda$handle$0(MainThreadPayloadHandler.java:16) ~[neoforge-21.1.116-universal.jar%23596!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:60) ~[client-1.21.1-20240808.144430-srg.jar%23595!/:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:148) ~[client-1.21.1-20240808.144430-srg.jar%23595!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[client-1.21.1-20240808.144430-srg.jar%23595!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[client-1.21.1-20240808.144430-srg.jar%23595!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:111) ~[client-1.21.1-20240808.144430-srg.jar%23595!/:?]
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.runTick(Minecraft.java:1155) ~[client-1.21.1-20240808.144430-srg.jar%23595!/:?]
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.run(Minecraft.java:807) ~[client-1.21.1-20240808.144430-srg.jar%23595!/:?]
at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:230) ~[client-1.21.1-20240808.144430-srg.jar%23595!/:?]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:136) ~[loader-4.0.35.jar%23106!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:124) ~[loader-4.0.35.jar%23106!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonClientLaunchHandler.runService(CommonClientLaunchHandler.java:32) ~[loader-4.0.35.jar%23106!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.lambda$launchService$4(CommonLaunchHandler.java:118) ~[loader-4.0.35.jar%23106!/:4.0]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-11.0.4.jar%23133!/:?]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-11.0.4.jar%23133!/:?]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-11.0.4.jar%23133!/:?]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:103) [modlauncher-11.0.4.jar%23133!/:?]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:74) [modlauncher-11.0.4.jar%23133!/:?]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-11.0.4.jar%23133!/:?]
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-11.0.4.jar%23133!/:?]
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:?]
The error disappears when commenting out our sponge:human entity and attributes registration.
EDIT: Fixed.
AllTheLeaks 0.1.15 fixed.
Spark-NeoForge 1.10.124 fixed.
Fixed compat with servercore and kubejs. The server now starts and is joignable but there are major chunks errors resulting in world corruption.
Fixed compatibility with owo-lib.
The world corruption is related to ae2. When Sponge is present, the spatial world is written to the same directory as overworld.
World corruption has been fixed.
All known crashes and corruptions have been fixed so I'm closing this issue. Feel free to open new issues if others appear.