[rabbitmq-discuss] NullPointerException
Gary Russell
grussell at gopivotal.com
Wed Apr 23 20:35:25 BST 2014
Please open a JIRA issue here: https://jira.spring.io/browse/AMQP and we'll
take a look.
Please be sure to indicate which version of Spring AMQP you are using.
Thanks
Gary
On Wed, Apr 23, 2014 at 3:18 PM, PATAR, SAGAR <sp345s at att.com> wrote:
> We have a multithread java program running in JBOSS .. where each thread
> sends a message to the RABBIT MQ Exchange ..
>
> We are using the Spring config file to make the connections / channels
> etc ...
>
> Currently we have requestedChannelMax=1 .. Occasionally we see the below
> exception ...
>
> The exception is mis leading and not sure if its because eof the channel
> availability ...
>
>
>
> 2014-04-23 14:28:07,279 ERROR [DeviceOIDUpdateMBusTask] -
> com.att.dlife.dlcore.mbus.client.common.DLCoreMessageBusException:
> org.springframework.amqp.UncategorizedAmqpException:
> java.lang.NullPointerException
>
> at
> org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:60)
>
> at
> org.springframework.amqp.rabbit.connection.RabbitAccessor.convertRabbitAccessException(RabbitAccessor.java:108)
>
> at
> org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:632)
>
> at
> org.springframework.amqp.rabbit.core.RabbitTemplate.send(RabbitTemplate.java:349)
>
> at
> org.springframework.amqp.rabbit.core.RabbitTemplate.send(RabbitTemplate.java:343)
>
> at
> com.att.dlife.dlcore.mbus.client.publisher.AmqpMessageSenderImpl.send(AmqpMessageSenderImpl.java:71)
>
> at
> com.xanboo.core.mbus.DeviceOIDUpdateMBusTask.run(DeviceOIDUpdateMBusTask.java:156)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>
> at java.lang.Thread.run(Thread.java:662)
>
> Caused by: java.lang.NullPointerException
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at
> org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:348)
>
> at $Proxy207.basicPublish(Unknown Source)
>
> at
> org.springframework.amqp.rabbit.core.RabbitTemplate.doSend(RabbitTemplate.java:675)
>
> at
> org.springframework.amqp.rabbit.core.RabbitTemplate$1.doInRabbit(RabbitTemplate.java:351)
>
> at
> org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:627)
>
> ... 7 more
>
>
>
> at
> com.att.dlife.dlcore.mbus.client.publisher.AmqpMessageSenderImpl.send(AmqpMessageSenderImpl.java:94)
>
> at
> com.xanboo.core.mbus.DeviceOIDUpdateMBusTask.run(DeviceOIDUpdateMBusTask.java:156)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>
> at java.lang.Thread.run(Thread.java:662)
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140423/49d395cc/attachment.html>
More information about the rabbitmq-discuss
mailing list