PEXPlugins / PermissionsEx

A powerful permissions plugin for Minecraft
https://permissionsex.stellardrift.ca
Apache License 2.0
481 stars 297 forks source link

error please help #856

Closed ghost closed 11 years ago

ghost commented 11 years ago

Description

[Insert description of issue here]

What PEX Saw

Reason: While performing PEX check

Stacktrace:

java.lang.NullPointerException
    at ru.tehkode.permissions.backends.file.FileEntity.getNode(FileEntity.java:48)
    at ru.tehkode.permissions.backends.file.FileEntity.<init>(FileEntity.java:42)
    at ru.tehkode.permissions.backends.file.FileUser.<init>(FileUser.java:39)
    at ru.tehkode.permissions.backends.FileBackend.getUser(FileBackend.java:111)
    at ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:116)
    at ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:135)
    at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:201)
    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.performCheck(PermissiblePEX.java:150)
    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:125)
    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:116)
    at org.bukkit.craftbukkit.v1_5_R3.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:111)
    at org.bukkit.craftbukkit.v1_5_R3.CraftServer.onPlayerJoin(CraftServer.java:1253)
    at net.minecraft.server.v1_5_R3.PlayerList.c(PlayerList.java:211)
    at net.minecraft.server.v1_5_R3.PlayerList.a(PlayerList.java:100)
    at net.minecraft.server.v1_5_R3.PendingConnection.d(PendingConnection.java:129)
    at net.minecraft.server.v1_5_R3.PendingConnection.c(PendingConnection.java:44)
    at net.minecraft.server.v1_5_R3.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
    at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:29)
    at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
    at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
    at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)

PEX configuration

permissions:
  backend: file
  backends:
    file:
      file: permissions.yml
  superperms: {}

Permissions database

groups:
  New:
    prefix: &c(Guest)&7
    default: true
    options:
        rank:  1000
    permissions:
    - essentials.spawn
    - essentials.rules
    - essentials.motd
    - essentials.list
  Player:
    options:
        rank:  900
    permissions:
    - essentials.build
    - essentials.afk
    - essentials.back
    - essentials.back.ondeath
    - essentials.balance
    - essentials.balance.others
    - essentials.balancetop
    - essentials.chat.color
    - essentials.chat.shout
    - essentials.chat.question
    - essentials.compass
    - essentials.depth
    - essentials.home
    - essentials.ignore
    - essentials.mail
    - essentials.mail.send
    - essentials.me
    - essentials.msg
    - essentials.nick
    - essentials.pay
    - essentials.ping
    - essentials.powertool
    - essentials.protect
    - essentials.sethome
    - essentials.signs.use.*
    - essentials.signs.create.disposal
    - essentials.signs.create.mail
    - essentials.signs.create.protection
    - essentials.signs.create.trade
    - essentials.signs.break.disposal
    - essentials.signs.break.mail
    - essentials.signs.break.protection
    - essentials.signs.break.trade
    - essentials.suicide
    - essentials.time
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpahere
    - essentials.tpdeny
    - essentials.warp
    - essentials.warp.list
    - essentials.worth
    - griefprevention.lava
    - griefprevention.createclaims
    - griefprevention.claims
    - griefprevention.buysellclaimb�locks
    - healthbar.cansee
    - igates.portal.use.portal
    - pvparena.user
    - creativegates.use
    inheritance:
    - New
  Hardcore_Player:
    options:
        rank:  800
    permissions:
    - griefprevention.spam
    inheritance:
    - Player
  Minor_Donator:
    options:
        rank:  700
    permissions:
    - essentials.home.others
    inheritance:
    - Hardcore_Player
  Majour_Donator:
    options:
        rank:  600
    permissions: []
    inheritance:
    - Minor_Donator
  Mod:
    options:
        rank:  500
    permissions:
    - essentials.broadcast
    - essentials.clearinventory
    - essentials.delwarp
    - essentials.eco.loan
    - essentials.ext
    - essentials.getpos
    - essentials.helpop.recieve
    - essentials.home.others
    - essentials.invsee
    - essentials.jails
    - essentials.jump
    - essentials.kick
    - essentials.kick.notify
    - essentials.kits.*
    - essentials.mute
    - essentials.nick.others
    - essentials.realname
    - essentials.setwarp
    - essentials.signs.create.*
    - essentials.signs.break.*
    - essentials.spawner
    - essentials.thunder
    - essentials.time
    - essentials.time.set
    - essentials.protect.alerts
    - essentials.protect.admin
    - essentials.protect.ownerinfo
    - essentials.ptime
    - essentials.ptime.others
    - essentials.togglejail
    - essentials.top
    - essentials.tp
    - essentials.tphere
    - essentials.tppos
    - essentials.tptoggle
    - essentials.unban
    - essentials.unbanip
    - essentials.warps.*
    - essentials.weather
    - essentials.whois
    - essentials.world
    - essentials.worlds.*
    - griefprevention.deathblow
    - griefprevention.restorenature
    - griefprevention.restorenatureaggressive
    - griefprevention.adminclaims
    - griefprevention.ignoreclaims
    - griefprevention.deleteclaims
    - griefprevention.adjustclaimblocks
    - griefprevention.eavesdrop
    - griefprevention.admineavesdrop
    - multiworld.command.goto
    - multiworld.command.list
    - pvparena.telepass
    - creativegates.create
    inheritance:
    - Majour_Donator
  Admin:
    options:
        rank:  400
    permissions:
    - essentials.kill
    - essentials.ban
    - essentials.ban.notify
    - essentials.banip
    - multiworld.*
    inheritance:
    - Mod
  Head_Admin:
    options:
        rank:  300
    permissions:
    - ^essentials.backup
    - ^essentials.essentials
    - ^essentials.setspawn
    - ^essentials.reloadall
    - essentials.*
    - griefprevention.spam
    - pvparena.*
    - worldedit.*
    - worldguard.*
    inheritance:
    - Admin
  Owner:
    options:
        rank:  200
    permissions:
    - essentials.*
    inheritance:
    - Head_Admin

§r.

tainz commented 11 years ago

Error in your yaml syntax. Check it at http://yaml-online-parser.appspot.com