Ghost-chu / QuickShop-Reremake

QuickShop is a shop plugin that allows players to easily sell/buy any items from a chest without any commands. In fact, none of the commands that QuickShop provides are ever needed by a player.
GNU General Public License v3.0
103 stars 146 forks source link

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

Closed rollbar[bot] closed 3 years ago

rollbar[bot] commented 3 years ago

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


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:891)
  org.maxgamer.quickshop.listener.PlayerListener.onClick (PlayerListener.java:126)
  com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor402.execute ([unknown]:-1)
  org.bukkit.plugin.EventExecutor.lambda$create$1 (EventExecutor.java:69)
  co.aikar.timings.TimedEventExecutor.execute (TimedEventExecutor.java:80)
  org.bukkit.plugin.RegisteredListener.callEvent (RegisteredListener.java:70)
  org.bukkit.plugin.SimplePluginManager.callEvent (SimplePluginManager.java:624)
  org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:538)
  org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:501)
  org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:496)
  net.minecraft.server.level.PlayerInteractManager.a (PlayerInteractManager.java:201)
  net.minecraft.server.network.PlayerConnection.a (PlayerConnection.java:1656)
  net.minecraft.network.protocol.game.PacketPlayInBlockDig.a (PacketPlayInBlockDig.java:34)
  net.minecraft.network.protocol.game.PacketPlayInBlockDig.a (PacketPlayInBlockDig.java:8)
  net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1 (PlayerConnectionUtils.java:36)
  net.minecraft.server.TickTask.run (TickTask.java:18)
  net.minecraft.util.thread.IAsyncTaskHandler.executeTask (IAsyncTaskHandler.java:149)
  net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask (IAsyncTaskHandlerReentrant.java:23)
  net.minecraft.server.MinecraftServer.executeTask (MinecraftServer.java:1348)
  net.minecraft.server.MinecraftServer.executeTask (MinecraftServer.java:190)
  net.minecraft.util.thread.IAsyncTaskHandler.executeNext (IAsyncTaskHandler.java:122)
  net.minecraft.server.MinecraftServer.bf (MinecraftServer.java:1327)
  net.minecraft.server.MinecraftServer.executeNext (MinecraftServer.java:1320)
  net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks (IAsyncTaskHandler.java:132)
  net.minecraft.server.MinecraftServer.sleepForTick (MinecraftServer.java:1281)
  net.minecraft.server.MinecraftServer.x (MinecraftServer.java:1192)
  net.minecraft.server.MinecraftServer.lambda$spin$0 (MinecraftServer.java:316)
  java.lang.Thread.run ([unknown]:-1)