ActiveMQ
  1. ActiveMQ
  2. AMQ-1383

org.apache.activemq.transport.InactivityMonitor$1 cannot be cast to edu.emory.mathcs.backport.java.util.concurrent.Delayed

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 5.1.0
    • Component/s: Transport
    • Labels:
      None
    • Environment:

      MS Vista, JDK 1.6, ActiveMq 4.1.1

      Description

      Came back into office this morning and spotted this, can't tell if my application continued as usual as i have only very little activity in the application.

      Exception in thread "ActiveMQ Transport: tcp://XXX/YYY:61616" java.lang.ClassCastException: org.apache.activemq.transport.InactivityMonitor$1 cannot be cast to edu.emory.mathcs.backport.java.util.concurrent.Delayed
      at edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.compareTo(ScheduledThreadPoolExecutor.java:189)
      at edu.emory.mathcs.backport.java.util.PriorityQueue.remove(PriorityQueue.java:507)
      at edu.emory.mathcs.backport.java.util.concurrent.DelayQueue.remove(DelayQueue.java:379)
      at edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.remove(ScheduledThreadPoolExecutor.java:707)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.remove(ThreadPoolExecutor.java:1582)
      at org.apache.activemq.thread.Scheduler.cancel(Scheduler.java:55)
      at org.apache.activemq.transport.InactivityMonitor.stopMonitorThreads(InactivityMonitor.java:176)
      at org.apache.activemq.transport.InactivityMonitor.onException(InactivityMonitor.java:149)
      at org.apache.activemq.transport.TransportSupport.onException(TransportSupport.java:97)
      at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:150)
      at java.lang.Thread.run(Unknown Source)

      There are no Sub-Tasks for this issue.

        Activity

        Jeff Turner made changes -
        Project Import Fri Nov 26 22:32:02 EST 2010 [ 1290828722158 ]
        Rob Davies made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 5.1.0 [ 11802 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Rob Davies made changes -
        Assignee Rob Davies [ rajdavies ]
        Lari Hotari made changes -
        Field Original Value New Value
        Link This issue is related to AMQ-1169 [ AMQ-1169 ]
        Ulrich created issue -

          People

          • Assignee:
            Rob Davies
            Reporter:
            Ulrich
          • Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development