Bug 2094 - Error periodically when deployin app
Summary: Error periodically when deployin app
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 1.9.2
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-11-18 23:42 UTC by Igor
Modified: 2011-12-08 02:10 UTC (History)
1 user (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 Igor 2011-11-18 23:42:58 UTC
We are getting the next error periodically when deployin app (Ctrl-F5) to the device:

Getting package list from device
Uninstalling old version of package
Getting available internal storage space on the device
Internal error. Object reference not set to an instance of an object.

Rerunning deployment again makes everything fine.

Deployment is done on actual device or simulator. MD 1.9.2


ERROR [2011-11-03 08:21:54Z]: Error in async operation chain
System.InvalidOperationException: Error getting partition size from device:

   at MonoDevelop.MonoDroid.AdbGetAvailableSpaceOperation.<.ctor>b__4(IAsyncOperation op)
   at MonoDevelop.MonoDroid.ChainedAsyncOperationSequence.OpCompleted(IAsyncOperation op)
ERROR [2011-11-03 08:21:54Z]: Error in async operation chain
System.NullReferenceException: Object reference not set to an instance of an object.
   at MonoDevelop.MonoDroid.AdbGetAvailableSpaceOperation.get_InternalSpace()
   at MonoDevelop.MonoDroid.MonoDroidUploadOperation.<>c__DisplayClass29.<.ctor>b__19(AdbGetAvailableSpaceOperation op)
   at MonoDevelop.MonoDroid.ChainedAsyncOperation`1.<.ctor>b__1(IAsyncOperation op)
   at MonoDevelop.MonoDroid.ChainedAsyncOperationSequence.OpCompleted(IAsyncOperation op)
Comment 1 Igor 2011-12-08 02:10:33 UTC
no more reproducible with M4A 4.0 and monodevelop