7个月前
新鑫,输入错误的邀请码后后台报错如下 [21:45:25] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'xpit' in plugin XinxinPokeInvitation v1.0.0-SNAPSHOT at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[PluginCommand.class:git-CatServer-1.12.2-2bce5d5] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) ~[SimpleCommandMap.class:git-CatServer-1.12.2-2bce5d5] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:710) ~[CraftServer.class:git-CatServer-1.12.2-2bce5d5] at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1650) [pa.class:?] at net.minecraft.network.NetHandlerPlayServer.chat(NetHandlerPlayServer.java:1524) [pa.class:?] at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer.chat(CraftPlayer.java:285) [CraftPlayer.class:git-CatServer-1.12.2-2bce5d5] at me.arasple.mc.trmenu.api.action.impl.ActionCommandOp$onExecute$1.run(ActionCommandOp.kt:17) [%5B菜单%5DTrMenu-2.04.jar:?] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) [CraftTask.class:git-CatServer-1.12.2-2bce5d5] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:421) [CraftScheduler.class:git-CatServer-1.12.2-2bce5d5] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:882) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:474) [nz.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:826) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:685) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_291] Caused by: java.lang.NullPointerException at com.xinxin.XinxinPokeInvitation.Xinxin_Command.onCommand(Xinxin_Command.java:72) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[PluginCommand.class:git-CatServer-1.12.2-2bce5d5] ... 13 more