
[Bug]: 2.3.2 jar suddenly stopped working
Verdux opened this issue ยท 1 comments
What happened?
I've been getting a startup error for the past few days and the plugin just suddenly stopped working on my 1.21.3 paper server. I'm using the 2.3.2 jar you posted in the other issue. (it says 2.3.1 in the error, I just assume you didn't update the internal version)
The error:
[09:10:54] [Server thread/INFO]: [ChatPointsTTV] Enabling ChatPointsTTV v2.3.1 [09:10:54] [Server thread/ERROR]: Error occurred while enabling ChatPointsTTV v2.3.1 (Is it up to date?) java.lang.NullPointerException: Cannot invoke "org.bukkit.command.PluginCommand.getUsage()" because the return value of "org.bukkit.Bukkit.getPluginCommand(String)" is null at ChatPointsTTV-2.3.2.jar/me.gosdev.chatpointsttv.CommandController.<init>(CommandController.java:25) ~[ChatPointsTTV-2.3.2.jar:?] at ChatPointsTTV-2.3.2.jar/me.gosdev.chatpointsttv.ChatPointsTTV.onEnable(ChatPointsTTV.java:241) ~[ChatPointsTTV-2.3.2.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[paper-api-1.21.3-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.21.3.jar:1.21.3-82-5a60ffb] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.21.3.jar:1.21.3-82-5a60ffb] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-api-1.21.3-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:655) ~[paper-1.21.3.jar:1.21.3-82-5a60ffb] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:604) ~[paper-1.21.3.jar:1.21.3-82-5a60ffb] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:768) ~[paper-1.21.3.jar:1.21.3-82-5a60ffb] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:530) ~[paper-1.21.3.jar:1.21.3-82-5a60ffb] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:326) ~[paper-1.21.3.jar:1.21.3-82-5a60ffb] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1235) ~[paper-1.21.3.jar:1.21.3-82-5a60ffb] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:340) ~[paper-1.21.3.jar:1.21.3-82-5a60ffb] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?] [09:10:54] [Server thread/INFO]: [ChatPointsTTV] Disabling ChatPointsTTV v2.3.1
Steps to reproduce the issue
Unsure, it was working then suddenly broke on startup
Minecraft Version
1.21.3
Server Software
Paper
Server Version
1.21.3
Log file
I tried to replicate your issue but I was unable to do so. I tried both the latest Paper 1.21.4 and 1.21.3 versions.
May I get some extra information, such as the exact Paper version (i.e. #164) or any extra plugins you may have?
Also, I'll be moving this conversation into a discussion as this doesen't seem to be a bug at first glace.
PD: don't worry about the not-matching version. As you imagined I did not change the internal version because that would trigger an update message to all users (with a working plugin) to download a hotfix that temporally patches the plugin failing to start, and that wouldn't make much sense.