Skip to content

NoSuchMethodError: The method 'cancel' was called on null at AnsiSpinner.finish #75677

Closed

Description

@jmagman

beta crasher:

NoSuchMethodError: The method 'cancel' was called on null.
Receiver: null
Tried calling: cancel()
  | at Object.noSuchMethod | (object_patch.dart:54)
  | at AnsiSpinner.finish | (logger.dart:952)
  | at Status.stop | (logger.dart:775)
  | at AnsiStatus.stop | (logger.dart:1030)
  | at DevtoolsServerLauncher._activateDevTools | (devtools_launcher.dart:167)
  | at <asynchronous gap> | (async)
  | at DevtoolsServerLauncher.launch | (devtools_launcher.dart:71)
  | at <asynchronous gap> | (async)
  | at DevtoolsServerLauncher.serve | (devtools_launcher.dart:176)
  | at <asynchronous gap> | (async)
...

https://crash.corp.google.com/browse?q=product_name%3D%27Flutter_Tools%27+AND+product.Version%3D%27beta%2F1.26.0-17.3.pre%27+AND+stable_signature%3D%27NoSuchMethodError+at+Object.noSuchMethod+at+dart%3Acore-patch%2Fobject_patch.dart-44ba5769%27

Activity

  1. added
    c: crashStack traces logged to the console
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Feb 9, 2021
  2. self-assigned this
    on Feb 9, 2021
  3. added
    P1High-priority issues at the top of the work list
    and removed on Feb 10, 2021
  4. jmagman commented on Mar 11, 2021

    @jmagman
    MemberAuthor

    This is the number 6 highest crasher in the tool on 2.0.1, request for hotfix.

  5. travcantcode commented on Mar 15, 2021

    @travcantcode

    I'm still receiving this error on 2.0.2 latest stable release as of today, same errors when running both on android and ios emulators

  6. jmagman commented on Mar 15, 2021

    @jmagman
    MemberAuthor

    @findtravishere The fix #75679 is available in 1.27.0-4.0.pre, which is currently available on the dev channel. I've added a request to hotfix this to stable but it hasn't happened yet.

  7. github-actions commented on Aug 4, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: crashStack traces logged to the consoler: fixedIssue is closed as already fixed in a newer versiontoolAffects 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