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 10644 [details]
Application crashes when ContentPage in TabbedPage has its IsVisible property set to false with exception: "Unable to cast object of type 'Xamarin.Forms.ContentPage' to type 'Xamarin.Forms.View'."
See attached project.
I have tried to reproduce this issue and getting the same exception reported in bug description. Application crashes when ContentPage in TabbedPage has its IsVisible property set to false with exception: "Unable to cast object of type
'Xamarin.Forms.ContentPage' to type 'Xamarin.Forms.View'." To reproduce this issue I downloaded the attached sample and run it.
IDE log: https://gist.github.com/sunil360/3a78b2520d303afa0c12
=== Xamarin Studio ===
Version 5.9 (build 436)
Installation UUID: 561c7a69-0a91-4bae-ad7c-f0c79d594337
Mono 4.0.1 ((detached/373d684)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400000009
=== Apple Developer Tools ===
Xcode 6.3 (7569)
=== Xamarin.iOS ===
Version: 184.108.40.2062 (Enterprise Edition)
Build date: 2015-04-28 22:39:42-0400
=== Xamarin.Android ===
Version: 220.127.116.11 (Enterprise Edition)
Android SDK: /Users/tajinder/Desktop/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
4.4 (API level 19)
4.4.87 (API level 20)
5.0 (API level 21)
Java SDK: /usr
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
=== Xamarin Android Player ===
Version: Unknown version
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
Version: 18.104.22.1689 (Enterprise Edition)
=== Build Information ===
Release ID: 509000436
Git revision: 7e8ba4cbccf7b188ce5e80a90fdc4acdedb5a83f
Build date: 2015-04-23 13:19:57-04
Xamarin addins: 21fd95f743742c5237e22023996c2800ce3f8db3
=== Operating System ===
Mac OS X 10.10.0
Darwin Tajinders-iMac.local 14.0.0 Darwin Kernel Version 14.0.0
Fri Sep 19 00:26:44 PDT 2014
This has been fixed in Forms 1.4.3 (upcoming release).
Thanks for filing the issue!
I have checked this issue with xamarin.forms.22.214.171.12464-pre3 and its working fine at my end.
Hence closing this issue.
Xamarin Studio 5.9.3 (build 1)
Installation UUID: 1a096c6f-0678-402e-89b2-a2c10f7e80e4
Mono 4.0.1 ((detached/ed1d3ec)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400010044
Xcode 6.2 (6776)
Xamarin.iOS : 126.96.36.199 (Enterprise Edition)
Xamarin.Android : 188.8.131.52 (Enterprise Edition)
Xamarin.Mac : 184.108.40.206 (Enterprise Edition)
Mac OS X 10.9.4