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.
Created attachment 1102 [details]
Screenshot of stack
Not exactly sure how to reproduce the exception, it seems to happen randomly while editing.
The real issue is it causes MD to completely lock up and eventually it crashes (once it brought down OSX with it).
Attached are a couple screenshots of the exception, unfortunately I can't C&P the stack trace.
Created attachment 1103 [details]
Screenshot of stack with some line numbers
We need to time out on the AppleScript driving Xcode, maybe we need to send the events directly for that though.
The applescript does time out after approximately 30 seconds. I'm unsure if that timeout can be easily altered. I'd need to look up the applescript docs. Sending events directly to xcode may be the best option for this.
The null ref is due to NSWorkspace.SharedWorkspace.LaunchedApplications returning null. I'm not sure what would cause this (i don't know the code). We can either work around this by never returning null or by using a different way (such as applescript) to check if xcode is running
this has been fixed