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

[Bug] Android NullReferenceException GetMetaData #997

Open
@mknotzer

Description

@mknotzer

On Startup MediaElement (Source not set) causes an unhandled Exception:

{System.NullReferenceException: Object reference not set to an instance of an object. at Xamarin.CommunityToolkit.UI.Views.FormsVideoView+<>c__DisplayClass7_0.b__0 () [0x00006] in <08abc6c084af4622851290c7f2f974ff>:0 at System.Threading.Tasks.…}

at Xamarin.CommunityToolkit.UI.Views.FormsVideoView+<>c__DisplayClass7_0.b__0 () [0x00006] in <08abc6c084af4622851290c7f2f974ff>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2476
at System.Threading.Tasks.Task.Execute () [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319

Xamarin Toolkit 1.0.3

The view works later despite the exception, playing a video is possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a/MediaElementbugSomething isn't working. Breaky break.p/androidThis issue impacts Androids/unverifiedThis issue needs verification/reproduction by a team member. PRs cannot be accepted/merged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions