Not syncing with permissionsBukkit #33


  • New
  • Defect
Open
Assigned to _ForgeUser3386019
  • _ForgeUser7790863 created this issue Jan 1, 2012

    - CraftBukkit version :
    1.0.1-R1 (1597)

    - JRE/JDK version :
    java version "1.6.0_26"
    Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

    - Permissions Bridge/version
    SuperpermsBridge v1.2     Release     Normal     26 Aug 2011         CB 1060
    PermissionsBukkit v1.2     Release     Normal     26 Aug 2011         CB 1060

    - Forum type/version
    phpBB     3.0.9
    MySQL 5.1.49-3

    - OKB3 version
    v3.4.0     Release     Semi-normal     20 Dec 2011         CB 1.0.1-R1

    - OKB3 config

    general:
    #Will you be running Bulletin Board Bridge in 'normal' mode, or 'secure' mode?
        mode: normal
        enable-whitelist: 'false'
        enable-nickname-syncing: 'false'
        enable-synced-banning: 'false'
        enable-promotion-track: 'true'
        enable-rank-changing: 'true'
        enable-post-count-rewarding: 'true'
    modes:
        normal:
            user-table: phpbb_users
            minecraft-login-name-field: username
            rank-id-field: group_id
            multitable:
                enable-multiple-tables: 'false'
                secondtable: mine_table
                useridfield-in-secondtable: user_id_field
                useridfield-in-usertable: user_id_field#If you opted for secure mode, fill this in
        secure:
            forum: xenforo
            type1:
                user-table: mybb_users
                username-field: username
                password-field: password
                rank-id-field: usergroup
            type2:
                user-table: user_table
                username-field: username_field
                password-field: password_field
                rank-id-field: rank_group_field
                location-of-passgen-php: http://yoursite.com/passgen.php
                password-set-in-config-inc-php: 12345pass
            type3:
                user-table: xf_user
                rank-id-field: user_group_id
                username-field: username
                password-field: data
                second-table: xf_user_authenticate
                user-id-field-in-user-table: user_id
                user-id-field-in-second-table: user_id
            type4:
                user-table: user_table
                username-field: username_field
                password-field: password-field
                rank-id-field: rank_group_field
                location-of-passgen-php: http://yoursite.com/passgen.php
                password-set-in-config-inc-php: 12345pass
    mysql-connection:
        mysql-host: localhost
        mysql-user: ****
        mysql-password: ********
        mysql-database-name: Website
        mysql-port: '3306'
    group-mapping:
        default:
            '1': default
            '2': aventurier
            '3': aventurier
            '4': aventurier
            '5': admin
            '6': default
            '7': aventurier

            '10': mineur
            '11': bucheron

            '13': chasseur
            '14': mineurdunether
            '15': teinturier
            '16': ferrailleur
            '17': eleveur
            '18': cultivateur
            '19': electricien
            '20': mecanicien
            '21': carreleur
            '22': verrier
            '23': armurier
            '24': outilleur
            '25': decorateur
            '26': disquaire
            '27': tavernier
            '28': portier
            '29': commercant
            '30': fleuriste
        worlds:
            exampleworld1:
                groups:
                    '1': ExampleGroup1
                    '2': ExampleGroup2
            exampleworld2:
                groups:
                    '1': ExampleGroup1
                    '2': ExampleGroup2
    extras:
        whitelist:
            kick-message: This is the message a user will see if their group isn't whitelisted.
            use-as-blacklist: 'true'
            groups:
                '1': 'true'
                '2': 'false'
        nickname-syncing:
            nickname-field-in-usertable: salt
        synced-banning:
            banned-user-forum-rank-id: '0'
            unbanned-user-forum-rank-id: '10'
            ban-message: This is the message a user will see if they are banned.
        promotion-track:
            track: 2|1|0
        rank-changing:
            identifiers:
                '1': NickNameforRank1
                '7': NickNameforAnotherRank
        post-count-rewarding:
            currency-reward-per-post: '40'

    Please provide any additional information below.

    getting those errors and no sync:

    2012-01-01 19:09:06 [INFO] Warrows [/92.152.233.15:2109] logged in with entity id 363 at ([Chateau] -99.96875, 71.0, -74.21875)
    2012-01-01 19:09:06 [SEVERE] Exception in thread "Thread-48"
    2012-01-01 19:09:06 [SEVERE] java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroupObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/Group;
    2012-01-01 19:09:06 [SEVERE]     at me.kalmanolah.okb3.OKmain.changeGroup(OKmain.java:178)
    2012-01-01 19:09:06 [SEVERE]     at me.kalmanolah.okb3.OKRunnable.run(OKRunnable.java:100)
    2012-01-01 19:09:06 [SEVERE]     at java.lang.Thread.run(Thread.java:662)
    2012-01-01 19:09:44 [INFO] Warrows lost connection: disconnect.quitting
    2012-01-01 19:09:44 [INFO] Connection reset
    2012-01-01 19:09:46 [INFO] Warrows [/92.152.233.15:2117] logged in with entity id 547 at ([Chateau] -99.96875, 71.0, -74.21875)
    2012-01-01 19:09:46 [SEVERE] Exception in thread "Thread-84"
    2012-01-01 19:09:46 [SEVERE] java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroupObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/Group;
    2012-01-01 19:09:46 [SEVERE]     at me.kalmanolah.okb3.OKmain.changeGroup(OKmain.java:178)
    2012-01-01 19:09:46 [SEVERE]     at me.kalmanolah.okb3.OKRunnable.run(OKRunnable.java:100)
    2012-01-01 19:09:46 [SEVERE]     at java.lang.Thread.run(Thread.java:662)

    I suppose this is due to PermissionsBukkit/SuperpermsBridge but your main page says that your plugin supports them.

  • _ForgeUser7790863 added the tags New Defect Jan 1, 2012
  • _ForgeUser7790863 posted a comment Jan 2, 2012

    Also, I have an other bug with permissions 3. But this could be due to my config:

    2012-01-02 11:51:45 [INFO] Warrows [/92.152.233.15:1793] logged in with entity id 266 at ([world] -643.5, 68.0, -263.0)
    2012-01-02 11:51:45 [INFO] Creating group Visiteur
    2012-01-02 11:51:45 [INFO] [OKB3] [SYNC] Warrows's ranks successfully updated.
    2012-01-02 11:51:46 [SEVERE] Exception in thread "Thread-50"
    2012-01-02 11:51:46 [SEVERE] java.lang.NullPointerException
    2012-01-02 11:51:46 [SEVERE]     at java.lang.String$CaseInsensitiveComparator.compare(String.java:1217)
    2012-01-02 11:51:46 [SEVERE]     at java.lang.String$CaseInsensitiveComparator.compare(String.java:1211)
    2012-01-02 11:51:46 [SEVERE]     at java.util.TreeMap.getEntryUsingComparator(TreeMap.java:351)
    2012-01-02 11:51:46 [SEVERE]     at java.util.TreeMap.getEntry(TreeMap.java:322)
    2012-01-02 11:51:46 [SEVERE]     at java.util.TreeMap.get(TreeMap.java:255)
    2012-01-02 11:51:46 [SEVERE]     at com.mysql.jdbc.ResultSetImpl.findColumn(ResultSetImpl.java:1117)
    2012-01-02 11:51:46 [SEVERE]     at com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2813)
    2012-01-02 11:51:46 [SEVERE]     at me.kalmanolah.okb3.OKFunctions.GetMySQLPosts(OKFunctions.java:455)
    2012-01-02 11:51:46 [SEVERE]     at me.kalmanolah.okb3.OKFunctions.updatePosts(OKFunctions.java:468)
    2012-01-02 11:51:46 [SEVERE]     at me.kalmanolah.okb3.OKRunnable.run(OKRunnable.java:127)
    2012-01-02 11:51:46 [SEVERE]     at java.lang.Thread.run(Thread.java:662)


    Edited Jan 2, 2012

To post a comment, please login or register a new account.