LuckPerms

LuckPerms

41.4k Downloads

[bug]crash on 1.16.2

DEADLYDEVIL-IR opened this issue ยท 9 comments

commented
[03:20:47] [Server thread/INFO]: [LuckPerms] Loading internal permission managers...
[03:20:48] [Server thread/ERROR]: Error occurred while enabling LuckPerms v5.1.93 (Is it up to date?)
java.lang.NoClassDefFoundError: me/lucko/luckperms/lib/guava/graph/MutableGraph
	at me.lucko.luckperms.bukkit.util.PluginManagerUtil.injectDependency(PluginManagerUtil.java:64) ~[?:?]
	at me.lucko.luckperms.bukkit.LPBukkitPlugin.setupPlatformHooks(LPBukkitPlugin.java:223) ~[?:?]
	at me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.enable(AbstractLuckPermsPlugin.java:175) ~[?:?]
	at me.lucko.luckperms.bukkit.LPBukkitBootstrap.onEnable(LPBukkitBootstrap.java:162) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.2.jar:git-Paper-148]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.2.jar:git-Paper-148]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.2.jar:git-Paper-148]
	at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugin(CraftServer.java:499) ~[patched_1.16.2.jar:git-Paper-148]
	at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugins(CraftServer.java:413) ~[patched_1.16.2.jar:git-Paper-148]
	at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:209) ~[patched_1.16.2.jar:git-Paper-148]
	at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:939) ~[patched_1.16.2.jar:git-Paper-148]
	at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.2.jar:git-Paper-148]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
Caused by: java.lang.ClassNotFoundException: me.lucko.luckperms.lib.guava.graph.MutableGraph
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_265]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:171) ~[patched_1.16.2.jar:git-Paper-148]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[patched_1.16.2.jar:git-Paper-148]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_265]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_265]
	... 13 more
[03:20:48] [Server thread/INFO]: [LuckPerms] Disabling LuckPerms v5.1.93
[03:20:48] [Server thread/INFO]: [LuckPerms] Starting shutdown process...
[03:20:48] [Server thread/ERROR]: Error occurred while disabling LuckPerms v5.1.93 (Is it up to date?)
java.lang.NullPointerException: null
	at me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.disable(AbstractLuckPermsPlugin.java:223) ~[?:?]
	at me.lucko.luckperms.bukkit.LPBukkitBootstrap.onDisable(LPBukkitBootstrap.java:178) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265) ~[patched_1.16.2.jar:git-Paper-148]
	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:415) ~[patched_1.16.2.jar:git-Paper-148]
	at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:516) ~[patched_1.16.2.jar:git-Paper-148]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:384) ~[patched_1.16.2.jar:git-Paper-148]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.2.jar:git-Paper-148]
	at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugin(CraftServer.java:499) ~[patched_1.16.2.jar:git-Paper-148]
	at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugins(CraftServer.java:413) ~[patched_1.16.2.jar:git-Paper-148]
	at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:209) ~[patched_1.16.2.jar:git-Paper-148]
	at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:939) ~[patched_1.16.2.jar:git-Paper-148]
	at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.2.jar:git-Paper-148]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
commented

Try deleting the /libs/ directory inside the /LuckPerms/ directory and give it a restart.

commented

Try deleting the /libs/ directory inside the /LuckPerms/ directory and give it a restart.

i tried but it didn't work

commented

Can you paste the entire startup log in here and send the link please?
You may need to download the libraries manually but just making sure it's not something else.

commented

Can you paste the entire startup log in here and send the link please?
You may need to download the libraries manually but just making sure it's not something else.

ok wait

commented

Can you paste the entire startup log in here and send the link please?
You may need to download the libraries manually but just making sure it's not something else.

https://ctxt.io/2/AAAgaDxXFw

commented

Yeah, by the look of things, you'll have to download the libraries manually. Stop the server, remove everything inside the /LuckPerms/libs/ directory and uploading the lib jars directly in there. You can get them by searching them by name in here (https://nexus.lucko.me/#browse/search) and here (https://search.maven.org/).
Here is the list: https://github.com/lucko/LuckPerms/wiki/Credits#open-source
Once you upload all of them, start the server and report back.

commented

Yeah, by the look of things, you'll have to download the libraries manually. Stop the server, remove everything inside the /LuckPerms/libs/ directory and uploading the lib jars directly in there. You can get them by searching them by name in here (https://nexus.lucko.me/#browse/search) and here (https://search.maven.org/).
Here is the list: https://github.com/lucko/LuckPerms/wiki/Credits#open-source
Once you upload all of them, start the server and report back.

oh ok i'll try

commented

Yeah, by the look of things, you'll have to download the libraries manually. Stop the server, remove everything inside the /LuckPerms/libs/ directory and uploading the lib jars directly in there. You can get them by searching them by name in here (https://nexus.lucko.me/#browse/search) and here (https://search.maven.org/).
Here is the list: https://github.com/lucko/LuckPerms/wiki/Credits#open-source
Once you upload all of them, start the server and report back.

i downloaded them but luckperms has downloaded those old apis again

commented

You seem to be using the Bukkit-Legacy build, but this is not necessary, as you are running a modern version.

Try again using the normal bukkit jar download.
https://luckperms.net/download