-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] System.ObjectDisposedException: 'Cannot access a disposed object. Object name: 'GroupableItemsViewController`1' #8394
Comments
@pauldipietro based on your last blog post https://devblogs.microsoft.com/xamarin/xamarin-forms-4-3-introducing-collectionview/ |
@ericbrunner I'm trying to reproduce this error, but I'm not having much luck so far. Can you post a minimal repro project which demonstrates it? |
Fix pls |
@kcrg @ericbrunner
|
@PureWeen All that information is inside my comment from 6th of November. Create a new Xamarin.Forms Shell API without REST API Backend. Update the data-bindings in the XAML. Adjust the AppShell.xaml to the structure I posted. I will try to create such repo |
@ericbrunner aw I had missed that there was an existing issue this linked to So can we just close this one in favor of #8308 . ? Seems like that one already has a repro and is confirmed |
@PureWeen No you can't close this issue until solved. The other issue is different. There is mentioned that there is no issue on tabs. Well my filed issue is totally tabbar related / collectionview issue on iOS. |
Sounds good! Though I'm fairly confident once that one is solved it'll fix this one :-) In either case, a full stack trace would also be helpful |
I'll create a repo tomorrow and upload it |
Ok i created a repo. In the meanwhile new Xamarin.Forms SDK versions were released. I updated to
The iOS App doesn't crash now anymore, which is an improvement. But there are still related Debug Log outputs. You can reproduce it when you pull down to refresh.
|
The latest warnings should be fixed by: #7711 |
@jsuarezruiz In that case I close that issue |
Please re-open this issue, we receive this error Inserting items into an ObservableCollection on iOS Simulator, running Xamarin.Forms 4.4.0.991265 |
Guys, we are experiencing the issue on iOS, on last stable version of XF related to navigation
|
I also get it randomly. |
I can reproduce this 2 of 3 times 😢 with iOS v12.4 & Xamarin.Forms v4.7.0.1080, but in iOS v13.5 & v13.6 I can't reproduce it🧐 Update:
|
I can reproduce with iOS 12.2 and Xamarin.Forms 4.7.0.1239 |
I have this error. Xamarin Team, any news? |
I am also having this error on v4.8.0.1534 Last response to this issue was a year ago. Shocking. |
Not really, since the issue was closed a year ago. The reproduction project posted by the opener of the issue still runs without crashing on the latest version of Forms. If you are experiencing an |
Description
On iOS a Shell App with CollectionView crashes. Android works.
Steps to Reproduce
Shell AppShell.xaml structure:
ComputersRootPage XAML structure
Expected Behavior
No crash.
Actual Behavior
iOS App crashes.
System.ObjectDisposedException: 'Cannot access a disposed object.
Object name: 'GroupableItemsViewController`1'
Basic Information
XF SDK Version: 4.3.0.947036 (latest stable)
IDE: Visual Studio 2019
Platform Target Frameworks:
iOS: 13.1, 13.2 (Probbably other versions too)
App Type: Xamarin.Forms
The text was updated successfully, but these errors were encountered: