Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-122993

ConcurrentModificationException when running "scoreboard players reset *"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 17w49b
    • None
    • Unconfirmed

      I don't know the exact conditions, but I created a dummy objective "Score", and gave both some entities and fake players some values in the objective, and then ran

      scoreboard players reset * Score
      

      and got

      Couldn't execute command for Lorgon111: scoreboard players reset * Score
      java.util.ConcurrentModificationException
      	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)
      	at java.util.HashMap$KeyIterator.next(HashMap.java:1453)
      	at pc.b(SourceFile:308)
      	at pc.c(SourceFile:166)
      	at pc$$Lambda$474/598748983.run(Unknown Source)
      	at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:119)
      	at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:76)
      	at bn.a(SourceFile:184)
      	at re.c(SourceFile:868)
      	at re.a(SourceFile:855)
      	at kp.a(SourceFile:37)
      	at kp.a(SourceFile:9)
      	at hh$1.run(SourceFile:13)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at i.a(SourceFile:137)
      	at net.minecraft.server.MinecraftServer.w(SourceFile:636)
      	at net.minecraft.server.MinecraftServer.v(SourceFile:592)
      	at clh.v(SourceFile:152)
      	at net.minecraft.server.MinecraftServer.run(SourceFile:497)
      	at java.lang.Thread.run(Thread.java:745)
      

            Unassigned Unassigned
            brianmcn Brian McNamara
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: