activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-740) java.lang.UnsupportedOperationException thrown when creating a consumer
Date Thu, 08 Jun 2006 15:29:51 GMT
     [ https://issues.apache.org/activemq/browse/AMQ-740?page=all ]
     
Hiram Chirino resolved AMQ-740:
-------------------------------

    Resolution: Fixed
     Assign To: Hiram Chirino

Fix applied to both 4.1 and 4.0.1 branches.

> java.lang.UnsupportedOperationException thrown when creating a consumer
> -----------------------------------------------------------------------
>
>          Key: AMQ-740
>          URL: https://issues.apache.org/activemq/browse/AMQ-740
>      Project: ActiveMQ
>         Type: Bug

>     Versions: 4.0
>     Reporter: Hiram Chirino
>     Assignee: Hiram Chirino
>      Fix For: 4.0.1, 4.1

>
>
> gregw reported the following stack trace:
> java.lang.UnsupportedOperationException
>         at java.util.AbstractCollection.add(AbstractCollection.java:216)
>         at java.util.AbstractCollection.addAll(AbstractCollection.java:318)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter.getDestinations(JournalPersistenceAdapter.java:139)
       at org.apache.activemq.broker.region.AbstractRegion.getInactiveDestinations(AbstractRegion.java:193)
>         at org.apache.activemq.broker.region.TopicRegion.getInactiveDestinations(TopicRegion.java:254)
>         at org.apache.activemq.broker.region.AbstractRegion.addConsumer(AbstractRegion.java:157)
>         at org.apache.activemq.broker.region.TopicRegion.addConsumer(TopicRegion.java:113)
>         at org.apache.activemq.broker.region.RegionBroker.addConsumer(RegionBroker.java:296)
>         at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:73)
>         at org.apache.activemq.advisory.AdvisoryBroker.addConsumer(AdvisoryBroker.java:77)
>         at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:73)
>         at org.apache.activemq.broker.MutableBrokerFilter.addConsumer(MutableBrokerFilter.java:86)
>         at org.apache.activemq.broker.AbstractConnection.processAddConsumer(AbstractConnection.java:427)
>         at org.apache.activemq.command.ConsumerInfo.visit(ConsumerInfo.java:295)
>         at org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:201)
>         at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:62)
>         at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:97)
>         at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:63)
>         at org.apache.activemq.transport.vm.VMTransport.oneway(VMTransport.java:76)
>         at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:44)
>         at org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:68)
>         at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:73)
>         at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1131)
>         at org.apache.activemq.ActiveMQSession.syncSendPacket(ActiveMQSession.java:1667)
>         at org.apache.activemq.ActiveMQMessageConsumer.<init>(ActiveMQMessageConsumer.java:196)
>         at org.apache.activemq.ActiveMQSession.createConsumer(ActiveMQSession.java:840)
>         at org.apache.activemq.ActiveMQSession.createConsumer(ActiveMQSession.java:800)
>         at org.apache.activemq.web.WebClient.getConsumer(WebClient.java:261)
>         at org.apache.activemq.web.WebClient.getConsumer(WebClient.java:255)
>         at org.apache.activemq.web.MessageListenerServlet.doPost(MessageListenerServlet.java:142)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:423)
>         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:966)
>         at org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:46)
>         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:957)
>         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:353)
>         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
>         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:567)
>         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:147)
>         at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:126)
>         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
>         at org.mortbay.jetty.Server.handle(Server.java:248)
>         at org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:360)
>         at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:628)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:611)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:197)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:288)
>         at org.mortbay.jetty.nio.SelectChannelConnector$HttpChannelEndPoint.run(SelectChannelConnector.java:805)
>         at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message