Skip to content

Error at startup of server affecting login #371

Description

@wrenhal

This wasn't happening before, but recently started, so I updated both minecraft and LoginSecurity
I'm running craftbukkit-1.21.11 on a Debian box using Crafty Controller 4.90. I was using LoginSecurity 3.3.0, but updated to 3.3.1.
When I start the server, I get the following error:
[Server thread/ERROR]: [LoginSecurity] Plugin LoginSecurity v3.3.1 has failed to register events for class com.lenis0012.bukkit.loginsecurity.modules.general.PlayerListener because org/spigotmc/event/player/PlayerSpawnLocationEvent does not exist.
When I open Minecraft client, I get the message to login, but the screen is no longer blurred, and I can interact with the world. I try to login, but it never accepts the login password and keeps asking. If I try 4 times I get kicked for 4 bad login attempts.
I even tried removing my existing LoginSecurity folder under plugins expecting to have to reregister, but same error on startup and can't register properly.
Other than that, the only other troubleshooting I've done is changing the "enum-compatibility-mode:" to true.
Oh, and in the server logs, I get the following error when I try to login:
[Craft Scheduler Thread - 1/WARN]: [LoginSecurity] Plugin LoginSecurity v3.3.1 generated an exception while executing task 10
java.lang.IllegalArgumentException: name cannot be null
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:141)
at org.bukkit.craftbukkit.v1_21_R7.CraftServer.getPlayer(CraftServer.java:592)
at org.bukkit.Bukkit.getPlayer(Bukkit.java:659)
at com.lenis0012.bukkit.loginsecurity.session.PlayerSession.getPlayer(PlayerSession.java:131)
at com.lenis0012.bukkit.loginsecurity.session.AuthAction.rehabPlayer(AuthAction.java:49)
at com.lenis0012.bukkit.loginsecurity.session.action.LoginAction.run(LoginAction.java:27)
at com.lenis0012.bukkit.loginsecurity.session.PlayerSession.performAction(PlayerSession.java:169)
at com.lenis0012.bukkit.loginsecurity.commands.CommandLogin.lambda$execute$1(CommandLogin.java:67)
at org.bukkit.craftbukkit.v1_21_R7.scheduler.CraftTask.run(CraftTask.java:77)
at org.bukkit.craftbukkit.v1_21_R7.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions