Bug 44200 - [Crash] ArgumentNullException happens in SendEvent
Summary: [Crash] ArgumentNullException happens in SendEvent
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: 2.4.2 (C6SR3)
Hardware: Macintosh Windows
: --- normal
Target Milestone: ---
Assignee: Chris Hamons
Depends on:
Reported: 2016-09-12 16:51 UTC by Peng Zhou
Modified: 2016-09-14 15:33 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 Peng Zhou 2016-09-12 16:51:18 UTC
Customer reports an crash. The call stack is:

  at AppKit.NSResponder.ValidRequestorForSendType (System.String sendType, System.String returnType) <0x1223fe090 + 0x00190> in <filename unknown>:0 
  at Microsoft.AdvertisingDesktop.BingAdsEditor.DialogWindow.SendEvent (AppKit.NSEvent theEvent) <0x11f5b5b20 + 0x0002b> in <filename unknown>:0 
  at (wrapper managed-to-native) AppKit.NSApplication:NSApplicationMain (int,string[])
  at AppKit.NSApplication.Main (System.String[] args) <0x1100095c0 + 0x000c3> in <filename unknown>:0 
  at Microsoft.AdvertisingDesktop.BingAdsEditor.MainClass.Main (System.String[] args) <0x10a0bce40 + 0x00025> in <filename unknown>:0 

The error message shows:
Fault msg:
Value cannot be null.
Parameter name: returnType

According to the Apple documentation, the value could be null.


Discuss with Chris briefly and this could be an issue.
Comment 1 Chris Hamons 2016-09-14 15:33:40 UTC