QuickShop-Reremake

QuickShop-Reremake

54.7k Downloads

java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.TreeMap.floorKey(Object)" is null

rollbar opened this issue ยท 0 comments

commented

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


java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.TreeMap.floorKey(Object)" is null
  org.maxgamer.quickshop.util.RomanNumber.toRoman (RomanNumber.java:51)
  org.maxgamer.quickshop.util.MsgUtil.printEnchantment (MsgUtil.java:910)
  org.maxgamer.quickshop.util.MsgUtil.printEnchantment (MsgUtil.java:893)
  org.maxgamer.quickshop.util.MsgUtil.sendShopInfo (MsgUtil.java:960)
  org.maxgamer.quickshop.listener.PlayerListener.postTrade (PlayerListener.java:187)
  org.maxgamer.quickshop.listener.PlayerListener.onClick (PlayerListener.java:86)
  com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor145.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.executeAll (IAsyncTaskHandler.java:110)
  net.minecraft.server.MinecraftServer.a (MinecraftServer.java:1458)
  net.minecraft.server.MinecraftServer.x (MinecraftServer.java:1188)
  net.minecraft.server.MinecraftServer.lambda$spin$0 (MinecraftServer.java:316)
  java.lang.Thread.run (Thread.java:831)