java.util.ConcurrentModificationException

GitHub | LevelX2 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Concurrent Modification Error

    GitHub | 2 years ago | MylesIsCool
    java.util.ConcurrentModificationException
  2. 0

    ConcurrentModificationException is thrown (multiple for loops inside)

    Stack Overflow | 3 years ago | Marco Pietro Cirillo
    java.util.ConcurrentModificationException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at java.util.ArrayDeque$DeqIterator.next()
    2. Java RT
      ArrayDeque$DeqIterator.next
      1. java.util.ArrayDeque$DeqIterator.next(ArrayDeque.java:643)
      1 frame
    3. mage.players
      PlayerImpl.<init>
      1. mage.players.Library.<init>(Library.java:66)
      2. mage.players.Library.copy(Library.java:162)
      3. mage.players.PlayerImpl.<init>(PlayerImpl.java:272)
      3 frames
    4. mage.player.human
      HumanPlayer.copy
      1. mage.player.human.HumanPlayer.<init>(HumanPlayer.java:136)
      2. mage.player.human.HumanPlayer.copy(HumanPlayer.java:1453)
      3. mage.player.human.HumanPlayer.copy(HumanPlayer.java:103)
      3 frames
    5. mage.players
      Players.copy
      1. mage.players.Players.<init>(Players.java:45)
      2. mage.players.Players.copy(Players.java:60)
      2 frames
    6. mage.game
      GameImpl.bookmarkState
      1. mage.game.GameState.<init>(GameState.java:154)
      2. mage.game.GameState.copy(GameState.java:241)
      3. mage.game.GameStates.save(GameStates.java:54)
      4. mage.game.GameImpl.saveState(GameImpl.java:577)
      5. mage.game.GameImpl.bookmarkState(GameImpl.java:660)
      5 frames
    7. mage.players
      PlayerImpl.activateAbility
      1. mage.players.PlayerImpl.playAbility(PlayerImpl.java:1115)
      2. mage.players.PlayerImpl.activateAbility(PlayerImpl.java:1199)
      2 frames
    8. mage.player.human
      HumanPlayer.priority
      1. mage.player.human.HumanPlayer.activateAbility(HumanPlayer.java:1246)
      2. mage.player.human.HumanPlayer.activateAbility(HumanPlayer.java:1256)
      3. mage.player.human.HumanPlayer.priority(HumanPlayer.java:716)
      3 frames
    9. mage.game
      GameImpl.playPriority
      1. mage.game.GameImpl.playPriority(GameImpl.java:1298)
      1 frame
    10. mage.game.turn
      Turn.play
      1. mage.game.turn.Step.priority(Step.java:87)
      2. mage.game.turn.Phase.playStep(Phase.java:210)
      3. mage.game.turn.Phase.play(Phase.java:115)
      4. mage.game.turn.Turn.play(Turn.java:152)
      4 frames
    11. mage.game
      GameImpl.start
      1. mage.game.GameImpl.playTurn(GameImpl.java:852)
      2. mage.game.GameImpl.play(GameImpl.java:766)
      3. mage.game.GameImpl.start(GameImpl.java:733)
      3 frames
    12. mage.server.game
      GameWorker.call
      1. mage.server.game.GameWorker.call(GameWorker.java:60)
      1 frame
    13. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames