activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: ActiveMQ 5.4.0 Stomp Null pointer exception
Date Mon, 30 Aug 2010 10:03:58 GMT
Maybe the source will help, it is the destination attribute:
http://fisheye6.atlassian.com/browse/activemq/tags/activemq-5.4.0/activemq-core/src/main/java/org/apache/activemq/broker/CompositeDestinationBroker.java?r=985385#l84

Guess you need to see if you can reproduce and possibly produce a test case.

On 27 August 2010 18:36, Theo Bot <theo.bot@proxy.nl> wrote:
> Gary,
>
> I can't make anything of it. Do you know which attribute?
>
> Theo
>
> On Mon, Aug 23, 2010 at 1:00 PM, Gary Tully <gary.tully@gmail.com> wrote:
>> what client are you using, that npe is coming from an expected
>> destination attribute in the message which is not there in that stack
>> trace.
>>
>> On 22 August 2010 15:12, Theo Bot <theo.bot@proxy.nl> wrote:
>>> Hi all
>>>
>>> When I start the ActiveMQ (5.4.0) on a CentOS 5.5 server with the
>>> activemq-stomp.xml file and I try to send a message via the Stomp
>>> connector, I get the following:
>>>
>>> 2010-08-22 16:08:21,127 | WARN  | Async error occurred:
>>> java.lang.NullPointerException |
>>> org.apache.activemq.broker.TransportConnection.Service | ActiveMQ
>>> Transport: tcp:///192.168.1.80:59888
>>> java.lang.NullPointerException
>>>        at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:84)
>>>        at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:230)
>>>        at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:135)
>>>        at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:460)
>>>        at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:663)
>>>        at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:309)
>>>        at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185)
>>>        at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
>>>        at org.apache.activemq.transport.stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java:81)
>>>        at org.apache.activemq.transport.stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:140)
>>>        at org.apache.activemq.transport.stomp.ProtocolConverter.onStompSend(ProtocolConverter.java:253)
>>>        at org.apache.activemq.transport.stomp.ProtocolConverter.onStompCommand(ProtocolConverter.java:178)
>>>        at org.apache.activemq.transport.stomp.StompTransportFilter.onCommand(StompTransportFilter.java:70)
>>>        at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
>>>        at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:219)
>>>        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:201)
>>>        at java.lang.Thread.run(Thread.java:636)
>>> 2010-08-22 16:08:21,128 | WARN  | Exception occured processing:
>>> null | org.apache.activemq.transport.stomp.ProtocolConverter |
>>> ActiveMQ Connection Dispatcher: /192.168.1.80:59888
>>> java.lang.NullPointerException
>>>        at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:84)
>>>        at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:230)
>>>        at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:135)
>>>        at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:460)
>>>        at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:663)
>>>        at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:309)
>>>        at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185)
>>>        at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
>>>        at org.apache.activemq.transport.stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java:81)
>>>        at org.apache.activemq.transport.stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:140)
>>>        at org.apache.activemq.transport.stomp.ProtocolConverter.onStompSend(ProtocolConverter.java:253)
>>>        at org.apache.activemq.transport.stomp.ProtocolConverter.onStompCommand(ProtocolConverter.java:178)
>>>        at org.apache.activemq.transport.stomp.StompTransportFilter.onCommand(StompTransportFilter.java:70)
>>>        at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
>>>        at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:219)
>>>        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:201)
>>>        at java.lang.Thread.run(Thread.java:636)
>>>
>>>
>>> --
>>> Regards
>>>
>>> Theo Bot
>>> Network Management Engineer
>>> e-mail: theo.bot@proxy.nl
>>> Website: http://www.proxy.nl
>>> LinkedIn: http://www.linkedin.com/in/theobot
>>>
>>
>>
>>
>> --
>> http://blog.garytully.com
>>
>> Open Source Integration
>> http://fusesource.com
>>
>
>
>
> --
> Met vriendelijke groet,
>
> Theo Bot
> Network Management Engineer
> Tel: +31653965698
> e-mail: theo.bot@proxy.nl
> Website: http://www.proxy.nl
> LinkedIn: http://www.linkedin.com/in/theobot
>



-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Mime
View raw message