Skip to content

CP request for 1.22: NoSuchMethodError: The method 'cancel' was called on null #65903

@jonahwilliams

Description

@jonahwilliams

This is an error introduced as part of the cache refactor to reduce the occurrence of #52437 .

Instead of attempting to re-download the asset, the tool will crash with this NSM error. I expect this to be severe since it should match the number of occurrences of the previously fixed issue (which was high) and was independently reported (#65449) twice before it was fixed.

The fixing PR is #65797 which is fairly small, self-contained, and tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions