Bug 28991 - NullReferenceException when scheduling a task
Summary: NullReferenceException when scheduling a task
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 4.20.0
Hardware: Macintosh Mac OS
: High major
Target Milestone: ---
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2015-04-10 14:18 UTC by Anubhav Ranjan
Modified: 2015-07-10 14: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 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

Comment 1 Anubhav Ranjan 2015-04-10 14:20:12 UTC
Sample: 
========
https://dl.dropboxusercontent.com/u/30949500/Xamarin%20Samples/TestAndroidApp.zip

Stack Trace when Tested on Galaxy S5
========================
https://gist.github.com/heiligerdankgesang/f097677620ee8f3de70d
Comment 3 Anubhav Ranjan 2015-04-10 14:34:33 UTC
When tested the same sample with Xamarin.Android 5.1 we get a different issue.

Stack Trace when tested on the same Galaxy S5 with Android 5:
https://gist.github.com/heiligerdankgesang/1a0266b82988ac515a6f
Comment 6 Zoltan Varga 2015-04-15 16:01:23 UTC
I can't reproduce this with neither 4.2, or 5.1.
Comment 7 João Matos 2015-04-16 13:20:58 UTC
Cannot reproduce with X.A 5.1 with either Nexus 7 (Android 5) or Nexus 5 emulator (x86).
Comment 9 João Matos 2015-04-16 13:30:52 UTC
I also tried on a Nexus 7 device with Android 5 but does not repro...