games647 / ScoreboardStats

Bukkit plugin for customizing the sidebar of the scoreboard feature from minecraft
https://dev.bukkit.org/bukkit-mods/scoreboardstats/
MIT License
28 stars 45 forks source link

ConcurrentModificationException for PvPStats #217

Open KonoromiHimaries opened 6 years ago

KonoromiHimaries commented 6 years ago

timings https://timings.aikar.co/?id=71959a23e67f47548bb15b291da9e029

[05:14:50] [Server thread/WARN]: [ScoreboardStats] Task #144897 for ScoreboardStats v0.10.6 generated an exception
java.util.ConcurrentModificationException: null
    at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442) ~[?:1.8.0_151]
    at java.util.HashMap$EntryIterator.next(HashMap.java:1476) ~[?:1.8.0_151]
    at java.util.HashMap$EntryIterator.next(HashMap.java:1474) ~[?:1.8.0_151]
    at com.github.games647.scoreboardstats.scoreboard.protocol.PacketSbManager.createTopListScoreboard(PacketSbManager.java:138) ~[?:?]
    at com.github.games647.scoreboardstats.scoreboard.DelayedShowTask.run(DelayedShowTask.java:33) ~[?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[patched_1.12.2.jar:git-Paper-1268]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:356) [patched_1.12.2.jar:git-Paper-1268]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:833) [patched_1.12.2.jar:git-Paper-1268]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:426) [patched_1.12.2.jar:git-Paper-1268]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767) [patched_1.12.2.jar:git-Paper-1268]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) [patched_1.12.2.jar:git-Paper-1268]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]