camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chandler <pech...@sandia.gov>
Subject NullPointer. org.apache.camel.component.jms.DefaultJmsMessageListenerContainer
Date Mon, 26 Sep 2016 17:30:27 GMT
NullPointer.
org.apache.camel.component.jms.DefaultJmsMessageListenerContainer

I am getting the following runtime exception.

Caused by: java.lang.NullPointerException
2016-09-23 16:02:02,682 logLevel="ERROR", thread="Camel (MyRoute) thread
#1670 - TemporaryQueueReplyManager[mytopic]",
class="org.apache.camel.component.jms.DefaultJmsMessageListenerContainer",
lineNumber="941", elapsedFromTheConstruction="3386790", message="Could not
 refresh JMS Connection for destination 'temporary' - retrying using
FixedBackOff{interval=5000, currentAttempts=337, maxAttempts=unlimited}.
Cause: Error while attempting to add new Connection to the pool" 
2016-09-23 16:02:02,682 logLevel="WARN", thread="Camel (myRoute) thread
#1080 - TemporaryQueueReplyManager[myTopic]",
class="org.apache.camel.component.jms.reply.TemporaryQueueReplyManager",
lineNumber="184", elapsedFromTheConstruction="3386790", message="Exception
in
side the DMLC for Temporary ReplyTo Queue for destination
dev.t.cee.pm.cet.data, refreshing ReplyTo destination" 
javax.jms.JMSException: Error while attempting to add new Connection to the
pool
at
org.apache.activemq.jms.pool.PooledConnectionFactory.createJmsException(PooledConnectionFactory.java:274)
at
org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:233)
at
org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:212)
at
org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180)
at
org.springframework.jms.listener.AbstractJmsListeningContainer.createSharedConnection(AbstractJmsListeningContainer.java:413)
at
org.springframework.jms.listener.AbstractJmsListeningContainer.refreshSharedConnection(AbstractJmsListeningContainer.java:398)
at
org.springframework.jms.listener.DefaultMessageListenerContainer.refreshConnectionUntilSuccessful(DefaultMessageListenerContainer.java:919)
at
org.springframework.jms.listener.DefaultMessageListenerContainer.recoverAfterListenerSetupFailure(DefaultMessageListenerContainer.java:893)
at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:1069)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException

------------------
And in Camel shutdown I am getting:
2016-09-23 16:38:03,552 WARN  [Camel (P6toCET) thread #232 -
TemporaryQueueReplyManager[mytopic]]
org.apache.camel.component.jms.reply.TemporaryQueueReplyManager$TemporaryReplyQueueExcep
tionListener.onException(TemporaryQueueReplyManager.java:184) : Exception
inside the DMLC for Temporary ReplyTo Queue for destination
dev.t.cee.pm.cet.data, refreshing ReplyTo destination
javax.jms.IllegalStateException: The Consumer is closed
        at
org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:878)
        at
org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:641)
        at
org.apache.activemq.jms.pool.PooledMessageConsumer.receive(PooledMessageConsumer.java:67)
        at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveMessage(AbstractPollingMessageListenerContainer.java:420)
        at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:300)
        at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:253)
        at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1158)
        at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1150)
        at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:1047)
        at java.lang.Thread.run(Thread.java:745)



--
View this message in context: http://camel.465427.n5.nabble.com/NullPointer-org-apache-camel-component-jms-DefaultJmsMessageListenerContainer-tp5788071.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message