Bug Report
Bossbirdyman51 opened this issue ยท 0 comments
Bug report
What are you trying to do ?
If i take command /zh list I have this error :
Description of the task to be done goes here.
What is the expected behavior ?
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.github.zedd7.zhorse.managers.CommandManager.onCommand(CommandManager.java:47)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:752)
at net.minecraft.server.v1_15_R1.PlayerConnection.handleCommand(PlayerConnection.java:1825)
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1633)
at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:47)
at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23)
at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18)
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136)
at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109)
at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1089)
at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1082)
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119)
at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1046)
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:962)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException: Name is null
at java.lang.Enum.valueOf(Enum.java:236)
at org.bukkit.entity.EntityType.valueOf(EntityType.java:23)
at com.github.zedd7.zhorse.commands.CommandList.buildVariantMessage(CommandList.java:116)
at com.github.zedd7.zhorse.commands.CommandList.buildDeadHorseList(CommandList.java:168)
at com.github.zedd7.zhorse.commands.CommandList.execute(CommandList.java:49)
at com.github.zedd7.zhorse.commands.CommandList.(CommandList.java:31)
... 23 more
Description of the expected behavior goes here.
What is the actual behavior ?
- Operating system :
Debian 9
- Java version :
8
- Server version :
Paper Latest
- ZHorse version :
Latest
- Database :
MySQL