java.lang.LinkageError: loader constraint violation: when resolving method "org.maxgamer.quickshop.Shop.ShopPurchaseEvent.<init>(Lorg/maxgamer/quickshop/Shop/Shop;Lorg/bukkit/entity/Player;I)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, org/maxgamer/quickshop/Shop/ShopManager$1, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for the method's defining class, org/maxgamer/quickshop/Shop/ShopPurchaseEvent, have different Class objects for the type org/maxgamer/quickshop/Shop/Shop used in the signature

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mattigins
, 1 year ago
current class, org/maxgamer/quickshop/Shop/ShopManager$1, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for the method's defining class, org/maxgamer/quickshop/Shop/ShopPurchaseEvent, have different Class objects for the type org/maxgamer/quickshop/Shop/Shop used in the signature
java.lang.LinkageError: loader constraint violation: when resolving method "org.maxgamer.quickshop.Shop.ShopPurchaseEvent.<init>(Lorg/maxgamer/quickshop/Shop/Shop;Lorg/bukkit/entity/Player;I)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, org/maxgamer/quickshop/Shop/ShopManager$1, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for the method's defining class, org/maxgamer/quickshop/Shop/ShopPurchaseEvent, have different Class objects for the type org/maxgamer/quickshop/Shop/Shop used in the signature
at org.maxgamer.quickshop.Shop.ShopManager$1.run(ShopManager.java:447)
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71)
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:723)
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400)
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668)
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.