Bug 3496 - Error on starting up emulator
Summary: Error on starting up emulator
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Add-in ()
Version: 2.8.6
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: shana@xamarin.com
URL:
Depends on:
Blocks:
 
Reported: 2012-02-16 11:07 UTC by PJ
Modified: 2014-02-21 14:39 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 NOT_REPRODUCIBLE

Description PJ 2012-02-16 11:07:37 UTC
Steps:

1) Opened MWC android app
2) Cleaned/Rebuilt
3) Run (Release mode)
4) Select API8 Emulator
6) Hit start emulator

Going to post this for now, will try to re-pro to see if there are more conditions for the error. Jeff said he had some thoughts on the issue so getting the discussion going for now.


Error - 10:45:21 AM - Error in device tracker
System.NullReferenceException: Object reference not set to an instance of an object
  at Mono.AndroidTools.AndroidDeviceProperties.TryGetValue (System.String key, System.String& value) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-2.8.6.4/ca00645c/source/md-addins/MonoDevelop.MonoDroid/external/androidtools/Mono.AndroidTools/AndroidDeviceProperties.cs:84 
  at MonoDevelop.MonoDroid.Gui.DeviceChooserDialog.OnDevicesUpdated (System.Object sender, System.EventArgs e) [0x00085] in /Users/builder/data/lanes/monodevelop-mac-2.8.6.4/ca00645c/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/Gui/DeviceChooserDialog.cs:163 
  at MonoDevelop.MonoDroid.DeviceManager.OnChanged (System.Object sender, System.EventArgs e) [0x00055] in /Users/builder/data/lanes/monodevelop-mac-2.8.6.4/ca00645c/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/Adb/DeviceManager.cs:194 
  at MonoDevelop.MonoDroid.DeviceManager.<CreateTracker>m__2C (System.Collections.Generic.List`1 list) [0x00011] in /Users/builder/data/lanes/monodevelop-mac-2.8.6.4/ca00645c/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/Adb/DeviceManager.cs:151 
  at MonoDevelop.MonoDroid.AdbTrackDevicesOperation.OnGotResponse (System.String response) [0x00015] in /Users/builder/data/lanes/monodevelop-mac-2.8.6.4/ca00645c/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/Adb/Operations.cs:92 
  at MonoDevelop.MonoDroid.AdbOperation.OnGotResponseWithLength (IAsyncResult ar) [0x00020] in /Users/builder/data/lanes/monodevelop-mac-2.8.6.4/ca00645c/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/Adb/AbstractOperations.cs:177
Comment 1 Mikayla Hutchinson [MSFT] 2014-02-21 14:39:24 UTC
The code has been substantially changed in the 2 years since this was reported.