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 10038 [details]
A variable that has been assigned a null value seems to pass through certain lines of code unfettered yet other lines of code throw the correct NullObjRef exception. In this case, bad JSON serialization results in a null value for a variable. According to the screenshot, the null exception should have been thrown on line 77 and the 'continue' statement on line 83 should have caused the execution to move along.
I could probably put together a sample project if that would be helpful.
=== Xamarin Studio ===
Version 5.7.1 (build 17)
Installation UUID: bdf70f16-1419-4199-bea0-587898533ffe
Mono 3.12.0 ((detached/de2f33f)
GTK+ 2.24.23 (Raleigh theme)
Package version: 312000076
=== Xamarin.Android ===
Version: 18.104.22.168 (Enterprise Edition)
Android SDK: /Volumes/Documents/Rob/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
4.4 (API level 19)
5.0 (API level 21)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
=== Apple Developer Tools ===
Xcode 6.1.1 (6611)
=== Xamarin.iOS ===
Version: 22.214.171.124 (Enterprise Edition)
Build date: 2015-02-11 04:37:05-0500
=== Xamarin.Mac ===
Version: 126.96.36.199 (Enterprise Edition)
=== Build Information ===
Release ID: 507010017
Git revision: 0bc7d3550b6b088ac25b08dcf7bbe73bcc8658b3
Build date: 2015-02-03 19:43:29-05
Xamarin addins: f7b7d34419c9ec24501bfa7c658e80a6305613e0
=== Operating System ===
Mac OS X 10.10.2
Darwin Robs-iMac-2.local 14.1.0 Darwin Kernel Version 14.1.0
Mon Dec 22 23:10:38 PST 2014
It could be many things:
1. a threading issue (`s` was not null earlier);
2. an extension method (which can accept a null `this` argument). It's not the case here as it's a property (and there's no extension properties, still it's a surprising debugging experience when it happens ;-)
3. the debugger being out-of-sync (and not showing you the right value).
Hard to say... a test case is needed.
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!