Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicCrucibleMythicCrucible
  • Issues
  • #24

Closed
Open
Created Jun 06, 2021 by pkuliyi2015@pkuliyi2015

Conflict with InteractiveChat

Your plugin seems to load a common class from other plugin, InteractiveChat, and cannot work correctly:

[14:19:36] [Server thread/WARN]: [MythicCrucible] Loaded class org.apache.commons.lang3.tuple.Pair from InteractiveChat v3.3.0.21 which is not a depend, softdepend or loadbefore of this plugin.

and later, the MythicCrucible cannot correctly trigger skills when players use their weapons and reported the following signature error:

[14:19:37] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to MythicCrucible v0.0.1-SNAPSHOT java.lang.LinkageError: loader constraint violation: when resolving method "io.lumine.xikage.mythicmobs.skills.TriggeredSkill.(Lio/lumine/xikage/mythicmobs/skills/SkillTrigger;Lio/lumine/xikage/mythicmobs/skills/SkillCaster;Lio/lumine/xikage/mythicmobs/adapters/AbstractLocation;Lio/lumine/xikage/mythicmobs/adapters/AbstractEntity;Ljava/util/Collection;ZLjava/util/function/Consumer;[Lorg/apache/commons/lang3/tuple/Pair;)V" the class loader org.bukkit.plugin.java.PluginClassLoader @49f2a667 (instance of org.bukkit.plugin.java.PluginClassLoader, child of 'app' jdk.internal.loader.ClassLoaders$AppClassLoader) of the current class, io/lumine/mythiccrucible/items/EquippedItem, and the class loader org.bukkit.plugin.java.PluginClassLoader @5c5d2ce1 (instance of org.bukkit.plugin.java.PluginClassLoader, child of 'app' jdk.internal.loader.ClassLoaders$AppClassLoader) for the method's defining class, io/lumine/xikage/mythicmobs/skills/TriggeredSkill, have different Class objects for the type [Lorg/apache/commons/lang3/tuple/Pair; used in the signature at io.lumine.mythiccrucible.items.EquippedItem.runSkills(EquippedItem.java:38) ~[?:?] at io.lumine.mythiccrucible.profiles.Profile.runSkills(Profile.java:216) ~[?:?] at io.lumine.mythiccrucible.profiles.Profile.runSkills(Profile.java:165) ~[?:?] ...

It shows that your plugin has a different version of org.apach.common as the InteractiveChat, but I'm not clear about what really happens. I have unloaded the InteractiveChat and then MythicCrucible can work correctly. I have also tried a fixing trick, to add a loadbefore: [InteractiveChat] in the your plugin.yml, which successfully fixed the problem.

However, I really hope that your plugin can fix the problem and works together with InteractiveChat without my fixing trick.

Thank you very much!

Edited Jun 06, 2021 by pkuliyi2015
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking