Hi,
I want to develop a JMS publisher sending messages as fast as possible (to
test a subscriber appli). For that reason I'm using topic functionalities
and non persistent sending.
But when too many messages are sent I had some issues. At first I got a
java.lang.outofmemory because ActiveMQ was starting "kaha.store" and there
was not enough memory left for the JVM so I deactivated it.
Now, I'm getting a "TransportConnection serviceException. Severe: Async
error nullPointerException" and the messages are no more sent after this.

Does anyone have a clue about the cause of this exception?
Any suggestion would be helpful.

Thanks!
Snake

Here is the entire error message:
org.apache.activemq.broker.TransportConnection serviceException
SEVERE: 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(TransportConne
ction.java:305)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportC
onnection.java:179)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilt
er.java:68)
        at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireForm
atNegotiator.java:143)
        at
org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityM
onitor.java:206)
        at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSup
port.java:84)
        at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.jav
a:203)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:
185)
        at java.lang.Thread.run(Thread.java:619)
-- 
View this message in context: 
http://www.nabble.com/Async-error-nullpointerexception-tp24417394p24417394.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to