[Mono-dev] Exception at System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest

Rob Wilkens robwilkens at gmail.com
Thu Jun 14 01:01:27 UTC 2012


Just as a double check, msg might not be null and msg.Headers could be 
null and that could be causing the problem too.

-Rob

On 06/13/2012 08:52 PM, shahbour wrote:
>
> Thanks rob
>
> I have added a condition above this to check if msg == null to return 
> false same as the post above it do.
>
> So now both get and post well return false If msg is null.
>
> We'll see if exception is thrown again.
>
> My problem is that I am not able to reproduce it as it happen randomly 
> after like 8 or 14 hour running correctly.
>
> BR
> Shahbour
>
> On Jun 13, 2012 10:39 PM, "shahbour [via Mono]" <[hidden email] 
> </user/SendEmail.jtp?type=node&node=4649939&i=0>> wrote:
>
>     Hello
>
>     After enabling debug and compiling from source i got the line
>     which is causing the error , note that the error happen after
>     leaving the system idle for around 8 hours
>
>     [0x4435d940:] EXCEPTION handling: System.NullReferenceException:
>     Object reference not set to an instance of an object
>     [0x4435d940:] EXCEPTION handling: System.NullReferenceException:
>     Object reference not set to an instance of an object
>
>     Unhandled Exception: System.NullReferenceException: Object
>     reference not set to an instance of an object
>       at
>     System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest
>     (TimeSpan timeout, System.ServiceModel.Channels.RequestContext&
>     context) [0x000e5] in
>     /usr/local/src/mono-2.11.1/mcs/class/System.ServiceModel/System.ServiceModel.Channels.Http/HttpReplyChannel.cs:178
>       at
>     System.ServiceModel.Channels.ReplyChannelBase.<BeginTryReceiveRequest>m__10
>     (TimeSpan tout, System.ServiceModel.Channels.RequestContext& ctx)
>     [0x0002f] in
>     /usr/local/src/mono-2.11.1/mcs/class/System.ServiceModel/System.ServiceModel.Channels/ReplyChannelBase.cs:126
>
>
>
>     ------------------------------------------------------------------------
>     If you reply to this email, your message will be added to the
>     discussion below:
>     http://mono.1490590.n4.nabble.com/Exception-at-System-ServiceModel-Channels-Http-HttpReplyChannel-TryReceiveRequest-tp4649878p4649930.html
>
>     To unsubscribe from Exception at
>     System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest,
>     click here.
>     NAML
>     <http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
> ------------------------------------------------------------------------
> View this message in context: Re: Exception at 
> System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest 
> <http://mono.1490590.n4.nabble.com/Exception-at-System-ServiceModel-Channels-Http-HttpReplyChannel-TryReceiveRequest-tp4649878p4649939.html>
> Sent from the Mono - Dev mailing list archive 
> <http://mono.1490590.n4.nabble.com/Mono-Dev-f1517221.html> at Nabble.com.
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120613/b526ecf4/attachment.html>


More information about the Mono-devel-list mailing list