PermissionsEx

PermissionsEx

14M Downloads

1.12 Error

Gamofinn opened this issue ยท 11 comments

commented

Hi, I just updated my server to Spigot 1.12 running PEX 1.23.4 and I am getting this error:
java.lang.ExceptionInInitializerError: No such field permSubs in class class me.jasperjh.animatedscoreboard.objects.trigger.EventCallListener at ru.tehkode.utils.FieldReplacer.<init>(FieldReplacer.java:16) at ru.tehkode.permissions.bukkit.regexperms.PEXPermissionSubscriptionMap.inject(PEXPermissionSubscriptionMap.java:48) at ru.tehkode.permissions.bukkit.regexperms.RegexPermissions.<init>(RegexPermissions.java:29) at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:204) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:402) at me.jasperjh.animatedscoreboard.objects.trigger.EventCallListener.enablePlugin(EventCallListener.java:60) at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:377) at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:327) at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:421) at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:382) at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:337) at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:544) at java.lang.Thread.run(Thread.java:745)

commented

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.

commented

When does this error occur? What was happening on the server immediately before this error appeared? Is this error from the startup log? (If so, display the entire startup log, on Pastebin.)

commented

Yes, this error is happening on startup. It is a BungeeCord server so this server (The Hub) is in offline mode.
https://pastebin.com/XKDkrsPz

commented

If you remove the ChatEx plugin (which is based on ChatManager, which is not supported by PEX), do you still have this error appearing?

commented

Since the error appears right in the middle of the UltraCosmetics plugin loading, I'd recommend removing UltraCosmetics to see if the error is abated also. (You can keep ChatEx in, for this test. If the error is gone, be sure to fully test every feature of ChatEx you intend to use or grant groups any permission nodes for.)

commented

Ok, I removed ChatEx and UltraCosmetics and this is what I get. This time it appeared after it was done loading.
https://pastebin.com/BdL2TG77

commented

me.jasperjh.animatedscoreboard.objects.trigger.EventCallListener

Woops. I missed this in the first post. AnimatedScoreboard is doing it. Is that a 1.12 plugin?

commented

It says it has been tested for 1.12 on the Spigot page.

commented

Ok, you'll need to wait for the PEX programmer ( @zml2008 ) to have a chance to take a look at the error.

commented

It looks like AnimatedScoreboard is injecting its own replacement code into the Bukkit plugin system that interferes with the more fine-grained injection PEX does to apply its permissions resolving to Bukkit's permissions system. There may be a way to work around this issue but no fix is guaranteed.

commented

Talked to the AnimatedScoreboard author about it and he says he will try and fix it but it will be hard.
He is: https://www.spigotmc.org/members/jasperjh.57634/