Skip to content

resident runner NSM crash when listing views #59608

Closed

Description

@zanderso

In dev/1.20.0-0.0.pre from crash logging.

NoSuchMethodError: NoSuchMethodError: The method 'callMethod' was called on null.
Receiver: null
Tried calling: callMethod("_flutter.listViews")
  | at Object.noSuchMethod | (object_patch.dart:51)
  | at FlutterVmService.getFlutterViews | (vmservice.dart:748)
  | at ResidentRunner.listFlutterViews.<anonymous closure> | (resident_runner.dart:845)
  | at MappedListIterable.elementAt | (iterable.dart:417)
  | at ListIterator.moveNext | (iterable.dart:343)
  | at Future.wait | (future.dart:401)
  | at ResidentRunner.listFlutterViews | (resident_runner.dart:844)
  | at TerminalHandler._commonTerminalInputHandler | (resident_runner.dart:1391)
  | at TerminalHandler.processTerminalInput | (resident_runner.dart:1515)
  | at _rootRunUnary | (zone.dart:1198)
  | at _CustomZone.runUnary | (zone.dart:1100)
  | at _CustomZone.runUnaryGuarded | (zone.dart:1005)
  | at _BufferingStreamSubscription._sendData | (stream_impl.dart:357)
  | at _BufferingStreamSubscription._add | (stream_impl.dart:285)
  | at _SyncBroadcastStreamController._sendData | (broadcast_stream_controller.dart:385)
  | at _BroadcastStreamController.add | (broadcast_stream_controller.dart:250)
  | at _AsBroadcastStreamController.add | (broadcast_stream_controller.dart:484)
  | at _rootRunUnary | (zone.dart:1198)
  | at _CustomZone.runUnary | (zone.dart:1100)
  | at _CustomZone.runUnaryGuarded | (zone.dart:1005)
  | at _BufferingStreamSubscription._sendData | (stream_impl.dart:357)
  | at _BufferingStreamSubscription._add | (stream_impl.dart:285)
  | at _SinkTransformerStreamSubscription._add | (stream_transformers.dart:69)
  | at _EventSinkWrapper.add | (stream_transformers.dart:15)
  | at _StringAdapterSink.add | (string_conversion.dart:238)
  | at _StringAdapterSink.addSlice | (string_conversion.dart:243)
  | at _Utf8ConversionSink.addSlice | (string_conversion.dart:317)
  | at _ErrorHandlingAsciiDecoderSink.addSlice | (ascii.dart:256)
  | at _ErrorHandlingAsciiDecoderSink.add | (ascii.dart:242)
  | at _ConverterStreamEventSink.add | (chunked_conversion.dart:72)
  | at _SinkTransformerStreamSubscription._handleData | (stream_transformers.dart:121)
  | at _rootRunUnary | (zone.dart:1198)
  | at _CustomZone.runUnary | (zone.dart:1100)
  | at _CustomZone.runUnaryGuarded | (zone.dart:1005)
  | at _BufferingStreamSubscription._sendData | (stream_impl.dart:357)
  | at _BufferingStreamSubscription._add | (stream_impl.dart:285)
  | at _SyncStreamControllerDispatch._sendData | (stream_controller.dart:784)
  | at _StreamController._add | (stream_controller.dart:655)
  | at _StreamController.add | (stream_controller.dart:597)
  | at _Socket._onData | (socket_patch.dart:2020)
  | at _rootRunUnary | (zone.dart:1206)
  | at _CustomZone.runUnary | (zone.dart:1100)
  | at _CustomZone.runUnaryGuarded | (zone.dart:1005)
  | at _BufferingStreamSubscription._sendData | (stream_impl.dart:357)
  | at _BufferingStreamSubscription._add | (stream_impl.dart:285)
  | at _SyncStreamControllerDispatch._sendData | (stream_controller.dart:784)
  | at _StreamController._add | (stream_controller.dart:655)
  | at _StreamController.add | (stream_controller.dart:597)
  | at new _RawSocket.<anonymous closure> | (socket_patch.dart:1556)
  | at _Closure.call | (function.dart)
  | at _NativeSocket.issueReadEvent.issue | (socket_patch.dart:1052)
  | at _microtaskLoop | (schedule_microtask.dart:41)
  | at _startMicrotaskLoop | (schedule_microtask.dart:50)
  | at _runPendingImmediateCallback | (isolate_patch.dart:118)
  | at _RawReceivePortImpl._handleMessage | (isolate_patch.dart:169)

/cc @jonahwilliams

Activity

  1. added
    c: crashStack traces logged to the console
    toolAffects the "flutter" command-line tool. See also t: labels.
    P1High-priority issues at the top of the work list
    on Jun 16, 2020
  2. added a commit that references this issue on Jun 17, 2020
    802c4b0
  3. added a commit that references this issue on Jun 22, 2020
    e95e997
  4. malnafei commented on Aug 19, 2020

    @malnafei

    i have the same issue and it only happens when building a release apk and in android only

  5. added a commit that references this issue on Sep 6, 2020
    f776bb5
  6. github-actions commented on Aug 13, 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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work listc: crashStack traces logged to the consoletoolAffects 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