Bug 10708 - NSLayoutConstraint.Create should allow null view2
Summary: NSLayoutConstraint.Create should allow null view2
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 6.2.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2013-02-26 18:40 UTC by Frank A. Krueger
Modified: 2013-06-02 12:24 UTC (History)
2 users (show)

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

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:

Description Frank A. Krueger 2013-02-26 18:40:42 UTC
In Bug 8144, Rolf says the bug has been fixed, but that was 4 months ago and still seems to exist. [https://bugzilla.xamarin.com/show_bug.cgi?id=8144]

[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Argument cannot be null.
Parameter name: view2
  at MonoTouch.UIKit.NSLayoutConstraint.Create (MonoTouch.Foundation.NSObject view1, NSLayoutAttribute attribute1, NSLayoutRelation relation, MonoTouch.Foundation.NSObject view2, NSLayoutAttribute attribute2, Single multiplier, Single constant) [0x00055] in /Developer/MonoTouch/Source/monotouch/src/UIKit/NSLayoutConstraint.g.cs:129 

Apple docs say this is OK:

Comment 2 Sebastien Pouliot 2013-06-02 12:24:00 UTC
Please re-open, with extra details, if you can duplicate this using the latest 6.2.x release.