Bug 35912 - Unobserved exception from LoadMachineData
Summary: Unobserved exception from LoadMachineData
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Activation ()
Version: 5.0
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Greg Munn
URL:
Depends on:
Blocks:
 
Reported: 2015-11-17 04:06 UTC by Marek Safar
Modified: 2015-11-19 17:09 UTC (History)
1 user (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Marek Safar 2015-11-17 04:06:54 UTC
An unhandled exception has occured. Terminating Xamarin Studio? False
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.Exception: Could not load machine data: The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/Users/marek/git/xam/monodroid/out/lib/mono/4.5/mscorlib.dll' directory.
   at Xamarin.Components.Ide.Activation.ActivationHandler+<LoadMachineData>c__AnonStoreyA.<>m__0 (System.Threading.Tasks.Task`1 t) in /Users/builder/data/lanes/2103/4e9c5abb/source/md-addins/Xamarin.Ide/Xamarin.Components.Ide/Activation/ActivationHandler.cs:line 682
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2[TAntecedentResult,TResult].InnerInvoke () in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.1/external/referencesource/mscorlib/system/threading/Tasks/TaskContinuation.cs:line 207
   at System.Threading.Tasks.Task.Execute () in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.1/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:line 2523
  --- End of inner exception stack trace ---
---> (Inner Exception #0) System.Exception: Could not load machine data: The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/Users/marek/git/xam/monodroid/out/lib/mono/4.5/mscorlib.dll' directory.
   at Xamarin.Components.Ide.Activation.ActivationHandler+<LoadMachineData>c__AnonStoreyA.<>m__0 (System.Threading.Tasks.Task`1 t) in /Users/builder/data/lanes/2103/4e9c5abb/source/md-addins/Xamarin.Ide/Xamarin.Components.Ide/Activation/ActivationHandler.cs:line 682
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2[TAntecedentResult,TResult].InnerInvoke () in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.1/external/referencesource/mscorlib/system/threading/Tasks/TaskContinuation.cs:line 207
   at System.Threading.Tasks.Task.Execute () in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.1/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:line 2523<---
Comment 1 xamarin-release-manager 2015-11-19 17:09:12 UTC
Fixed in version 5.11.0.452 (master)

Author: Greg Munn
Commit: 069e790862183ce987b105b9cfd67428c5ef3afa (xamarin/md-addins)
Included in Commit: ff619c0d81e3316eff6c026fc34d2deefca1b159 (mono/monodevelop)