BlueMap crashes server on Forge MDK
See original GitHub issueJust like discussed on discord it seems that BlueMap is not functional in the Forge MDK, which is setting up a mapped/deobfuscated development environment. The server always crashes with a NoSuchMethodError referencing an unmapped/obfuscated method making running BlueMap in the standard development environment for Forge impossible.
This makes the development of a 3rd party extension for BlueMap on Forge very difficult. I probably wont bother with it anymore. Just leaving the issue here for visibility.
What i did / Steps to reproduce
- Download latest Forge MDK for MC 1.16
- Import in IntelliJ as Gradle project
- run “gradle genIntellijRuns”
- Download latest Forge 1.16 build of BlueMap (currently
BlueMap-1.5.2-forge-1.16.4.jar
) - Move downloaded JAR file into the IntelliJ project in
run/mods
- Set
eula=true
inrun/eula.txt
- Launch
runServer
Expected result
Server starts, accepts connections from MC and also from a web browser accessing localhost:8100.
Actual result
Server crashes and stops with a Stacktrace in console and run/logs/latest.log
:
java.lang.NoSuchMethodError: net.minecraft.server.MinecraftServer.func_195571_aL()Lnet/minecraft/command/Commands;
at de.bluecolored.bluemap.forge.ForgeMod.onServerStarting(ForgeMod.java:103) ~[bluemap:?] {re:classloading}
at net.minecraftforge.eventbus.ASMEventHandler_135_ForgeMod_onServerStarting_FMLServerStartingEvent.invoke(.dynamic) ~[?:?] {}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.fml.server.ServerLifecycleHooks.handleServerStarting(ServerLifecycleHooks.java:102) ~[forge:?] {re:classloading}
at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:65) ~[forge:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:643) ~[forge:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:233) ~[forge:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292] {}
Context
Minecraft:
1.16.5
Forge:
36.1.25
BlueMap Version:
1.5.2-forge-1.16.4
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
My hosted server crashes randomly, and i don't know what ...
Okay, so i am playing on a online hosting with around 80 mods, this just randomly happens when we play. Help please? [15:47:08]...
Read more >[SOLVED] Minecraft Forge Server crashes - Support
Hello, I found an error while loading minecraft forge server. I was looking for a solution on various forums, but unfortunately I didn't ......
Read more >StegiCraft - Modpacks - Minecraft - CurseForge
Fix crash from looking at some blocks. Less crashes with dedicated servers. The wands will not replace blocks where players and other entities ......
Read more >Re-Crafting Games: The Inner Life of Minecraft Modding - CORE
Screenshot of the #modder-support channel on Minecraft Forge Discord . ... she could say more, a bug in one of the mods caused...
Read more >Untitled
Bodenhammer speculum, Golang http server tutorial, Hana ayu wulandari, Armbanduhren herren ... The incredible crash dummies toys, Chiavetta's take out.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fk4dbad Yes, using
fg.deobf(
withfiles(
will not deobfuscate the .jar, there is a warning about this in the build log ^^Soo… FabricAPI 1.19 contains
fabric-command-api-v2
. And mod trying to findCaused by: java.lang.ClassNotFoundException: net.fabricmc.fabric.api.command.v1.CommandRegistrationCallback at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)