Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Call: new NSCachedUrlResponse(response, data, null, NSUrlCacheStoragePolicy.NotAllowed);
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Argument cannot be null.
Parameter name: userInfo
at MonoTouch.Foundation.NSCachedUrlResponse..ctor (MonoTouch.Foundation.NSUrlResponse response, MonoTouch.Foundation.NSData data, MonoTouch.Foundation.NSDictionary userInfo, NSUrlCacheStoragePolicy storagePolicy) [0x00033] in /Developer/MonoTouch/Source/monotouch/src/Foundation/NSCachedUrlResponse.g.cs:87
null should be a permitted value for the userInfo parameter according to the Apple developer docs:
You're right. A null value is allowed. I'll fix this asap.
Thanks for the report.
This has been fixed in e7bad4fb200677ef8e6eaa2c020480551bc9b50f in the master branch.
QA: Unit tests forthcoming.
Created attachment 1491 [details]
The unit test
test committed (with a few changes) in master
fix backported to 5.2-series