Hello, A similar bug report [1] was filled and I'm able to reproduce it. I'd still like your test case (or URI on the same report) to be sure it's really the same issue.
Sebastien [1] https://bugzilla.xamarin.com/show_bug.cgi?id=4715 On Mon, Apr 30, 2012 at 9:04 AM, Jason Awbrey <[email protected]> wrote: > I'd try having the user request the URL via Mobile Safari - just to see if > they are able to access it from their network or if their proxy blocks it or > does something else strange with it > > also, I'd suggest not trying to load remote resources with XDocument.Load - > instead I'd load the data with an async HttpWebReqeust, then load it into > the XDocument. That gives you a lot more granular control over identifying > and handling exceptions > > > On Mon, Apr 30, 2012 at 7:54 AM, Sebastien Pouliot <[email protected]> > wrote: >> >> Hello Phillipe, >> >> On Mon, Apr 30, 2012 at 8:24 AM, activa <[email protected]> wrote: >> > Ok, I finally managed to get a crash log, and it wasn't related to the >> > map >> > view at all. >> > >> > The crash happens when calling XDocument.Load() with a URL. >> > >> > This is the crash log: >> >> That's the managed stack trace (not a crash log) but that's much >> better (90% of the time). >> >> Can you give us more details, e.g. do you know the URL being >> downloaded, if the users are using a proxy (while you're not - or the >> reverse)... and, if you want to track the progress on the issue, fill >> everything into a bug report at http://bugzilla.xamarin.com >> >> Thanks >> Sebastien >> >> > 2012-04-30 12:33:19 Exception: Cannot cast from source type to >> > destination >> > type. >> > 2012-04-30 12:33:19 at >> > MonoTouch.Foundation.NSArray.ArrayFromHandle[NSDictionary] (IntPtr >> > handle) >> > [0x00000] in <filename unknown>:0 >> > at MonoTouch.CoreFoundation.CFNetwork.GetProxiesForURL >> > (MonoTouch.Foundation.NSUrl url, >> > MonoTouch.CoreFoundation.CFProxySettings >> > proxySettings) [0x00000] in <filename unknown>:0 >> > at MonoTouch.CoreFoundation.CFNetwork.GetProxiesForUri (System.Uri uri, >> > MonoTouch.CoreFoundation.CFProxySettings proxySettings) [0x00000] in >> > <filename unknown>:0 >> > at MonoTouch.CoreFoundation.CFNetwork+CFWebProxy.GetProxy (System.Uri >> > targetUri) [0x00000] in <filename unknown>:0 >> > at MonoTouch.CoreFoundation.CFNetwork+CFWebProxy.IsBypassed (System.Uri >> > targetUri) [0x00000] in <filename unknown>:0 >> > at System.Net.ServicePointManager.FindServicePoint (System.Uri address, >> > IWebProxy proxy) [0x00000] in <filename unknown>:0 >> > at System.Net.HttpWebRequest.GetServicePoint () [0x00000] in <filename >> > unknown>:0 >> > at System.Net.HttpWebRequest.BeginGetResponse (System.AsyncCallback >> > callback, System.Object state) [0x00000] in <filename unknown>:0 >> > at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename >> > unknown>:0 >> > at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, >> > System.String role, System.Type ofObjectToReturn) [0x00000] in <filename >> > unknown>:0 >> > at Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url, >> > System.String& absoluteUriString) [0x00000] in <filename unknown>:0 >> > at Mono.Xml2.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver >> > resolver, System.String url, XmlNodeType fragType, >> > System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0 >> > at System.Xml.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver >> > resolver, System.String url, XmlNodeType fragType, >> > System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0 >> > at System.Xml.XmlReader.Create (System.String url, >> > System.Xml.XmlReaderSettings settings, System.Xml.XmlParserContext >> > context) >> > [0x00000] in <filename unknown>:0 >> > at System.Xml.XmlReader.Create (System.String url, >> > System.Xml.XmlReaderSettings settings) [0x00000] in <filename unknown>:0 >> > at System.Xml.Linq.XDocument.Load (System.String uri, LoadOptions >> > options) >> > [0x00000] in <filename unknown>:0 >> > at System.Xml.Linq.XDocument.Load (System.String uri) [0x00000] in >> > <filename >> > unknown>:0 >> > at Proxio.WebService.GetDropdownValues[PropertyType] (System.String >> > serviceName) [0x00000] in <filename unknown>:0 >> > at Proxio.WebService.GetPropertyTypes () [0x00000] in <filename >> > unknown>:0 >> > at >> > >> > Proxio.WebService+<Async>c__AnonStorey0`1[System.Collections.Generic.IEnumerable`1[Proxio.PropertyType]].<>m__3 >> > () [0x00000] in <filename unknown>:0 >> > at System.Threading.Thread.StartInternal () [0x00000] in <filename >> > unknown>:0 >> > >> > >> > -- >> > View this message in context: >> > http://monotouch.2284126.n4.nabble.com/MKMapView-crashing-on-all-my-customer-s-iPads-runs-fine-on-ours-tp4590869p4598042.html >> > Sent from the MonoTouch mailing list archive at Nabble.com. >> > _______________________________________________ >> > MonoTouch mailing list >> > [email protected] >> > http://lists.ximian.com/mailman/listinfo/monotouch >> _______________________________________________ >> MonoTouch mailing list >> [email protected] >> http://lists.ximian.com/mailman/listinfo/monotouch > > _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
