Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 16674 [details]
Sample to reproduce bug
This one took many hours to track down to the root cause because our app is large now but I finally figured out the conditions to reproduce.
Basically if you have a map embedded in a ListView header and from that Page you push a modal Page contained in a NavigationPage, the app crashes with:
android.widget.ImageView cannot be cast to android.view.ViewGroup
To reproduce, just open the attached Sample, ensure you choose the Droid project and then run and click the 'click me' button.
My workaround for now is to not present it in a NavigationPage but that means I get no title and no toolbar buttons. It's not ideal at all.
Thank you for taking the time to submit the bug. We tried to reproduce the issue you reported but were unable given the description. If you could please attach a reproduction to the bug by starting with a clean Xamarin.Forms project and adding just the code necessary to demonstrate the issue, we would very much appreciate it.
For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d
Xamarin Forms Team
Hi, the sample attached to my initial submission reproduces the bug for you from a clean Xamarin.Forms project.
Did this not work for you?
it just downloads the .sln file.
Created attachment 16983 [details]
The real sample to reproduce
Oh, so sorry. I've attached the real sample now. I must have selected the wrong file the first time :(
Ok i m able to confirm the crash.
This seems to be related to this more general bug: https://bugzilla.xamarin.com/show_bug.cgi?id=43692
Ah yes, that seems like the same issue
*** This bug has been marked as a duplicate of bug 43692 ***