question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BlueMap crashes server on Forge MDK

See original GitHub issue

Just 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 in run/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:closed
  • Created 2 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
TBlueFcommented, Jun 8, 2021

@fk4dbad Yes, using fg.deobf( with files( will not deobfuscate the .jar, there is a warning about this in the build log ^^

0reactions
syorito-hatsukicommented, Jul 25, 2022

Soo… FabricAPI 1.19 contains fabric-command-api-v2. And mod trying to find Caused by: java.lang.ClassNotFoundException: net.fabricmc.fabric.api.command.v1.CommandRegistrationCallback at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)

So maybe good updated libs in fabric build from V1 to V2
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found