Skip to content

Hot restart prints errors in terminal #293

@nshahan

Description

@nshahan

Repro:
webdev: 2.0.0-alpha.4
build_web_compilers: 2.0.0-alpha.2
sdk: 2.3.0-dev.0.1
Spinning square example

Edit the color of the square, save, and trigger a hot restart in devtools. There is an error printed to the terminal where webdev is running:

ERROR - 2019-04-17 10:55:15.501865
Asynchronous error
NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
dart:convert                                                               Codec.encode
package:dwds/src/chrome_proxy_service.dart 658:30                          ChromeProxyService._chromeConsoleStreamController.<fn>.<fn>
dart:async                                                                 _EventSinkWrapper.add
package:webkit_inspection_protocol/webkit_inspection_protocol.dart 302:22  WipDomain.eventStream.<fn>.<fn>

Metadata

Metadata

Assignees

Labels

type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions