{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/a137d41ef8dc9ba17dafe7c15eb67df5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a137d41ef8dc9ba17dafe7c15eb67df5","url":"https://api.github.com/users/Emasoft","login":"Emasoft","id":713559},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-03T22:02:44Z","comments":6,"closed_at":null,"url":"https://api.github.com/repos/mono/monotouch-bindings/issues/16","body":"I've successfully built a new CorePlot.dll with MonoTouch 5.0.1 and the new makefile that make use of the new \"LinkWithAttribute\". I've tried both the default 0.4 and the 0.9 version of the library. They download and bind fine generating the dll, but when I use them in the sample, it crashes and I get the following error:\r\n\r\n\r\nUnhandled Exception: System.ArgumentNullException: Argument cannot be null.\r\nParameter name: value\r\n  at MonoTouch.CorePlot.CPTTextStyle.set_Color (MonoTouch.CorePlot.CPTColor value) [0x00000] in <filename unknown>:0 \r\n  at CorePlotiOSSample.ScatterPlot.SetupGraph () [0x0000b] in /Users/Emanuele/Downloads/monobindings/CorePlot/samples/CorePlotiOSSample/CorePlotiOSSample/ScatterPlot.cs:44 \r\n  at CorePlotiOSSample.ScatterPlot..ctor () [0x00006] in /Users/Emanuele/Downloads/monobindings/CorePlot/samples/CorePlotiOSSample/CorePlotiOSSample/ScatterPlot.cs:34 \r\n  at CorePlotiOSSample.AppDelegate.<FinishedLaunching>m__0 (MonoTouch.Dialog.RootElement r) [0x00000] in /Users/Emanuele/Downloads/monobindings/CorePlot/samples/CorePlotiOSSample/CorePlotiOSSample/AppDelegate.cs:63 \r\n  at MonoTouch.Dialog.RootElement.MakeViewController () [0x00000] in <filename unknown>:0 \r\n  at MonoTouch.Dialog.RootElement.Selected (MonoTouch.Dialog.DialogViewController dvc, MonoTouch.UIKit.UITableView tableView, MonoTouch.Foundation.NSIndexPath path) [0x00000] in <filename unknown>:0 \r\n  at MonoTouch.Dialog.DialogViewController.Selected (MonoTouch.Foundation.NSIndexPath indexPath) [0x00000] in <filename unknown>:0 \r\n  at MonoTouch.Dialog.DialogViewController+Source.RowSelected (MonoTouch.UIKit.UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath) [0x00000] in <filename unknown>:0 \r\n  at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)\r\n  at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00042] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29 \r\n  at CorePlotiOSSample.Application.Main (System.String[] args) [0x00000] in /Users/Emanuele/Downloads/monobindings/CorePlot/samples/CorePlotiOSSample/CorePlotiOSSample/Main.cs:42 \r\n[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Argument cannot be null.\r\nParameter name: value\r\n  at MonoTouch.CorePlot.CPTTextStyle.set_Color (MonoTouch.CorePlot.CPTColor value) [0x00000] in <filename unknown>:0 \r\n  at CorePlotiOSSample.ScatterPlot.SetupGraph () [0x0000b] in /Users/Emanuele/Downloads/monobindings/CorePlot/samples/CorePlotiOSSample/CorePlotiOSSample/ScatterPlot.cs:44 \r\n  at CorePlotiOSSample.ScatterPlot..ctor () [0x00006] in /Users/Emanuele/Downloads/monobindings/CorePlot/samples/CorePlotiOSSample/CorePlotiOSSample/ScatterPlot.cs:34 \r\n  at CorePlotiOSSample.AppDelegate.<FinishedLaunching>m__0 (MonoTouch.Dialog.RootElement r) [0x00000] in /Users/Emanuele/Downloads/monobindings/CorePlot/samples/CorePlotiOSSample/CorePlotiOSSample/AppDelegate.cs:63 \r\n  at MonoTouch.Dialog.RootElement.MakeViewController () [0x00000] in <filename unknown>:0 \r\n  at MonoTouch.Dialog.RootElement.Selected (MonoTouch.Dialog.DialogViewController dvc, MonoTouch.UIKit.UITableView tableView, MonoTouch.Foundation.NSIndexPath path) [0x00000] in <filename unknown>:0 \r\n  at MonoTouch.Dialog.DialogViewController.Selected (MonoTouch.Foundation.NSIndexPath indexPath) [0x00000] in <filename unknown>:0 \r\n  at MonoTouch.Dialog.DialogViewController+Source.RowSelected (MonoTouch.UIKit.UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath) [0x00000] in <filename unknown>:0 \r\n  at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)\r\n  at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00042] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29 \r\n  at CorePlotiOSSample.Application.Main (System.String[] args) [0x00000] in /Users/Emanuele/Downloads/monobindings/CorePlot/samples/CorePlotiOSSample/CorePlotiOSSample/Main.cs:42 \r\n","html_url":"https://github.com/mono/monotouch-bindings/issues/16","number":16,"title":"CorePlotiOSSample System.ArgumentNullException: Argument cannot be null.","id":2115381,"created_at":"2011-11-01T21:32:44Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/c72e3d0e20153a42eed12b75f8a91016?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c72e3d0e20153a42eed12b75f8a91016","url":"https://api.github.com/users/jstedfast","login":"jstedfast","id":338984},"updated_at":"2011-11-03T22:02:44Z","url":"https://api.github.com/repos/mono/monotouch-bindings/issues/comments/2623861","body":"Yea, for some reason libCorePlot-CocoaTouch.a is returning null for all static methods. I haven't been able to figure out why yet...","id":2623861,"created_at":"2011-11-03T22:02:44Z"}}