Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
3.9 kB
6
Indexable
Never
[06:59:00] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to StorageUnit v1.0.1
org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.18-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.18-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-api-1.18-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-api-1.18-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_18_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:504) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.server.level.PlayerInteractManager.a(PlayerInteractManager.java:484) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1533) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:33) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:30) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:151) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.c(SourceFile:23) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1158) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:1) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.util.thread.IAsyncTaskHandler.y(SourceFile:125) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1137) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1130) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:134) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1114) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1038) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3358-Spigot-dbf4938-8b98c8e]
        at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.sql.ResultSet.getInt(String)" because "result" is null
        at me.kingofpower2828.storageunit.Main.onInteract(Main.java:121) ~[?:?]
        at jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.18-R0.1-SNAPSHOT.jar:?]
        ... 22 more