Hi Gary, 

    I am sorry that I could not pinpoint the exact reason about this issue.

I was wondering that it may be caused by using "kill -9" to terminate the
client program which 

sends or receives message. By the way, this issue seems to occur when the
client program try to 

reconnect to the broker.







Gary Tully wrote:
> 
> Destination is null for some reason. There seems to be a "not null"
> guard on every other use of destination save this one.
> 
> Can you raise a jira issue and supply as much info as you can about
> the context of this exception?
> 
> The simple fix is to add the null check here also, but it is not clear
> from the code why destination would be null as dispatch would have to
> have been called prior to an acknowledgement.
> The not null checks elsewhere would indicate that it is necessary however.
> 
> 2008/12/11 WhiteSock <whitesock1...@hotmail.com>:
>>
>> Hi all,
>>
>>    I got the following error in activemq.log, ActiveMQ's version is
>> 5.2.0.
>> Do you have any idea?
>>
>> 2008-12-10 21:44:04,485 [.15.2.125:47814] ERROR Service
>> - Async error occurred: java.lang.NullPointerException
>> java.lang.NullPointerException
>>        at
>> org.apache.activemq.broker.region.TopicSubscription.acknowledge(TopicSubscription.java:221)
>>        at
>> org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:373)
>>        at
>> org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:462)
>>        at
>> org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
>>        at
>> org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74)
>>        at
>> org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74)
>>        at
>> org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:85)
>>        at
>> org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:456)
>>        at
>> org.apache.activemq.command.MessageAck.visit(MessageAck.java:205)
>>        at
>> org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305)
>>        at
>> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
>>        at
>> org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
>>        at
>> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:143)
>>        at
>> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:206)
>>        at
>> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
>>        at
>> org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:203)
>>        at
>> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185)
>>        at java.lang.Thread.run(Thread.java:619)
>>
>> Cheers.
>> --
>> View this message in context:
>> http://www.nabble.com/Async-error-occurred-java.lang.NullPointerException-tp20950854p20950854.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> http://blog.garytully.com
> 
> Open Source SOA
> http://FUSESource.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Async-error-occurred-java.lang.NullPointerException-tp20950854p21012247.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to