You are trying to remove item from list, that you currently iterating on, thus, ConcurentModifiacationException occures.
See here: https://stackoverflow.com/a/18448699/8851887
solved Java Integer ArrayList [closed]
You are trying to remove item from list, that you currently iterating on, thus, ConcurentModifiacationException occures.
See here: https://stackoverflow.com/a/18448699/8851887
solved Java Integer ArrayList [closed]