你好,我这边使用了很长一段时间了 今天有玩家反馈打不开某个仓库 控制台报错如下
[15:57:43] [Server thread/ERROR]: Could not pass event InventoryClickEvent to PlayerInv v2.7.60
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[forge:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[forge:?]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:593) ~[forge:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:578) ~[forge:?]
at net.minecraft.network.play.ServerPlayNetHandler.func_147351_a(ServerPlayNetHandler.java:2277) ~[?:?]
at net.minecraft.network.play.client.CClickWindowPacket.func_148833_a(CClickWindowPacket.java:34) ~[?:?]
at net.minecraft.network.play.client.CClickWindowPacket.func_148833_a(CClickWindowPacket.java:12) ~[?:?]
at net.minecraft.network.PacketThreadUtil.func_225383_a(PacketThreadUtil.java:22) ~[?:?]
at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18) ~[?:?]
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) ~[?:?]
at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:885) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:169) ~[?:?]
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:868) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:862) ~[?:?]
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:848) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:779) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:265) ~[?:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_351]
Caused by: java.lang.RuntimeException: Unable to convert Inventory to Base64. Make sure the items of inventory can be recognized(may be some mod items) or may be the base64 code was destroyed..
at com.playerinv.PluginSet.inventoryFromBase64_Large(PluginSet.java:97) ~[?:?]
at com.playerinv.Listener.InvListener.onGUIClick(InvListener.java:85) ~[?:?]
at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_351]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_351]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[forge:?]
... 20 more
Caused by: java.io.IOException: Failed to deserialize object
at org.bukkit.util.io.BukkitObjectInputStream.newIOException(BukkitObjectInputStream.java:59) ~[forge:?]
at org.bukkit.util.io.BukkitObjectInputStream.resolveObject(BukkitObjectInputStream.java:51) ~[forge:?]
at java.io.ObjectInputStream.checkResolve(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readObject0(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readArray(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readObject0(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.defaultReadFields(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readSerialData(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readObject0(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.defaultReadFields(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readSerialData(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readObject0(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readObject(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readObject(Unknown Source) ~[?:1.8.0_351]
at com.playerinv.PluginSet.inventoryFromBase64_Large(PluginSet.java:81) ~[?:?]
at com.playerinv.Listener.InvListener.onGUIClick(InvListener.java:85) ~[?:?]
at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_351]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_351]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[forge:?]
... 20 more
Caused by: java.lang.NullPointerException
at org.bukkit.util.io.BukkitObjectInputStream.resolveObject(BukkitObjectInputStream.java:49) ~[forge:?]
at java.io.ObjectInputStream.checkResolve(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readObject0(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readArray(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readObject0(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.defaultReadFields(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readSerialData(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readObject0(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.defaultReadFields(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readSerialData(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readObject0(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readObject(Unknown Source) ~[?:1.8.0_351]
at java.io.ObjectInputStream.readObject(Unknown Source) ~[?:1.8.0_351]
at com.playerinv.PluginSet.inventoryFromBase64_Large(PluginSet.java:81) ~[?:?]
at com.playerinv.Listener.InvListener.onGUIClick(InvListener.java:85) ~[?:?]
at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_351]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_351]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[forge:?]
... 20 more