Bug 1052 - ArgumentOutOfRangeException while Deploying
Summary: ArgumentOutOfRangeException while Deploying
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Tools and Addins ()
Version: 1.0
Hardware: PC Windows
: Low minor
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-09-26 11:16 UTC by Philippe Girolami
Modified: 2011-09-30 10:39 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Error popup (21.86 KB, image/png)
2011-09-26 11:16 UTC, Philippe Girolami
Details


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

Description Philippe Girolami 2011-09-26 11:16:39 UTC
Created attachment 493 [details]
Error popup

Usig VS 2010 with Mono For Android version 1.0.3.23312 (as seen in "About VS") on Windows XP. I have a project made up of Class libraries and an Android application.

Every other time I debug it, I get the following popups. Pressing cancel and debugging it again gets me into a debugging session just fine, until the next one.

I am able to do ADB operations just fine most of the time : logcat, deploy, etc.
My path to ADB is C:\android\SDK\platform-tools\adb.exe
Comment 1 Jonathan Pobst 2011-09-26 13:08:31 UTC
Did you attach the correct image to this?  Your image isn't of an error, it's of the options dialog.
Comment 3 Jonathan Pobst 2011-09-27 17:17:34 UTC
Go to Tools->Options->Mono for Android and turn on Adb Logging.

Then try to deploy again.

A log will be written to your desktop called monodroid.log.  Please attach that log so I can investigate this issue.
Comment 4 Philippe Girolami 2011-09-28 03:42:18 UTC
Glad you found the screenshot, I had forgotten I had sent and it was lost.
I am unable to reproduce the issue after restarting VS for some reason.

Let's keep this open for a while, I'm sure it will happen again.
Comment 5 Andreia Gaita 2011-09-30 10:39:34 UTC
It turns out this is a threading issue with the logger, which is why it's not happening to you anymore. This has been fixed and will be included in the next release (commit 17a41cad22)

Thanks for the report!