Bug 30721 - [XA 5.1] Random places NullReferenceException under debug mainly on Android 5.x devices
Summary: [XA 5.1] Random places NullReferenceException under debug mainly on Android 5...
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 5.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-06-03 09:42 UTC by Oleg
Modified: 2015-08-21 04:41 UTC (History)
3 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 NOT_REPRODUCIBLE

Description Oleg 2015-06-03 09:42:44 UTC
On Android 5.x devices, mainly on Samsung Galaxy S6, Nexus 6, and recently on Galaxy Note Edge (after update to 5.0.2 from 4.4.4) we experience debugger crashes in different strange places with NullReferenceException (e.g. at method open brace in our code, or inside DateTime default constructor).

Same code works fine without debugger attached. Seems like issue affects a lot of Samsung devices with Android 5.x, HTC One M7 with Android 4.4.4, Nexus 6 with Android 5.1.

Luckily it does not affect Nexus 5 on 4.4.x as well as on 5.x.

Issue easily reproduced on latest stable version Xamarin.VisualStudio_3.11.586.
Comment 1 Parmendra Kumar 2015-08-19 10:07:40 UTC
@Oleg,

I have tried to reproduce this issue and not able to reproduce it.
Could you please provide us sample project, IDE Log and Build Output? so that we can reproduce this issue at our end.

You can get IDE Log via (Help->Xamarin->Zip Xamarin Logs)
You can get Build Output via (View->Output)


Thanks..!
Comment 2 Oleg 2015-08-21 04:41:46 UTC
With latest stable build issue is not reproducible anymore. Issue can be closed.