activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William MacDonald (JIRA)" <>
Subject [jira] Commented: (AMQ-725) Messages Sent by JMS that contain header properties cause error when STOMP client registers a Subscriber
Date Thu, 09 Nov 2006 00:00:03 GMT
    [ ] 
William MacDonald commented on AMQ-725:

   [[ Old comment, sent by email on Tue, 20 Jun 2006 19:17:14 +0000 ]]


Sorry for the delay in responding, I have been out of the country.

I will put together a test case, in the next day or so, showing the data 
transmitted to and from the broker as I am not using the standard Stomp 
clients, I have implemented a Stomp client in the Progress 4GL programming 

William MacDonald
Ontario, Canada

> Messages Sent by JMS that contain header properties cause error when STOMP client registers
a Subscriber
> --------------------------------------------------------------------------------------------------------
>                 Key: AMQ-725
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 4.0
>         Environment: Running on WinXP with Sun JDK1.5.0_06
>            Reporter: William MacDonald
>         Assigned To: Hiram Chirino
>            Priority: Blocker
>             Fix For: 4.1
> I am using the lastest 4.0 release build of ActiveMQ and I have been trying to produce
messages in a JMS client and receive the messages in a STOMP client.
> What I have found is that if the JMS Client adds header properties to the message to
be delivered to ActiveMQ then when I subscribe with the STOMP client I am receiving the Error
listed below.  If I remove all header properties then the message is transmitted correctly.
 I have also found that if I send messages with a STOMP client that has header properties
then everything works correctly.
> java.lang.NullPointerException
> at java.util.Hashtable.put(Unknown Source)
> at java.util.Hashtable.putAll(Unknown Source)
> at org.apache.activemq.transport.stomp.FrameBuilder.addHeaders(
> at org.apache.activemq.transport.stomp.Subscription.receive(
> at org.apache.activemq.transport.stomp.StompWireFormat.writeCommand(
> at org.apache.activemq.transport.stomp.StompWireFormat.marshal(
> at org.apache.activemq.transport.tcp.TcpTransport.oneway(
> at org.apache.activemq.transport.InactivityMonitor.oneway(
> at org.apache.activemq.transport.MutexTransport.oneway(
> at org.apache.activemq.transport.ResponseCorrelator.oneway(
> at
> at
> at
> at org.apache.activemq.thread.DedicatedTaskRunner.runTask(
> at org.apache.activemq.thread.DedicatedTaskRunner.access$000(
> at org.apache.activemq.thread.DedicatedTaskRunner$

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message