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/420/


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:82)
  org.maxgamer.quickshop.util.MsgUtil.getItemTextComponent (MsgUtil.java:1000)
  org.maxgamer.quickshop.util.MsgUtil.getItemholochat (MsgUtil.java:1021)
  org.maxgamer.quickshop.util.MsgUtil.sendItemholochat (MsgUtil.java:987)
  org.maxgamer.quickshop.util.MsgUtil.sendShopInfo (MsgUtil.java:927)
  org.maxgamer.quickshop.listener.PlayerListener.onClick (PlayerListener.java:127)
  jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
  jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78)
  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  java.lang.reflect.Method.invoke (Method.java:567)
  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.executeAll (SourceFile:110)
  net.minecraft.server.MinecraftServer.sleepForTick (MinecraftServer.java:1109)
  net.minecraft.server.MinecraftServer.x (MinecraftServer.java:1039)
  net.minecraft.server.MinecraftServer.lambda$0 (MinecraftServer.java:303)
  java.lang.Thread.run (Thread.java:831)