Bug 5790 - UnobservedTaskException modal message is shown several times during the package creation - VS2010 + MonoDroid 4.2.3
Summary: UnobservedTaskException modal message is shown several times during the packa...
Status: RESOLVED DUPLICATE of bug 8831
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-06-21 01:11 UTC by Juro
Modified: 2016-08-03 15:23 UTC (History)
6 users (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 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 DUPLICATE of bug 8831

Description Juro 2012-06-21 01:11:20 UTC
It also creates "monodroid.log" file on my desktop containing a lot of following  messages:

UnobservedTaskException
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.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Build.BackEnd.RequestBuilder.<StartBuilderThread>b__4()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Build.BackEnd.RequestBuilder.<StartBuilderThread>b__4()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---

My config:
Windows 7 x64 (latest updates)
VS 2010 ultimate (latest updates)
Mono for Android 4.2.3 (but happened also with 4.2.2)
Comment 1 Chris Hardy [MSFT] 2012-12-07 07:42:29 UTC

*** This bug has been marked as a duplicate of bug 8831 ***