You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we Hook into a plugin, and there is a name conflict with an other plugin or the api has changed, exceptions like the one below happens. We should gennerly catch them and give better information about it. The really bad thing with it is, that the plugin is not enabled correctly and it does not work anymore.
[11:36:15 ERROR]: Error occurred while enabling BetonQuest v1.12.0-DEV-408 (Is it up to date?)
java.lang.NoClassDefFoundError: me/blackvein/quests/Quests
at pl.betoncraft.betonquest.compatibility.quests.QuestsIntegrator.hook(QuestsIntegrator.java:27) ~[?:?]
at pl.betoncraft.betonquest.compatibility.Compatibility.hook(Compatibility.java:157) ~[?:?]
at pl.betoncraft.betonquest.compatibility.Compatibility.<init>(Compatibility.java:80) ~[?:?]
at pl.betoncraft.betonquest.BetonQuest.onEnable(BetonQuest.java:602) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.4.jar:git-Tuinity-"d1db107"]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.4.jar:git-Tuinity-"d1db107"]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.4.jar:git-Tuinity-"d1db107"]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:501) ~[patched_1.16.4.jar:git-Tuinity-"d1db107"]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:415) ~[patched_1.16.4.jar:git-Tuinity-"d1db107"]
at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:470) ~[patched_1.16.4.jar:git-Tuinity-"d1db107"]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:240) ~[patched_1.16.4.jar:git-Tuinity-"d1db107"]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:938) ~[patched_1.16.4.jar:git-Tuinity-"d1db107"]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:179) ~[patched_1.16.4.jar:git-Tuinity-"d1db107"]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.ClassNotFoundException: me.blackvein.quests.Quests
at java.net.URLClassLoader.findClass(URLClassLoader.java:471) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:182) ~[patched_1.16.4.jar:git-Tuinity-"d1db107"]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:111) ~[patched_1.16.4.jar:git-Tuinity-"d1db107"]
at java.lang.ClassLoader.loadClass(ClassLoader.java:588) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
... 14 more
Bug report
Description:
When we Hook into a plugin, and there is a name conflict with an other plugin or the api has changed, exceptions like the one below happens. We should gennerly catch them and give better information about it. The really bad thing with it is, that the plugin is not enabled correctly and it does not work anymore.
How to reproduce:
I got this issue wthi this plugin: https://www.spigotmc.org/resources/%E2%96%B6-quests-%E2%97%80-set-up-goals-for-players.23696/updates
It is not the supported Quests plugin that we want
How to solve
If you run into this ploblem, go into the config.yml and disable the hook for this plugin.
The text was updated successfully, but these errors were encountered: