Uploaded image for project: 'FUSE Message Broker'
  1. FUSE Message Broker
  2. MB-1072

java.util.ConcurrentModificationException in org.apache.activemq.broker.region.Queue.iterate()

    Details

    • Similar Issues:
      Show 10 results 

      Description

      The following stack was reproduced in AMQ 5.5.1 but not the Fuse Message Broker version.

       Exception in thread "BrokerService[3561F026-E8F62746-2A202922-F17EADF0-7BCA8E67] Task-5053" java.util.ConcurrentModificationException
      jvm 1    | 	at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
      jvm 1    | 	at java.util.LinkedHashMap$ValueIterator.next(LinkedHashMap.java:388)
      jvm 1    | 	at org.apache.activemq.broker.region.Queue.iterate(Queue.java:1376)
      jvm 1    | 	at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:127)
      jvm 1    | 	at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
      jvm 1    | 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      jvm 1    | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      jvm 1    | 	at java.lang.Thread.run(Thread.java:662)

      This issue is to audit the pagedInMessages LinkedHashMap and verify its protected sufficiently.

        Gliffy Diagrams

          Activity

          Hide
          tabish121 Timothy Bish added a comment -

          Fix applied.

          Show
          tabish121 Timothy Bish added a comment - Fix applied.

            People

            • Assignee:
              tabish121 Timothy Bish
              Reporter:
              davestanley Dave Stanley
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: