QuickShop-Reremake

QuickShop-Reremake

54.7k Downloads

java.lang.NullPointerException: Cannot invoke "java.lang.Class.getDeclaredConstructor(java.lang.Class[])" because "org.maxgamer.quickshop.util.ItemNMS.nbtTagCompoundClass" is null

rollbar opened this issue ยท 0 comments

commented

View details in Rollbar: https://rollbar.com/ghost-chu/QuickShop-Reremake/items/406/


java.lang.NullPointerException: Cannot invoke "java.lang.Class.getDeclaredConstructor(java.lang.Class[])" because "org.maxgamer.quickshop.util.ItemNMS.nbtTagCompoundClass" is null
  org.maxgamer.quickshop.util.ItemNMS.saveJsonfromNMS (ItemNMS.java:78)
  org.maxgamer.quickshop.chat.platform.minedown.BungeeQuickChat.getItemHologramChat (BungeeQuickChat.java:91)
  org.maxgamer.quickshop.util.MsgUtil.sendShopInfo (MsgUtil.java:929)
  org.maxgamer.quickshop.listener.PlayerListener.postTrade (PlayerListener.java:199)
  org.maxgamer.quickshop.listener.PlayerListener.onClick (PlayerListener.java:93)
  jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 ([unknown]:-2)
  jdk.internal.reflect.NativeMethodAccessorImpl.invoke ([unknown]:-1)
  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke ([unknown]:-1)
  java.lang.reflect.Method.invoke ([unknown]:-1)
  org.bukkit.plugin.java.JavaPluginLoader$1.execute (JavaPluginLoader.java:306)
  org.bukkit.plugin.RegisteredListener.callEvent (RegisteredListener.java:70)
  org.bukkit.plugin.SimplePluginManager.fireEvent (SimplePluginManager.java:589)
  org.bukkit.plugin.SimplePluginManager.callEvent (SimplePluginManager.java:576)
  org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:499)
  org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:466)
  net.minecraft.server.level.PlayerInteractManager.a (PlayerInteractManager.java:187)
  net.minecraft.server.network.PlayerConnection.a (PlayerConnection.java:1466)
  net.minecraft.network.protocol.game.PacketPlayInBlockDig.a (SourceFile:34)
  net.minecraft.network.protocol.game.PacketPlayInBlockDig.a (SourceFile:8)
  net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0 (PlayerConnectionUtils.java:30)
  net.minecraft.server.TickTask.run (SourceFile:18)
  net.minecraft.util.thread.IAsyncTaskHandler.executeTask (SourceFile:151)
  net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask (SourceFile:23)
  net.minecraft.util.thread.IAsyncTaskHandler.executeNext (SourceFile:125)
  net.minecraft.server.MinecraftServer.bf (MinecraftServer.java:1133)
  net.minecraft.server.MinecraftServer.executeNext (MinecraftServer.java:1126)
  net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks (SourceFile:134)
  net.minecraft.server.MinecraftServer.sleepForTick (MinecraftServer.java:1110)
  net.minecraft.server.MinecraftServer.x (MinecraftServer.java:1039)
  net.minecraft.server.MinecraftServer.lambda$0 (MinecraftServer.java:303)
  java.lang.Thread.run ([unknown]:-1)