Solved bPermissions format error (can't find it)

Discussion in 'Bukkit Help' started by kingcole436, Jun 16, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    kingcole436

    Hello, I am getting the following error and no matter what I try and "fix" it keeps coming up:

    Show Spoiler
    Code:
    2012-06-16 18:41:55 [INFO] Permissions for world:fortress did not load correctly! Please consult server.log
    2012-06-16 18:41:55 [SEVERE] org.bukkit.configuration.InvalidConfigurationException: while scanning an alias
    in "<string>", line 6, column 7:
            - *
              ^
    expected alphabetic or numeric character, but found but found
     
    in "<string>", line 6, column 8:
            - *
              ^
     
    2012-06-16 18:41:55 [SEVERE]    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    2012-06-16 18:41:55 [SEVERE]    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
    2012-06-16 18:41:55 [SEVERE]    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
    2012-06-16 18:41:55 [SEVERE]    at de.bananaco.bpermissions.imp.YamlConfiguration.load(YamlConfiguration.java:17)
    2012-06-16 18:41:55 [SEVERE]    at de.bananaco.bpermissions.imp.YamlWorld.loadUnsafe(YamlWorld.java:122)
    2012-06-16 18:41:55 [SEVERE]    at de.bananaco.bpermissions.imp.YamlWorld.load(YamlWorld.java:90)
    2012-06-16 18:41:55 [SEVERE]    at de.bananaco.bpermissions.imp.Permissions.onCommand(Permissions.java:354)
    2012-06-16 18:41:55 [SEVERE]    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    2012-06-16 18:41:55 [SEVERE]    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    2012-06-16 18:41:55 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
    2012-06-16 18:41:55 [SEVERE]    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
    2012-06-16 18:41:55 [SEVERE]    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
    2012-06-16 18:41:55 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
    2012-06-16 18:41:55 [SEVERE]    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
    2012-06-16 18:41:55 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    2012-06-16 18:41:55 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    2012-06-16 18:41:55 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    2012-06-16 18:41:55 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    2012-06-16 18:41:55 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    2012-06-16 18:41:55 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    2012-06-16 18:41:55 [SEVERE] Caused by: while scanning an alias
    in "<string>", line 6, column 7:
            - *
              ^
    expected alphabetic or numeric character, but found but found
     
    in "<string>", line 6, column 8:
            - *
              ^
     
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(ScannerImpl.java:1162)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAlias(ScannerImpl.java:770)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:311)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.produce(ParserImpl.java:537)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    2012-06-16 18:41:55 [SEVERE]    at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    2012-06-16 18:41:55 [SEVERE]    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
    2012-06-16 18:41:55 [SEVERE]    ... 19 more


    Here is the pastebin link to that error: http://pastebin.com/p386p4m0

    Here is the pastebin link to my groups, config and user settings from bPermissions: http://pastebin.com/he01Y0Lz
     
  2. Offline

    HollowCube

    Try putting apostrophes around anything containing a * node. For example,
    - 'permissions.*'
     
  3. Offline

    kingcole436

    This didn't help, I think its a format error somewhere but I can't seem to find where, I came up with a few possibilitys to the problem:

    • Bukkits trying to use different permissions at the same time as bpermissions
    • A format error somewhere within either bukkits or bpermissions configs
    • Something wrong on line 6 in either a config, group or user.yml file
    Any of those above sound plausible?
     
  4. Offline

    HollowCube

    Second/Third option forsure (same thing). I'll continue looking into it, and post when I've found the problem.
     
  5. Offline

    kingcole436

    Alright, thanks. And yeah, realised after I posted that they are practically the same thing :p
     
  6. Offline

    HollowCube

    I downloaded the plugin, and noticed there are a whole lot of YAML files that could be causing this error. I do not think the error is in one of the files you have uploaded. Would you be able to upload your entire bPermissions folder and link it for me so I can test it on my computer? It would help me pinpoint the cause of the error.
     
  7. Offline

    codename_B

    The issue is on line 6 of a file - how hard can that be to find? :/
     
  8. Offline

    kingcole436

    [quote uid=39980 name="codename_B" post=1168873]The issue is on line 6 of a file - how hard can that be to find? :/[/quote]
    Thing is I looked around for it on line six (not so sure about the columns though) and still found nothing.


    [quote uid=90671585 name="HollowCube" post=1168710]I downloaded the plugin, and noticed there are a whole lot of YAML files that could be causing this error. I do not think the error is in one of the files you have uploaded. Would you be able to upload your entire bPermissions folder and link it for me so I can test it on my computer? It would help me pinpoint the cause of the error.[/quote]

    Alright, uploaded it to <Edit by Moderator: Redacted mediafire url>
     

    Attached Files:

    Last edited by a moderator: Nov 10, 2016
  9. Offline

    codename_B

    [quote uid=33104 name="kingcole436" post=1169384]Thing is I looked around for it on line six (not so sure about the columns though) and still found nothing.




    Alright, uploaded it to <Edit by Moderator: Redacted mediafire url>
    How many worlds!??

    plugins/bPermissions/fortress/groups.yml

    Code:
    default: default
    groups:
      admin:
        permissions: 
        - lootfilter
        - *
        - '*'
        groups: []
      default:
        permissions: []
        groups: []
    
    Well there you go - why didn't you look instead of us? :/ That was easy enough to find - right on line 6.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 10, 2016
  10. Offline

    kingcole436

    Just the world named 'fortress', terribly sorry, should had mentioned that...
    Ummm...Yeah, tried that, still no success, even copied your whole groups.yml folder, deleted the groups.yml... Its indeed on those 2 lines but I don't know why its failing at 'scanning' them... Maybe its just me :/ .
     
  11. Offline

    codename_B

    Stop the server.

    Delete that those files.

    Start the server.
     
  12. Offline

    kingcole436

    Beginning to think something within my server is faulty, that didint help as the file came back, but with nothing in it, adding to the current (what should had been an easy fix) problem... Time to do some digging...

    -EDIT-

    I'm going to start over with my server, do some computer maintenance, etc... So I'm going to marked this as solved. Thanks you all your help codename_B HollowCube
     
Thread Status:
Not open for further replies.

Share This Page