<p>Thanks rob</p>
<p>I have added a condition above this to check if msg == null to return false same as the post above it do.</p>
<p>So now both get and post well return false If msg is null.</p>
<p>We'll see if exception is thrown again.</p>
<p>My problem is that I am not able to reproduce it as it happen randomly after like 8 or 14 hour running correctly.</p>
<p>BR<br>
Shahbour</p>
<div class="gmail_quote">On Jun 13, 2012 10:39 PM, "shahbour [via Mono]" <<a href="/user/SendEmail.jtp?type=node&node=4649939&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        Hello
<br><br>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
<br><br>[0x4435d940:] EXCEPTION handling: System.NullReferenceException: Object reference not set to an instance of an object
<br>[0x4435d940:] EXCEPTION handling: System.NullReferenceException: Object reference not set to an instance of an object
<br><br>Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
<br>  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
<br>  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
<br><br>
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://mono.1490590.n4.nabble.com/Exception-at-System-ServiceModel-Channels-Http-HttpReplyChannel-TryReceiveRequest-tp4649878p4649930.html" target="_blank" rel="nofollow" link="external">http://mono.1490590.n4.nabble.com/Exception-at-System-ServiceModel-Channels-Http-HttpReplyChannel-TryReceiveRequest-tp4649878p4649930.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Exception at System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="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" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div>

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://mono.1490590.n4.nabble.com/Exception-at-System-ServiceModel-Channels-Http-HttpReplyChannel-TryReceiveRequest-tp4649878p4649939.html">Re: Exception at System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest</a><br/>
Sent from the <a href="http://mono.1490590.n4.nabble.com/Mono-Dev-f1517221.html">Mono - Dev mailing list archive</a> at Nabble.com.<br/>