java.lang.LinkageError: loader constraint violation: when resolving method "org.pircbotx.UserSnapshot.<init>(Lorg/pircbotx/User;)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, org/pircbotx/User, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for resolved class, org/pircbotx/UserSnapshot, have different Class objects for the type (Lorg/pircbotx/User;)V used in the signature

GitHub | shane-smith | 4 years ago
  1. 0

    java.lang.LinkageError: loader constraint violation

    GitHub | 4 years ago | shane-smith
    java.lang.LinkageError: loader constraint violation: when resolving method "org.pircbotx.UserSnapshot.<init>(Lorg/pircbotx/User;)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, org/pircbotx/User, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for resolved class, org/pircbotx/UserSnapshot, have different Class objects for the type (Lorg/pircbotx/User;)V used in the signature
  2. 0

    Error

    GitHub | 6 months ago | superpara93
    java.lang.LinkageError: loader constraint violation: when resolving method "net.citizensnpcs.api.CitizensAPI.setImplementation(Lnet/citizensnpcs/api/CitizensPlugin;)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, net/citizensnpcs/Citizens, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for resolved class, net/citizensnpcs/api/CitizensAPI, have different Class objects for the type npcs/api/CitizensPlugin;)V used in the signature
  3. 0

    1.10.2 cannot buy anything from shop.

    GitHub | 4 months ago | mattigins
    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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Citizens enable issue

    GitHub | 9 months ago | Sikatsu
    java.lang.LinkageError: loader constraint violation: when resolving method "net.citizensnpcs.api.CitizensAPI.setImplementation(Lnet/citizensnpcs/api/CitizensPlugin;)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, net/citizensnpcs/Citizens, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for the method's defining class, net/citizensnpcs/api/CitizensAPI, have different Class objects for the type net/citizensnpcs/api/CitizensPlugin used in the signature
  6. 0

    A problem error log..

    GitHub | 3 years ago | Max633
    java.lang.LinkageError: loader constraint violation: when resolving method "com.griefcraft.lwc.LWC.<init>(Lcom/griefcraft/lwc/LWCPlugin;)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, com/griefcraft/lwc/LWCPlugin, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for resolved class, com/griefcraft/lwc/LWC, have different Class objects for the type (Lcom/griefcraft/lwc/LWCPlugin;)V used in the signature

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.LinkageError

      loader constraint violation: when resolving method "org.pircbotx.UserSnapshot.<init>(Lorg/pircbotx/User;)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, org/pircbotx/User, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for resolved class, org/pircbotx/UserSnapshot, have different Class objects for the type (Lorg/pircbotx/User;)V used in the signature

      at org.pircbotx.User.generateSnapshot()
    2. org.pircbotx
      InputThread.run
      1. org.pircbotx.User.generateSnapshot(User.java:89)
      2. org.pircbotx.PircBotX.handleLine(PircBotX.java:1709)
      3. org.pircbotx.InputThread.run(InputThread.java:104)
      3 frames