QuickShop-Reremake

QuickShop-Reremake

54.7k Downloads

java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class java.lang.String (java.util.ArrayList and java.lang.String are in module java.base of loader 'bootstrap')

rollbar opened this issue ยท 0 comments

commented

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


java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class java.lang.String (java.util.ArrayList and java.lang.String are in module java.base of loader 'bootstrap')
  org.maxgamer.quickshop.util.Util.isBlacklisted (Util.java:709)
  org.maxgamer.quickshop.listener.PlayerListener.postTrade (PlayerListener.java:239)
  org.maxgamer.quickshop.listener.PlayerListener.onClick (PlayerListener.java:90)
  com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor916.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:628)
  org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:543)
  org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:506)
  org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:501)
  net.minecraft.server.level.PlayerInteractManager.a (PlayerInteractManager.java:221)
  net.minecraft.server.network.PlayerConnection.a (PlayerConnection.java:1739)
  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:56)
  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:1423)
  net.minecraft.server.MinecraftServer.executeTask (MinecraftServer.java:192)
  net.minecraft.util.thread.IAsyncTaskHandler.executeNext (IAsyncTaskHandler.java:122)
  net.minecraft.server.MinecraftServer.bf (MinecraftServer.java:1401)
  net.minecraft.server.MinecraftServer.executeNext (MinecraftServer.java:1394)
  net.minecraft.util.thread.IAsyncTaskHandler.executeAll (IAsyncTaskHandler.java:110)
  net.minecraft.server.MinecraftServer.a (MinecraftServer.java:1533)
  net.minecraft.server.MinecraftServer.x (MinecraftServer.java:1279)
  net.minecraft.server.MinecraftServer.lambda$spin$0 (MinecraftServer.java:319)
  java.lang.Thread.run (Thread.java:831)