PreciousStones

PreciousStones

269k Downloads

PS 8.1 giving error spam in console on server start

Shalobee opened this issue ยท 6 comments

commented

[SEVERE] Could not pass event org.bukkit.event.player.PlayerMoveEvent to PreciousStones
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:191)
at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
... 10 more
Caused by: java.lang.StackOverflowError
at java.lang.String.toLowerCase(String.java:2443)
at java.lang.String.toLowerCase(String.java:2496)
at ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:111)
at ru.tehkode.permissions.PermissionManager.has(PermissionManager.java:91)
at ru.tehkode.permissions.PermissionManager.has(PermissionManager.java:67)
at ru.tehkode.permissions.bukkit.PermissionsEx.has(PermissionsEx.java:167)
at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.playerHas(Permission_PermissionsEx.java:83)
at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.has(Permission_PermissionsEx.java:78)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.PermissionsManager.has(PermissionsManager.java:116)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.ForceFieldManager.isAllowed(ForceFieldManager.java:1122)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.ForceFieldManager.isAllowed(ForceFieldManager.java:1133)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.ForceFieldManager.isAllowed(ForceFieldManager.java:1133)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.ForceFieldManager.isAllowed(ForceFieldManager.java:1133)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.ForceFieldManager.isAllowed(ForceFieldManager.java:1133)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.ForceFieldManager.isAllowed(ForceFieldManager.java:1133)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.ForceFieldManager.isAllowed(ForceFieldManager.java:1133)

commented

Thanks. Uploading fix now.

commented

I had hopes the last build (8.1.4) from a couple of days ago would fix similar errors I'm having, but it doesn't.

My setup has the latest CraftBukkit, Spout, SpoutEssentials, Vault (which I only installed because PreciousStones required it) and MyWorlds. Almost vanilla configuration, and we only use City Protection and Launch Pad stones.

These are the errors I'm getting, below. Are they related or should I file a new bug?

14:29:47 [SEVERE] Could not pass event org.bukkit.event.player.PlayerMoveEvent to PreciousStones
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:191)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:687)
at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
... 12 more
Caused by: java.lang.UnsupportedOperationException: SuperPerms no group permissions.
at net.milkbowl.vault.permission.plugins.Permission_SuperPerms.getPlayerGroups(Permission_SuperPerms.java:76)
at net.milkbowl.vault.permission.Permission.getPlayerGroups(Permission.java:517)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.PermissionsManager.getGroups(PermissionsManager.java:203)
at net.sacredlabyrinth.Phaed.PreciousStones.vectors.Field.isAllowed(Field.java:437)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.ForceFieldManager.isAllowed(ForceFieldManager.java:1164)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.ForceFieldManager.isApplyToAllowed(ForceFieldManager.java:1115)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.EntryManager.enterOverlappedArea(EntryManager.java:269)
at net.sacredlabyrinth.Phaed.PreciousStones.listeners.PSPlayerListener.handlePlayerMove(PSPlayerListener.java:589)
at net.sacredlabyrinth.Phaed.PreciousStones.listeners.PSPlayerListener.onPlayerMove(PSPlayerListener.java:486)
... 16 more

commented

You have a permissions plugin that's not configured. Most likely EssentialsGroupManager.

Read the error backwards, first PS tries to get the groups:

t net.sacredlabyrinth.Phaed.PreciousStones.managers.PermissionsManager.getGroups(PermissionsManager.java:203)

So then vault tries to get the groups:

at net.milkbowl.vault.permission.plugins.Permission_SuperPerms.getPlayerGroups(Permission_SuperPerms.java:76)

Then it says it cant cause it says you have no groups set up: SuperPerms no group permissions.

commented

Thanks a lot for getting back to me.

The Permissions systems in bukkit are extremely confusing with so many different options! I've installed PEX now and I'm not getting any errors at least.

Perhaps you could think about your module not throwing worrying SEVERE errors in this case, as it's going to happen a lot on servers that don't have groups configured. Cheers!

commented

Yw. If there's a permissions plugin then it tries to use it and it kinda expects it to be working. Nothing much else I can do.