Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Android.Graphics.Bitmap'. #3003

Closed
ben-powley opened this issue Jun 11, 2018 · 2 comments

Comments

@ben-powley
Copy link

Description

When launching a Xamarin Forms 3.0 app on either the simulator or an actual device, the app crashes when loading a tabbed page with the error "System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Android.Graphics.Bitmap'".

Steps to Reproduce

Unfortunately it's not consistent. Sometimes it will crash 10 times in a row, sometimes it will work 10 times in a row.

Expected Behavior

The app should function as normal and load the tabbed page.

Actual Behavior

The app crashes with the error "System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Android.Graphics.Bitmap'".

Basic Information

  • Version with issue: 3.0.0.550146
  • Last known good version: 3.0.0.482510
  • IDE: Visual studio 2017 proffesional
  • Platform Target Frameworks:
    • iOS: 11.2
    • Android: 8.1
  • Android Support Library Version: 27.0.2
  • Nuget Packages:
  • Affected Devices:
    -- Android 7.1 Simulator
    -- Samsung Galaxy S9+ 8.1
    -- Android 8.0 Simulator
@AmrAlSayed0
Copy link

Might be a duplicate of #2004 and #2637 or just related.

@ben-powley
Copy link
Author

@AmrAlSayed0 Ah it does seem like it. I didn't see those when looking earlier. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants