LuckPerms

LuckPerms

1M Downloads

Crashes on server launch

Sasu-Crow opened this issue · 7 comments

commented

Description

Using the latest version of NeoForge, cannot start the world with this mod.

Reproduction Steps

  1. Start server
  2. Observe Console
  3. Crashes before world starts

Expected Behaviour

Server starts and players can connect.

Server Details

Neoforge 21.5.52-beta

LuckPerms Version

v5.4.158

Logs and Configs

crash-2025-04-22_06.17.11-server.txt
debug.log
latest.log

Extra Details

I have also tested on a freshly installed, locally-run server that has no other mods other than LuckPerms and the same version of NeoForge. It still crashes on the otherwise vanilla server.

commented
commented

Got the same issue

commented

I’m also experiencing this exact crash on Minecraft 1.21.5 with Forge 55.0.9 and LuckPerms Forge 5.4.158.

Crash error: java.lang.NoSuchMethodError: 'net.minecraft.resources.ResourceLocation net.minecraft.resources.ResourceLocation.m_339182_(...)'

This happens as soon as a player joins. Removing LuckPerms resolves the crash, so it's clearly the source. It looks like this is due to internal method changes in the latest Minecraft version.

If a 1.21.5-compatible Forge build of LuckPerms is planned or if there's a workaround, I’d be glad to test or help!

Installed mods (relevant):

  • LuckPerms Forge 5.4.158
  • Collective
  • Just Player Heads
  • Dungeons and Taverns
  • Ore Harvester

Server: Ubuntu 22.04, Java 21, Forge 55.0.9

commented

I’m also experiencing this exact crash on Minecraft 1.21.5 with Forge 55.0.9 and LuckPerms Forge 5.4.158.

Crash error: java.lang.NoSuchMethodError: 'net.minecraft.resources.ResourceLocation net.minecraft.resources.ResourceLocation.m_339182_(...)'

This happens as soon as a player joins. Removing LuckPerms resolves the crash, so it's clearly the source. It looks like this is due to internal method changes in the latest Minecraft version.

If a 1.21.5-compatible Forge build of LuckPerms is planned or if there's a workaround, I’d be glad to test or help!

Installed mods (relevant):

  • LuckPerms Forge 5.4.158
  • Collective
  • Just Player Heads
  • Dungeons and Taverns
  • Ore Harvester

Server: Ubuntu 22.04, Java 21, Forge 55.0.9

The issue of this post is regarding NeoForge modloader, while yours is Forge. I recommend you to post another issue thread.

commented

I made a fix PR. If you don't want to wait for this to be merged, you can download my build - https://github.com/EvilDragonfiend/LuckPerms/releases/tag/TemporaryBuild

commented

is that not a neoforge fix but my server runs forge
@EvilDragonfiend

commented

is that not a neoforge fix but my server runs forge @EvilDragonfiend

Your issue is quite different, you can at least start the server and crash happens when player join. OP, as well as me, have an issue where server doesn't even start due to config crash. Build that @EvilDragonfiend made fixes the issue for me.