[rabbitmq-discuss] Possible bug in .NET library, with IConnection

Marcos Torres marcos.torres at gmail.com
Wed Jul 31 14:18:31 BST 2013


Since I'm using the .NET libraries, I'm interested on this. Is it possible
to provide a reproducible case?

Thanks


On Wed, Jul 31, 2013 at 8:54 AM, <inforser.analytics at gmail.com> wrote:

> I guess the problem in m_continuationQueue.Next() which returns null,
> And this is wront usage of Next() acroding to RpcContinuationQueue.Next()
>     /// <summary>
>     /// Retrieve the next waiting continuation.
>     /// </summary>
>     ///
>     /// <remarks>
>     ///
>     /// <para>
>     /// It is an error to call this method when there are no
>     ///              waiting continuations. In the current implementation,
> if
>     ///              this happens, null will be returned (which will
> usually
>     ///              result in an immediate NullPointerException in the
>     ///              caller). Correct code will always arrange for a
>     ///              continuation to have been Enqueue()d before calling
> this
>     ///              method.
>     ///
>     /// </para>
>     ///
>     /// </remarks>
>     public IRpcContinuation Next()
>     {
>       lock (this.m_outstandingRpcLock)
>       {
>         IRpcContinuation local_0 = this.m_outstandingRpc;
>         this.m_outstandingRpc = (IRpcContinuation) null;
>         return local_0;
>       }
>     }
>
>
> среда, 31 июля 2013 г., 15:38:42 UTC+4 пользователь inforser.... at gmail.comнаписал:
>
>> {AMQP close-reason, initiated by Library, code=541, text="Unexpected
>> Exception", classId=0, methodId=0, cause=System.**NullReferenceException:
>> Object reference not set to an instance of an object.
>>    at RabbitMQ.Client.Impl.**ModelBase.HandleBasicGetEmpty(**)
>>    at RabbitMQ.Client.Framing.Impl.**v0_9_1.Model.**DispatchAsynchronous(Command
>> cmd)
>>    at RabbitMQ.Client.Impl.**ModelBase.HandleCommand(**ISession session,
>> Command cmd)
>>    at RabbitMQ.Client.Impl.**SessionBase.OnCommandReceived(**Command cmd)
>>    at RabbitMQ.Client.Impl.Session.**HandleFrame(Frame frame)
>>    at RabbitMQ.Client.Impl.**ConnectionBase.**MainLoopIteration()
>>    at RabbitMQ.Client.Impl.**ConnectionBase.MainLoop()}
>>
>
> _______________________________________________
> 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/20130731/3a93aa15/attachment.htm>


More information about the rabbitmq-discuss mailing list