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

shahbour shahbour at gmail.com
Mon Jun 11 19:23:00 UTC 2012


I am using mono 2.10.2-5 under centos . 

I got a self hosting wcf service that is working fine for some time then
randomly it is crashing the hosting console application with the following

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)
[0x00000] in <filename unknown>:0 
(TimeSpan tout, System.ServiceModel.Channels.RequestContext& ctx) [0x00000]
in <filename unknown>:0 

I am not able to handle this error i tried doing IERRORHandler and putting
all my service requests in try catch but still it randomly crashes ,
sometimes with another XMLReader error at position zero but mostly with the
above error .

Any idea how can i trace this error  ?


View this message in context: http://mono.1490590.n4.nabble.com/Exception-at-System-ServiceModel-Channels-Http-HttpReplyChannel-TryReceiveRequest-tp4649878.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list