Bug 60961 - Unable to activate instance of type Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer from native handle
Summary: Unable to activate instance of type Xamarin.Forms.Platform.Android.FastRender...
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.5.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-12-03 13:12 UTC by batmaci
Modified: 2018-05-11 07:27 UTC (History)
3 users (show)

Tags: needs_repro, image, fastrenderer
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 batmaci 2017-12-03 13:12:35 UTC
When I use  Forms.SetFlags("FastRenderers_Experimental"); in mainactivity on xamarin forms, I get exception below on base.OnDestroy when i click back button on mainpage. my OnDestroy function is quite simple as below. Is this already a known issue?            

Unhandled Exception:

System.NotSupportedException: Unable to activate instance of type Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer from native handle 0xbe81ea6c (key_handle 0x92860c1). occurred

protected override void OnDestroy()
            catch (Exception ex)
Comment 1 Paul DiPietro [MSFT] 2017-12-04 05:48:56 UTC
Can you attach a reproduction? When you say back button, do you mean in navigation or the OS back button?
Comment 2 batmaci 2017-12-13 16:08:59 UTC
It was caused by hadware back button but i cant reproduce the issue using XF it seems like that problem is solved. I am closing this first.
Comment 3 batmaci 2017-12-13 16:10:35 UTC
Cannot reproduce in XF
Comment 4 batmaci 2017-12-13 16:11:06 UTC
Cannot reproduce in XF
Comment 5 Masahiko Miyasaka 2018-05-11 07:27:55 UTC
I'm encountering this in XF