activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Null JMS Destination
Date Tue, 03 Oct 2006 14:27:08 GMT
Yeah I've seen this when using a non-Java client. Were you using the
Java client? Am wondering how to reproduce. I've just added an
explicit check into the Java client to make absolutely sure a
destination is specified & if not give a meaningful exception

On 10/2/06, kieran1 <KMurphy@herzumsoftware.com> wrote:
>
> Today it appears we have gotten a case where messages made it to ActiveMQ
> with a null JMS destination.
>
> The trace below appeared in activemq.log for every message sent.  Has anyone
> seen anything similar?
>
> 2006-10-02 21:11:37,781 [ocalport=61616]] WARN  BrokerClientImpl
> - caught exception consuming packet: ACTIVEMQ_OBJECT_MESSAGE: id = 0
> ActiveMQMessage{ , jmsMessageID =
> ID:whreal1.alleanzasalute.it-59045-1159814047343-68318:0, bodyAsBytes =
> org.activemq.message.util.ByteArray@1592469, readOnlyMessage = false,
> jmsClientID = 'ID:whreal1.alleanzasalute.it-59045-1159814047343-68223:' ,
> jmsCorrelationID = 'null' , jmsDestination = null, jmsReplyTo = null,
> jmsDeliveryMode = 2, jmsRedelivered = false, jmsType = 'null' ,
> jmsExpiration = 0, jmsPriority = 4, jmsTimestamp = 1159816297767, properties
> = null, readOnlyProperties = false, entryBrokerName = 'reporting2' ,
> entryClusterName = 'default' , consumerNos = null, transactionId = 'null' ,
> xaTransacted = false, consumerIdentifer = 'null' , messageConsumed = false,
> transientConsumed = false, sequenceNumber = 0, deliveryCount = 1,
> dispatchedFromDLQ = false, messageAcknowledge = null, jmsMessageIdentity =
> null, producerKey = ID:whreal1.alleanzasalute.it-59045-1159814047343-68318:
> } ActiveMQObjectMessage{ object = null }
> java.lang.NullPointerException
>         at
> org.activemq.broker.impl.DefaultBroker.sendMessage(DefaultBroker.java:283)
>         at
> org.activemq.broker.impl.BrokerContainerImpl.sendMessage(BrokerContainerImpl.java:462)
>         at
> org.activemq.broker.impl.BrokerConnectorImpl.sendMessage(BrokerConnectorImpl.java:271)
>         at
> org.activemq.broker.impl.BrokerClientImpl.consumeActiveMQMessage(BrokerClientImpl.java:693)
>         at
> org.activemq.broker.impl.BrokerClientImpl.consume(BrokerClientImpl.java:306)
>         at
> org.activemq.transport.TransportChannelSupport.doConsumePacket(TransportChannelSupport.java:374)
>         at
> org.activemq.transport.TransportChannelSupport.doConsumePacket(TransportChannelSupport.java:368)
>         at
> org.activemq.transport.tcp.TcpTransportChannel.run(TcpTransportChannel.java:310)
>         at java.lang.Thread.run(Unknown Source)
> --
> View this message in context: http://www.nabble.com/Null-JMS-Destination-tf2372770.html#a6610593
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message