[SPIGOT-2241] Permissionsex failed... i dont understand why.. Created: 02/May/16  Updated: 02/May/16  Resolved: 02/May/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: iannis de zwart Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: 1.9, error, spigot

Plugin: PermissionsEX

 Description   

Hello people, i have a BIG problem in my server, when i load permissionsex it says this:

[11:49:06 INFO]: [PermissionsEx] Enabling PermissionsEx v1.23.4
[11:49:06 INFO]: [PermissionsEx] Initializing file backend
[11:49:06 ERROR]: [PermissionsEx]
========== UNABLE TO LOAD PERMISSIONS BACKEND =========
Your configuration must be fixed before PEX will enable
Details: Error loading permissions file!
=======================================================
ru.tehkode.permissions.exceptions.PermissionBackendException: Error loading permissions file!
at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.java:321) ~[PermissionsEx-1.23.4%20(1).jar:?]
at ru.tehkode.permissions.backends.file.FileBackend.<init>(FileBackend.java:120) ~[PermissionsEx-1.23.4%20(1).jar:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_77]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_77]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_77]
at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_77]
at ru.tehkode.permissions.backends.PermissionBackend.getBackend(PermissionBackend.java:392) ~[PermissionsEx-1.23.4%20(1).jar:?]
at ru.tehkode.permissions.backends.PermissionBackend.getBackend(PermissionBackend.java:367) ~[PermissionsEx-1.23.4%20(1).jar:?]
at ru.tehkode.permissions.PermissionManager.createBackend(PermissionManager.java:624) ~[PermissionsEx-1.23.4%20(1).jar:?]
at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:606) ~[PermissionsEx-1.23.4%20(1).jar:?]
at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:693) ~[PermissionsEx-1.23.4%20(1).jar:?]
at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:67) ~[PermissionsEx-1.23.4%20(1).jar:?]
at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:175) [PermissionsEx-1.23.4%20(1).jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) [minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361) [minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321) [minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:411) [minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:376) [minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:331) [minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:269) [minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:527) [minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]
Caused by: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
in 'string', line 3, column 3:
Stone:
^
expected <block end>, but found BlockMappingStart
in 'string', line 34, column 4:
Gold:
^

at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at ru.tehkode.permissions.backends.file.FileConfig.loadFromString(FileConfig.java:68) ~[PermissionsEx-1.23.4%20(1).jar:?]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:184) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at ru.tehkode.permissions.backends.file.FileConfig.load(FileConfig.java:38) ~[PermissionsEx-1.23.4%20(1).jar:?]
at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.java:309) ~[PermissionsEx-1.23.4%20(1).jar:?]
... 23 more
Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
in 'string', line 3, column 3:
Stone:
^
expected <block end>, but found BlockMappingStart
in 'string', line 34, column 4:
Gold:
^

at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at ru.tehkode.permissions.backends.file.FileConfig.loadFromString(FileConfig.java:68) ~[PermissionsEx-1.23.4%20(1).jar:?]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:184) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[minecraft_server.jar:git-Spigot-e6f93f4-d884ab3]
at ru.tehkode.permissions.backends.file.FileConfig.load(FileConfig.java:38) ~[PermissionsEx-1.23.4%20(1).jar:?]
at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.java:309) ~[PermissionsEx-1.23.4%20(1).jar:?]
... 23 more
[11:49:06 INFO]: [PermissionsEx] Disabling PermissionsEx v1.23.4
[11:49:06 INFO]: [Vault][Permission] PermissionsEx hooked.

and i don't know how to fix it...
this is my permissionsex permissions.yml file: http://pastebin.com/XujUwTC2
I have 2 questions: 1, what's wrong and 2, can anybody help me pls..



 Comments   
Comment by iannis de zwart [ 02/May/16 ]

mukiu THANKS!!! i dont know what i did but here it is:
[13:09:20 INFO]: [PermissionsEx] Enabling PermissionsEx v1.23.4
[13:09:20 INFO]: [PermissionsEx] Initializing file backend
[13:09:20 INFO]: [PermissionsEx] Permissions file successfully reloaded

Comment by iannis de zwart [ 02/May/16 ]

what i have to do?

Comment by iannis de zwart [ 02/May/16 ]

now i got an other error, is there something wrong with the inheritance?
Owner:
build:true
inheritance:

  • Admin
    prefix: '&d&k||&r&5&lOwner&r&d&k||'
    suffix: '&b'
    permissions:
  • '*'

this is the error:
Caused by: org.yaml.snakeyaml.scanner.ScannerException: mapping values are not allowed here
in 'string', line 117, column 16:
inheritance:
^

Comment by iannis de zwart [ 02/May/16 ]

OMG

Comment by iannis de zwart [ 02/May/16 ]

i test it now

Comment by iannis de zwart [ 02/May/16 ]

serious???!!!!

Comment by mukiu [ 02/May/16 ]

There are 3 spaces in line 34 before tag "Gold", where 2 spaces are expected.

Generated at Thu Apr 03 16:26:13 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.