<div dir="ltr">Please open a JIRA issue here: <a href="https://jira.spring.io/browse/AMQP">https://jira.spring.io/browse/AMQP</a> and we'll take a look.<div><br></div><div>Please be sure to indicate which version of Spring AMQP you are using.</div>
<div><br></div><div>Thanks</div><div><br></div><div>Gary</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 23, 2014 at 3:18 PM, PATAR, SAGAR <span dir="ltr"><<a href="mailto:sp345s@att.com" target="_blank">sp345s@att.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">We have a multithread java program running in JBOSS .. where each thread sends a message to the RABBIT MQ Exchange ..<u></u><u></u></p>
<p class="MsoNormal">We are using the Spring config file to make the connections / channels etc  …<u></u><u></u></p>
<p class="MsoNormal">Currently we have <span style="font-size:10.0pt;font-family:Consolas;background:yellow">
requestedChannelMax=1  ..</span><span style="font-size:10.0pt;font-family:Consolas"> Occasionally we see the below exception …
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">The exception is mis leading and not sure if its because eof the channel availability …<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">2014-04-23 14:28:07,279 ERROR [DeviceOIDUpdateMBusTask] - com.att.dlife.dlcore.mbus.client.common.DLCoreMessageBusException: org.springframework.amqp.UncategorizedAmqpException:
 java.lang.NullPointerException<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:60)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at org.springframework.amqp.rabbit.connection.RabbitAccessor.convertRabbitAccessException(RabbitAccessor.java:108)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:632)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at org.springframework.amqp.rabbit.core.RabbitTemplate.send(RabbitTemplate.java:349)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at org.springframework.amqp.rabbit.core.RabbitTemplate.send(RabbitTemplate.java:343)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at com.att.dlife.dlcore.mbus.client.publisher.AmqpMessageSenderImpl.send(AmqpMessageSenderImpl.java:71)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at com.xanboo.core.mbus.DeviceOIDUpdateMBusTask.run(DeviceOIDUpdateMBusTask.java:156)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at java.lang.Thread.run(Thread.java:662)<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">Caused by: java.lang.NullPointerException<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at java.lang.reflect.Method.invoke(Method.java:597)<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:348)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at $Proxy207.basicPublish(Unknown Source)<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at org.springframework.amqp.rabbit.core.RabbitTemplate.doSend(RabbitTemplate.java:675)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at org.springframework.amqp.rabbit.core.RabbitTemplate$1.doInRabbit(RabbitTemplate.java:351)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:627)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       ... 7 more<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at com.att.dlife.dlcore.mbus.client.publisher.AmqpMessageSenderImpl.send(AmqpMessageSenderImpl.java:94)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at com.xanboo.core.mbus.DeviceOIDUpdateMBusTask.run(DeviceOIDUpdateMBusTask.java:156)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New"">       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">       at java.lang.Thread.run(Thread.java:662)</span><u></u><u></u></p>
</div>
</div>

<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>