[MonoTouch] Exceptions with no stack trace in my code

Dean Cleaver dean.cleaver at xceptionsoftware.com
Mon Dec 12 22:35:00 EST 2011


Hi,

I am getting various exceptions from a web service in code trapped I believe by the "AppDomain.CurrentDomain.UnhandledException", and then reported back to me.

System.Net.WebException: Error: ConnectFailure (interrupted) ---> System.Net.Sockets.SocketException: interrupted
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in :0
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x00000] in :0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x00000] in :0
at System.Net.HttpWebRequest.GetRequestStream () [0x00000] in :0
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (System.String method_name, System.Object[] parameters) [0x00000] in :0

Confusing thing is, there is no reference to any of my code at all. How can this happen? Surely somewhere in every call regardless of the thread, there has to be at least one function of mine - given I never directly create a thread calling code other than mine.

Any ideas how to work out how this exception and other similar ones are occurring?

Dino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111213/1e1d5f15/attachment.html 


More information about the MonoTouch mailing list