Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7580

ConcurrentModificationException on GoalSelector#tick

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • 1.17.1
    • Yes

      I got the following Exception on my Server:

      ```
      [01:13:16] [Server thread/ERROR]: Entity threw exception at world:-804.5000776586575,46.9375,-232.63654721077813
      java.util.ConcurrentModificationException: null
          at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:756) ~[?:?]
          at java.util.LinkedHashMap$LinkedKeyIterator.next(LinkedHashMap.java:778) ~[?:?]
          at net.minecraft.world.entity.ai.goal.GoalSelector.tick(GoalSelector.java:85) ~[app:?]
          at net.minecraft.world.entity.Mob.serverAiStep(Mob.java:841) ~[app:?]
          at net.minecraft.world.entity.LivingEntity.aiStep(LivingEntity.java:3189) ~[app:?]
          at net.minecraft.world.entity.Mob.aiStep(Mob.java:625) ~[app:?]
          at net.minecraft.world.entity.AgeableMob.aiStep(AgeableMob.java:154) ~[app:?]
          at net.minecraft.world.entity.animal.Animal.aiStep(Animal.java:59) ~[app:?]
          at net.minecraft.world.entity.animal.Wolf.aiStep(Wolf.java:193) ~[app:?]
          at net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:2915) ~[app:?]
          at net.minecraft.world.entity.Mob.tick(Mob.java:393) ~[app:?]
          at net.minecraft.world.entity.animal.Wolf.tick(Wolf.java:209) ~[app:?]
          at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1120) ~[app:?]
          at net.minecraft.world.level.Level.guardEntityTick(Level.java:977) ~[app:?]
          at net.minecraft.server.level.ServerLevel.lambda$tick$7(ServerLevel.java:775) ~[app:?]
          at net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:43) ~[patched_1.17.1.jar:git-Paper-411]
          at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:756) ~[app:?]
          at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1627) ~[patched_1.17.1.jar:git-Paper-411]
          at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-411]
          at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-411]
          at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-411]
          at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-411]
          at java.lang.Thread.run(Thread.java:840) ~[?:?]
      ```

            Unassigned Unassigned
            Mr_Minecraft15 Marvin Klar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: