Bug 3637 - Errors in log on device refresh, sometimes started emulators/devices don't show up
Summary: Errors in log on device refresh, sometimes started emulators/devices don't sh...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Deployment ()
Version: 2.8 beta 3
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Alan McGovern
Depends on:
Reported: 2012-02-24 11:49 UTC by PJ
Modified: 2012-06-04 17:29 UTC (History)
4 users (show)

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:

Description PJ 2012-02-24 11:49:56 UTC
This might be related to bug 2819, but I get errors that seems new in so I'm filing as new. If you investigate and see that it's duplicate, feel free to move.

Steps to reproduce:
Build an MFA app
Hit run, then start an emulator
Once emulator is fully loaded this info doesnt refresh (bug 2819)
Manually Refresh

1) Expected result
Every time, it will kill the adb server and restart it, populating the select device window with available devices

2) Actual result
Sometimes clicking refresh will error out with one of these errors


If you try to reproduce this by clicking refresh more than a couple of times, you will probably run into bug 1734. 

I am on MD
MfA 4.0.5
MT 2.10.9
Comment 1 PJ 2012-02-24 11:59:49 UTC
The third (first, time wise) error in the gist above is actually the result of bug 3496.
Comment 2 Alan McGovern 2012-03-06 12:58:33 UTC
I can repro the running emulator not showing up after it has been started. I think it's caused by us querying the emulator before it has initialized which results in an exception being thrown and we fail to populate the list. I'll need to investigate further.
Comment 3 Alan McGovern 2012-03-07 08:29:06 UTC
I committed a fix in master and cherry-picked to 2.8.8-series.
Comment 4 Javier Rodríguez 2012-05-25 07:45:02 UTC
3.0 monodevelop plugin for VS has this behaviour now. Always blank Select Device Dialog.
Comment 5 Rolf Bjarne Kvinge [MSFT] 2012-06-04 17:29:16 UTC
*** Bug 5320 has been marked as a duplicate of this bug. ***