Skip to content

Null check operator used on a null value in PlatformView.  #96384

@rahul-bst

Description

@rahul-bst

setState(() { _platformViewCreated = true; });

setState is called when element is null.

Stacktrace received on crashlytics:

Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Null check operator used on a null value. Error thrown null.
       at State.setState(framework.dart:1108)
       at _PlatformViewLinkState._onPlatformViewCreated(platform_view.dart:889)
       at AndroidViewController.create(platform_views.dart:752)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: null-safetySupport for Dart's null safety featurea: platform-viewsEmbedding Android/iOS views in Flutter appsa: productionIssues experienced in live production appsframeworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions