Skip to content

Crash on flutter_web when selecting anything in widget select mode. #562

@Markzipan

Description

@Markzipan

webdev: webdev 2.0.0-alpha.4
dart: 2.2.1

Clicking anything on the flutter_web gallery emits this error:

main.dart.js:2747 DevTools version 0.0.16.
main.dart.js:2747 Unrecognized error: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'Map<String, String>' (-32603) from evaluate()
main.dart.js:19738 Uncaught TypeError: Cannot read property 'valueAsString' of undefined
    at main.dart.js:35021
    at _wrapJsFunctionForAsync_closure.$protected (main.dart.js:3480)
    at _wrapJsFunctionForAsync_closure.call$2 (main.dart.js:17696)
    at _awaitOnObject_closure.call$1 (main.dart.js:17682)
    at _RootZone.runUnary$2$2 (main.dart.js:19813)
    at _Future__propagateToListeners_handleValueCallback.call$0 (main.dart.js:18520)
    at Object._Future__propagateToListeners (main.dart.js:3680)
    at _Future._complete$1 (main.dart.js:18346)
    at _SyncCompleter.complete$1 (main.dart.js:18180)
    at Object.eval (eval at Closure_forwardInterceptedCallTo (main.dart.js:1556), <anonymous>:3:38)
main.dart.js:2747 Unrecognized error: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'Map<String, String>' (-32603) from evaluate()
main.dart.js:19738 Uncaught TypeError: Cannot read property 'valueAsString' of undefined
    at main.dart.js:35021
    at _wrapJsFunctionForAsync_closure.$protected (main.dart.js:3480)
    at _wrapJsFunctionForAsync_closure.call$2 (main.dart.js:17696)
    at _awaitOnObject_closure.call$1 (main.dart.js:17682)
    at _RootZone.runUnary$2$2 (main.dart.js:19813)
    at _Future__propagateToListeners_handleValueCallback.call$0 (main.dart.js:18520)
    at Object._Future__propagateToListeners (main.dart.js:3680)
    at _Future._complete$1 (main.dart.js:18346)
    at _SyncCompleter.complete$1 (main.dart.js:18180)
    at Object.eval (eval at Closure_forwardInterceptedCallTo (main.dart.js:1556), <anonymous>:3:38)

This could just be an error on my local machine, as Nick couldn't reproduce this on his machine. I ran 'pub upgrade' as well.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions