java.util.ConcurrentModificationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Following stack trace occurred during a test run. [junit] INFO: Created message: [[Payload=/tmp/FileReadingMessageSourceIntegrationTests/test22257.tmp][Headers={spring.integration.timestamp=1226614565373, spring.integration.id=67479928-a842-4fa9-8fb4-14a697db1155}]] [junit] java.util.ConcurrentModificationException [junit] at java.util.PriorityQueue$Itr.checkForComodification(PriorityQueue.java:456) [junit] at java.util.PriorityQueue$Itr.next(PriorityQueue.java:412) [junit] at java.util.concurrent.PriorityBlockingQueue$Itr.next(PriorityBlockingQueue.java:427) [junit] at java.util.AbstractSet.removeAll(AbstractSet.java:143) [junit] at org.springframework.integration.file.FileReadingMessageSource.refreshQueue(FileReadingMessageSource.java:110) [junit] at org.springframework.integration.file.FileReadingMessageSource.receive(FileReadingMessageSource.java:92) [junit] at org.springframework.integration.file.FileReadingMessageSourceIntegrationTests$1.run(FileReadingMessageSourceIntegrationTests.java:120) [junit] at org.springframework.integration.file.FileReadingMessageSourceIntegrationTests$3.run(FileReadingMessageSourceIntegrationTests.java:177) [junit] at java.lang.Thread.run(Thread.java:613) [junit] Nov 13, 2008 10:16:05 PM org.springframework.integration.file.FileReadingMessageSource onFailure [junit] WARNING: Failed to send: [Payload=/tmp/FileReadingMessageSourceIntegrationTests/test22257.tmp][Headers={spring.integration.timestamp=1226614565373, spring.integration.id=67479928-a842-4fa9-8fb4-14a697db1155}] [junit] Nov 13, 2008 10:16:05 PM org.springframework.integration.file.FileReadingMessageSource receive [junit] INFO: Created message: [[Payload=/tmp/FileReadingMessageSourceIntegrationTests/test22257.tmp][Headers={spring.integration.timestamp=1226614565373, spring.integration.id=f763ea33-0501-4063-8441-d297f35f3089}]]
    via by Jonas Partner,
  • Following stack trace occurred during a test run. [junit] INFO: Created message: [[Payload=/tmp/FileReadingMessageSourceIntegrationTests/test22257.tmp][Headers={spring.integration.timestamp=1226614565373, spring.integration.id=67479928-a842-4fa9-8fb4-14a697db1155}]] [junit] java.util.ConcurrentModificationException [junit] at java.util.PriorityQueue$Itr.checkForComodification(PriorityQueue.java:456) [junit] at java.util.PriorityQueue$Itr.next(PriorityQueue.java:412) [junit] at java.util.concurrent.PriorityBlockingQueue$Itr.next(PriorityBlockingQueue.java:427) [junit] at java.util.AbstractSet.removeAll(AbstractSet.java:143) [junit] at org.springframework.integration.file.FileReadingMessageSource.refreshQueue(FileReadingMessageSource.java:110) [junit] at org.springframework.integration.file.FileReadingMessageSource.receive(FileReadingMessageSource.java:92) [junit] at org.springframework.integration.file.FileReadingMessageSourceIntegrationTests$1.run(FileReadingMessageSourceIntegrationTests.java:120) [junit] at org.springframework.integration.file.FileReadingMessageSourceIntegrationTests$3.run(FileReadingMessageSourceIntegrationTests.java:177) [junit] at java.lang.Thread.run(Thread.java:613) [junit] Nov 13, 2008 10:16:05 PM org.springframework.integration.file.FileReadingMessageSource onFailure [junit] WARNING: Failed to send: [Payload=/tmp/FileReadingMessageSourceIntegrationTests/test22257.tmp][Headers={spring.integration.timestamp=1226614565373, spring.integration.id=67479928-a842-4fa9-8fb4-14a697db1155}] [junit] Nov 13, 2008 10:16:05 PM org.springframework.integration.file.FileReadingMessageSource receive [junit] INFO: Created message: [[Payload=/tmp/FileReadingMessageSourceIntegrationTests/test22257.tmp][Headers={spring.integration.timestamp=1226614565373, spring.integration.id=f763ea33-0501-4063-8441-d297f35f3089}]]
    via by Jonas Partner,
  • crafting wirecutter
    via GitHub by re2000
    ,
  • JDiameter: synchronization problem
    via by Bastien,
  • GitHub comment 56#51756885
    via GitHub by czechnology
    ,
  • GitHub comment 56#45666526
    via GitHub by tealsoftware
    ,
    • java.util.ConcurrentModificationException at java.util.PriorityQueue$Itr.checkForComodification(PriorityQueue.java:456) at java.util.PriorityQueue$Itr.next(PriorityQueue.java:412) at java.util.concurrent.PriorityBlockingQueue$Itr.next(PriorityBlockingQueue.java:427) at java.util.AbstractSet.removeAll(AbstractSet.java:143) at org.springframework.integration.file.FileReadingMessageSource.refreshQueue(FileReadingMessageSource.java:110) at org.springframework.integration.file.FileReadingMessageSource.receive(FileReadingMessageSource.java:92) at org.springframework.integration.file.FileReadingMessageSourceIntegrationTests$1.run(FileReadingMessageSourceIntegrationTests.java:120) at org.springframework.integration.file.FileReadingMessageSourceIntegrationTests$3.run(FileReadingMessageSourceIntegrationTests.java:177) at java.lang.Thread.run(Thread.java:613)
    No Bugmate found.