Bug 1091 - CFProxy NullReferenceException via HttpWebRequest
Summary: CFProxy NullReferenceException via HttpWebRequest
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 4.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2011-09-28 00:28 UTC by rumination.xamarin
Modified: 2011-09-28 19:03 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Test case (6.11 KB, application/zip)
2011-09-28 00:32 UTC, rumination.xamarin
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description rumination.xamarin 2011-09-28 00:28:38 UTC
When built with MonoTouch 4.2.1 and running on an iPad with iOS 3.2.

System.NullReferenceException: Object reference not set to an instance of an object
   at MonoTouch.CoreFoundation.CFProxy.CFProxyTypeToEnum (MonoTouch.Foundation.NSString type) [0x00000] in <filename unknown>:0 
   at MonoTouch.CoreFoundation.CFProxy.get_ProxyType () [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
Comment 1 rumination.xamarin 2011-09-28 00:32:48 UTC
Created attachment 521 [details]
Test case
Comment 2 Jeffrey Stedfast 2011-09-28 19:03:14 UTC
should be fixed in 4.2.3+