Skip to content

Instantly share code, notes, and snippets.

@jonahwilliams
Last active March 13, 2020 18:37
Show Gist options
  • Save jonahwilliams/1077f2500af090b497aa9b63f96703e6 to your computer and use it in GitHub Desktop.
Save jonahwilliams/1077f2500af090b497aa9b63f96703e6 to your computer and use it in GitHub Desktop.
Oops; flutter has exited unexpectedly: "Unexpected Server Error Bad state: No element
#0 List.first (dart:core-patch/growable_array.dart:219:5)
#1 _disableBreakpointsAndResume (package:dwds/src/dwds_vm_client.dart:102:32)
<asynchronous suspension>
#2 DwdsVmClient.create.<anonymous closure> (package:dwds/src/dwds_vm_client.dart:56:13)
#3 VmService._routeRequest (package:vm_service/src/vm_service.dart:2098:39)
#4 VmService._processRequest (package:vm_service/src/vm_service.dart:2075:25)
#5 VmService._processMessageStr (package:vm_service/src/vm_service.dart:2043:9)
#6 VmService._processMessage (package:vm_service/src/vm_service.dart:2000:7)
#7 _rootRunUnary (dart:async/zone.dart:1134:38)
#8 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#9 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
#10 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#11 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:266:7)
#12 _ForwardingStreamSubscription._add (dart:async/stream_pipe.dart:134:11)
#13 _MapStream._handleData (dart:async/stream_pipe.dart:234:10)
#14 _ForwardingStreamSubscription._handleData (dart:async/stream_pipe.dart:166:13)
#15 _rootRunUnary (dart:async/zone.dart:1134:38)
#16 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#17 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
#18 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#19 _DelayedData.perform (dart:async/stream_impl.dart:594:14)
#20 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:710:11)
#21 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:670:7)
#22 _rootRun (dart:async/zone.dart:1122:38)
#23 _CustomZone.run (dart:async/zone.dart:1023:19)
#24 _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#25 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#26 _rootRun (dart:async/zone.dart:1126:13)
#27 _CustomZone.run (dart:async/zone.dart:1023:19)
#28 _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#29 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#30 _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#31 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#32 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#33 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
(-32000) from hotRestart()".
WipError: WipError 13: {code: -32000, message: Cannot find context with specified id}
#0 Modules._initializeMapping (package:dwds/src/debugging/modules.dart:181:9)
<asynchronous suspension>
#1 Modules.initialize (package:dwds/src/debugging/modules.dart:53:5)
#2 ChromeProxyService.createIsolate (package:dwds/src/services/chrome_proxy_service.dart:162:14)
#3 DevHandler._handleIsolateStart (package:dwds/src/handlers/dev_handler.dart:347:11)
#4 DevHandler._handleConnection.<anonymous closure> (package:dwds/src/handlers/dev_handler.dart:225:19)
#5 _rootRunUnary (dart:async/zone.dart:1134:38)
#6 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#7 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
#8 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#9 _DelayedData.perform (dart:async/stream_impl.dart:594:14)
#10 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:710:11)
#11 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:670:7)
#12 _rootRun (dart:async/zone.dart:1122:38)
#13 _CustomZone.run (dart:async/zone.dart:1023:19)
#14 _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#16 _rootRun (dart:async/zone.dart:1126:13)
#17 _CustomZone.run (dart:async/zone.dart:1023:19)
#18 _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#19 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#23 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment