TARDIS

TARDIS

228k Downloads

Attempting to give a Keyboard Editor causes internal errors

DalekCraft2 opened this issue ยท 2 comments

commented

Describe the bug
Running /tgive <player> keyboard-editor <amount> causes internal errors.

To Reproduce

  1. See above.

Log files
Paste your server log (showing the whole server startup to when the error occurs) on a website like pastebin.com, and post a link here. Even if there are no errors in the log, it still contains useful information for troubleshooting.

16.05 16:04:43 [Server] INFO DalekCraft issued server command: /tgive DalekCraft keyboard-editor 1
16.05 16:04:43 [Server] ERROR null
16.05 16:04:43 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'tgive' in plugin TARDIS v4.6.1-b2265
16.05 16:04:43 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:810) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2171) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:1986) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1939) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:50) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:8) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:35) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1262) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1255) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1216) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1130) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:289) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO at java.lang.Thread.run(Thread.java:831) [?:?]
16.05 16:04:43 [Server] INFO Caused by: java.lang.NullPointerException: Cannot invoke "org.bukkit.inventory.ShapedRecipe.getResult()" because "recipe" is null
16.05 16:04:43 [Server] INFO at me.eccentric_nz.TARDIS.commands.admin.TARDISGiveCommand.giveItem(TARDISGiveCommand.java:240) ~[?:?]
16.05 16:04:43 [Server] INFO at me.eccentric_nz.TARDIS.commands.admin.TARDISGiveCommand.onCommand(TARDISGiveCommand.java:217) ~[?:?]
16.05 16:04:43 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.5.jar:git-Paper-"809466f2e"]
16.05 16:04:43 [Server] INFO ... 19 more

/tardis version output
Please include an output of your /tardis version.

10:21:52.240
[10:21:52] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [TARDIS] Server version: git-Paper-"809466f2e" (MC: 1.16.5)
10:21:52.240
[10:21:52] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [TARDIS] TARDIS version: 4.6.1-b2265
10:21:52.240
[10:21:52] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [TARDIS] TARDISChunkGenerator version: 4.6.1
10:21:52.240
[10:21:52] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [TARDIS] PlaceholderAPI version: 2.10.9
10:21:52.240
[10:21:52] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [TARDIS] LibsDisguises version: 10.0.24
10:21:52.240
[10:21:52] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [TARDIS] Essentials version: 2.18.2.0
10:21:52.240
[10:21:52] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [TARDIS] WorldGuard version: 7.0.4+f7ff984
10:21:52.240
[10:21:52] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [TARDIS] Multiverse-Core version: 4.2.2-b812
10:21:52.240
[10:21:52] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [TARDIS] CoreProtect version: 19.5
10:21:52.240
[10:21:52] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [TARDIS] WorldBorder version: 2.1.1
10:21:52.240
[10:21:52] [Render thread/INFO] [minecraft/NewChatGui]: [CHAT] [TARDIS] Checking for new TARDIS builds...
commented

Because there is no Keyboard Editor anymore - a0ae6bd
Removed from give tab complete.

commented

Oh, yeah, forgot about that.