Skip to content

Crashes due to null vmservice #59606

Closed

Description

@zanderso

1 on beta/1.19.0-4.1.pre from crash logging:

ArgumentError: Invalid argument (Expandos are not allowed on strings, numbers, booleans or null): null
  | at Expando._checkType | (expando_patch.dart:141)
  | at Expando.[] | (expando_patch.dart:20)
  | at FlutterVmService.httpAddress | (vmservice.dart:435)
  | at ResidentRunner.launchDevTools | (resident_runner.dart:1158)
  | at <asynchronous gap> | (async)
  | at TerminalHandler._commonTerminalInputHandler | (resident_runner.dart:1506)
  | at TerminalHandler.processTerminalInput | (resident_runner.dart:1535)
  | 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 _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)

Activity

  1. added
    c: crashStack traces logged to the console
    toolAffects the "flutter" command-line tool. See also t: labels.
    platform-webWeb applications specifically
    P1High-priority issues at the top of the work list
    on Jun 16, 2020
  2. added this to the 1.20 - June 2020 milestone on Jun 16, 2020
  3. added
    P2Important issues not at the top of the work list
    and removed
    P1High-priority issues at the top of the work list
    on Jun 16, 2020
  4. github-actions commented on Aug 19, 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.

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

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: crashStack traces logged to the consoleplatform-webWeb applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions