Repository navigation
resident runner NSM crash when listing views #59608
Copy link
Copy link
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consoletoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consoletoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Activity
[flutter_tools] handle NPE in list views method(#59626)
[flutter_tools] handle NPE in list views method(flutter#59626)
malnafei commentedon Aug 19, 2020
i have the same issue and it only happens when building a release apk and in android only
[flutter_tools] handle NPE in list views method(flutter#59626)
github-actions commentedon Aug 13, 2021
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 -vand a minimal reproduction of the issue.