activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] [Closed] (AMQ-2480) Stomp Transport Dispatcher Fails on NPE
Date Fri, 01 Jul 2011 20:59:28 GMT


Timothy Bish closed AMQ-2480.

       Resolution: Incomplete
    Fix Version/s:     (was: 5.6.0)

Not test case provided to test the issue.  Fixes since 5.4.0 might have resolved this, should
test using 5.5.0 and reopen if problem persists.

> Stomp Transport Dispatcher Fails on NPE
> ---------------------------------------
>                 Key: AMQ-2480
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 5.3.0, 5.4.0
>         Environment: Windows XP, JRE6
>            Reporter: Ben
> We have been using ActiveMQ 5.2 on Windows for about 6months with a relatively low message
throughput (a maximum usage 1 message every 4 seconds, nothing crazy) and it was working perfectly.
 We have several clients that connect through either an OpenWire or Stomp connection and communicate
through Queues.   
> Several days ago I started testing higher throughput (several messages/second) messaging
by publishing to a Queue from an OpenWire connection and consuming the message on a Stomp
connection.  At some point there is a failure in the Dispatcher for the Stomp connection and
my client stops receiving messages.  The OpenWire connection is unaffected and continues filling
the Queue.  I have since upgraded to ActiveMQ 5.3 because there were some issues fixed related
to Stomp connection, but still see the same issue.  The only exception is :
> Exception in thread "ActiveMQ Connection Dispatcher: /" java.lang.NullPointerException

>         at org.apache.activemq.transport.stomp.LegacyFrameTranslator.convertMessage(

>         at org.apache.activemq.transport.stomp.ProtocolConverter.convertMessage(

>         at org.apache.activemq.transport.stomp.StompSubscription.onMessageDispatch(

>         at org.apache.activemq.transport.stomp.ProtocolConverter.onActiveMQCommand(

>         at org.apache.activemq.transport.stomp.StompTransportFilter.oneway(

>         at org.apache.activemq.transport.MutexTransport.oneway(

>         at

>         at

>         at

>         at org.apache.activemq.thread.DedicatedTaskRunner.runTask(

>         at org.apache.activemq.thread.DedicatedTaskRunner$

> I thought I would also note that with the nice new "Connector" page on the admin interface
it shows the connection to my Stomp client as connected, and similarly the "Queues" page lists
the Stomp consumer on the Queue, but the pending messages just keeps growing.
> The client library we are using for the Stomp connection is from Codehaus (
 Our OpenWire connection is utilizing Spring frameworks JMS library.
> I'm going to continue to look for a test case to reproduce my error. 

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message