[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-users
Subject: Re: ActiveMQ 5.4.0 Stomp Null pointer exception
From: Gary Tully <gary.tully () gmail ! com>
Date: 2010-08-30 14:47:53
Message-ID: AANLkTi=gRpQhG4ytijAVp0stWj0qL3P_WmoDTZt5urYJ () mail ! gmail ! com
[Download RAW message or body]
glad that helped, thanks for posting back.
On 30 August 2010 11:28, Theo Bot <theo.bot@proxy.nl> wrote:
> Gary,
>
> Your repsonse led me to the solution. It was indeed the missing
> destination. The script had an argument called 'queue' instead of
> 'destination'.
>
> Theo
>
> On Mon, Aug 30, 2010 at 12:03 PM, Gary Tully <gary.tully@gmail.com> wrote:
> > Maybe the source will help, it is the destination attribute:
> > http://fisheye6.atlassian.com/browse/activemq/tags/activemq-5.4.0/activemq-core/sr \
> > c/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
> >
>
>
>
> --
> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic