Error in console for Scoreboard

Discussion in 'Resource Discussions' started by DefaultMode, Apr 29, 2017.

  1. Hi,

    Just want to say I really do like this plugin with modules. Very well executed.

    I'm now using the 1.7 scoreboard module with 1.5 CTSNC plugin.

    Getting this error in console:
    > [15:41:05 WARN]: [CTSNC_Scoreboard] Task #554 for CTSNC_Scoreboard v1.7 generated an exception
    java.lang.ArrayIndexOutOfBoundsException: -1
    at b.o.getTPS( ~[?:?]
    at de.Herbystar.TTA.TTA_Methods.getTPS( ~[?:?]
    at de.Herbystar.CTSNC.ReplaceString.replaceString( ~[?:?]
    at de.Herbystar.CTSNC.scoreboardModule.Scoreboards.updateContent( ~[?:?]
    at de.Herbystar.CTSNC.scoreboardModule.Main$ ~[?:?]
    at ~[server.jar:git-Spigot-de459a2-51263e9]
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat( [server.jar:git-Spigot-de459a2-51263e9]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D( [server.jar:git-Spigot-de459a2-51263e9]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D( [server.jar:git-Spigot-de459a2-51263e9]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C( [server.jar:git-Spigot-de459a2-51263e9]
    at [server.jar:git-Spigot-de459a2-51263e9]
    at [?:1.8.0_121]


    I would like to see a detailed forums or post for the module configs? It could help.

    One final question...

    In my PEX config I have prefixes as '&0[&4&lOwner&0]'

    However, in the scoreboard for some reason it doesn't add the [ ] ? Any reason why? Something I could be doing wrong?

    Many thanks. And keep up the good work.
  2. The error is not a real error. It is more or less just a warning without any influence on CTSNC, but I will keep watching the error and try to remove the warning in the next update.

    Also I like the idea, I will setup wiki pages for all configs where all points are explained & what they do ;)

    You are not doing something wrong. CTSNC remove all [ & ] from the permissionsex prefix & suffix, because of some problems users had.
    But there will be an option to enable / disable the formattings in the next update so you can turn them off. Also I recommend to use the own prefix system of CTSNC.

    Best Regards,
  3. There is a new snapshot released which include the option to disable the pex formatting ;)

    You can download it here:

    You need to regenerate your Variables.yml
  4. Hi,
    I need help.
    [21:04:50] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to CTSNC v11.5
        at$1.execute( ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at org.bukkit.plugin.RegisteredListener.callEvent( ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at org.bukkit.plugin.SimplePluginManager.fireEvent( [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at org.bukkit.plugin.SimplePluginManager.callEvent( [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.PlayerList.onPlayerJoin( [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.PlayerList.a( [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.LoginListener.b( [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.LoginListener.F_( [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.NetworkManager.a( [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.ServerConnection.c( [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.MinecraftServer.D( [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.DedicatedServer.D( [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.MinecraftServer.C( [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at Source) [?:1.8.0_131]
    Caused by: java.lang.NullPointerException
        at de.Herbystar.CTNSC.Events.PlayerJoinEvents.onPlayerJoinEvent( ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
        at$1.execute( ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        ... 14 more
  5. It seems the error comes from the updater. Do you use the newest version (11.6)? This should fix the error ;)

Share This Page