t3hk0d3/PermissionsEx — Issue #173: Reloading pex breaks permissions
Author: Chemox
Created: 2012-01-02 01:08:30+00:00
State: open

After using /pex reload all my plugins start saying their are no groups defined (while it worked before the reload just fine and we didn't change anything to the file)

After that I get an internal error when retrying the command /pex reload

I'm using Pex v1.17

This is one of the errors caused afterwards (all others are Identical)

2011-12-31 18:46:55 [WARNING] Task of 'mcMMO' generated an exception
java.lang.RuntimeException: No groups defined. Check your permissions file.
at ru.tehkode.permissions.backends.FileBackend.getDefaultGroup(FileBackend.java:141)
at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionManager.java:285)
at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionManager.java:274)
at ru.tehkode.permissions.PermissionUser.getGroups(PermissionUser.java:221)
at ru.tehkode.permissions.PermissionUser.getOption(PermissionUser.java:132)
at ru.tehkode.permissions.PermissionEntity.getOptionBoolean(PermissionEntity.java:298)
at ru.tehkode.permissions.PermissionEntity.initialize(PermissionEntity.java:57)
at ru.tehkode.permissions.PermissionUser.initialize(PermissionUser.java:53)
at ru.tehkode.permissions.ProxyPermissionUser.initialize(ProxyPermissionUser.java:41)
at ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:116)
at ru.tehkode.permissions.PermissionManager.has(PermissionManager.java:91)
at ru.tehkode.permissions.PermissionManager.has(PermissionManager.java:67)
at com.gmail.nossr50.mcPermissions.permission(mcPermissions.java:78)
at com.gmail.nossr50.mcPermissions.herbalismAbility(mcPermissions.java:110)
at com.gmail.nossr50.skills.Skills.monitorSkills(Skills.java:159)
at com.gmail.nossr50.runnables.mcTimer.run(mcTimer.java:51)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)