Hi all tonight my service stopped consuming messages after the exception below:
<code> 2007-04-20 22:30:32,412 [ool-1-thread-88] ERROR ActiveMQSession - error dispatching message: java.lang.NullPointerException at org.apache.activemq.ra.ManagedConnectionProxy.createSessionProxy(ManagedConnectionProxy.java:117) at org.apache.activemq.ra.ManagedConnectionProxy.createSession(ManagedConnectionProxy.java:106) at org.springframework.jms.core.JmsTemplate.createSession(JmsTemplate.java:826) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:420) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:476) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:557) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:548) at net.ripe.hstcnt.jms.Stage1.send(Stage1.java:49) at net.ripe.hstcnt.jms.Stage1.onMessage(Stage1.java:34) at net.ripe.hstcnt.jms.AbstractStage.onMessage(AbstractStage.java:44) at org.jencks.LocalTransactionEndpoint.onMessage(LocalTransactionEndpoint.java:68) at org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:121) at org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:61) at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:696) at org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:165) at org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290) at org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:619) </code> I can't really provide any more information about what was going on, but I would like to know why such exception cause all the sessions to stop. Is this by design? if so, why is it so? Thanks a lot Francesco -- View this message in context: http://www.nabble.com/NullPointerException-creating-session-tf3622786s2354.html#a10116302 Sent from the ActiveMQ - User mailing list archive at Nabble.com.