<div dir="ltr"><div>Since I'm using the .NET libraries, I'm interested on this. Is it possible to provide a reproducible case?<br><br></div>Thanks<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jul 31, 2013 at 8:54 AM, <span dir="ltr"><<a href="mailto:inforser.analytics@gmail.com" target="_blank">inforser.analytics@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I guess the problem in m_continuationQueue.Next() which returns null,<div>And this is wront usage of Next() acroding to RpcContinuationQueue.Next()</div><div><div> /// <summary></div><div> /// Retrieve the next waiting continuation.</div>
<div> /// </summary></div><div> /// </div><div> /// <remarks></div><div> /// </div><div> /// <para></div><div> /// It is an error to call this method when there are no</div><div> /// waiting continuations. In the current implementation, if</div>
<div> /// this happens, null will be returned (which will usually</div><div> /// result in an immediate NullPointerException in the</div><div> /// caller). Correct code will always arrange for a</div>
<div> /// continuation to have been Enqueue()d before calling this</div><div> /// method.</div><div> /// </div><div> /// </para></div><div> /// </div><div> /// </remarks></div>
<div> public IRpcContinuation Next()</div><div> {</div><div> lock (this.m_outstandingRpcLock)</div><div> {</div><div> IRpcContinuation local_0 = this.m_outstandingRpc;</div><div> this.m_outstandingRpc = (IRpcContinuation) null;</div>
<div> return local_0;</div><div> }</div><div> }</div></div><div><br><br>среда, 31 июля 2013 г., 15:38:42 UTC+4 пользователь <a href="mailto:inforser....@gmail.com" target="_blank">inforser....@gmail.com</a> написал:<div>
<div class="h5"><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div>{AMQP close-reason, initiated by Library, code=541, text="Unexpected Exception", classId=0, methodId=0, cause=System.<u></u>NullReferenceException: Object reference not set to an instance of an object.</div>
<div> at RabbitMQ.Client.Impl.<u></u>ModelBase.HandleBasicGetEmpty(<u></u>)</div><div> at RabbitMQ.Client.Framing.Impl.<u></u>v0_9_1.Model.<u></u>DispatchAsynchronous(Command cmd)</div><div> at RabbitMQ.Client.Impl.<u></u>ModelBase.HandleCommand(<u></u>ISession session, Command cmd)</div>
<div> at RabbitMQ.Client.Impl.<u></u>SessionBase.OnCommandReceived(<u></u>Command cmd)</div><div> at RabbitMQ.Client.Impl.Session.<u></u>HandleFrame(Frame frame)</div><div> at RabbitMQ.Client.Impl.<u></u>ConnectionBase.<u></u>MainLoopIteration()</div>
<div> at RabbitMQ.Client.Impl.<u></u>ConnectionBase.MainLoop()}</div></blockquote></div></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>