Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App does not run in checked mode #5

Closed
artisonian opened this issue Feb 7, 2014 · 2 comments · Fixed by eee-c/dart-dirty#4
Closed

App does not run in checked mode #5

artisonian opened this issue Feb 7, 2014 · 2 comments · Fixed by eee-c/dart-dirty#4

Comments

@artisonian
Copy link

Running the crashes in checked mode:

Server started on port: 8000
Uncaught Error: type '_LinkedHashMapValueIterable' is not a subtype of type 'List<Object>' of 'function result'.
Stack Trace: 
#0      Dirty.values (package:dirty/dirty.dart:53:36)
#1      Comics.index (file:///Users/leroy/repos/git/dart-comics/app.dart:43:14)
#2      main.<anonymous closure>.<anonymous closure> (file:///Users/leroy/repos/git/dart-comics/app.dart:16:28)
#3      _rootRunUnary (dart:async/zone.dart:695)
#4      _RootZone.runUnary (dart:async/zone.dart:834)
#5      _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#6      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#7      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#8      _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#9      _StreamController._add (dart:async/stream_controller.dart:438)
#10     _StreamController.add (dart:async/stream_controller.dart:395)
#11     _HttpServer._handleRequest (http_impl.dart:2119)
#12     _HttpConnection._HttpConnection.<anonymous closure> (http_impl.dart:1955)
#13     _rootRunUnary (dart:async/zone.dart:695)
#14     _RootZone.runUnary (dart:async/zone.dart:834)
#15     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#16     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#17     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#18     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#19     _StreamController._add (dart:async/stream_controller.dart:438)
#20     _StreamController.add (dart:async/stream_controller.dart:395)
#21     _HttpParser._doParse (http_parser.dart:596)
#22     _HttpParser._parse (http_parser.dart:256)
#23     _onData (http_parser.dart:722)
#24     _rootRunUnary (dart:async/zone.dart:695)
#25     _RootZone.runUnary (dart:async/zone.dart:834)
#26     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#27     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#28     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#29     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#30     _StreamController._add (dart:async/stream_controller.dart:438)
#31     _StreamController.add (dart:async/stream_controller.dart:395)
#32     _onData (dart:io-patch/socket_patch.dart:1355)
#33     _rootRunUnary (dart:async/zone.dart:695)
#34     _RootZone.runUnary (dart:async/zone.dart:834)
#35     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#36     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#37     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#38     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#39     _StreamController._add (dart:async/stream_controller.dart:438)
#40     _StreamController.add (dart:async/stream_controller.dart:395)
#41     _RawSocket._RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:950)
#42     multiplex (dart:io-patch/socket_patch.dart:604)
#43     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:115)


Unhandled exception:
type '_LinkedHashMapValueIterable' is not a subtype of type 'List<Object>' of 'function result'.
#0      _rootHandleUncaughtError.<anonymous closure>.<anonymous closure> (dart:async/zone.dart:677)
#1      _asyncRunCallback (dart:async/schedule_microtask.dart:18)
#2      _asyncRunCallback (dart:async/schedule_microtask.dart:21)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:119)
@eee-c
Copy link
Owner

eee-c commented Feb 8, 2014

Much thanks for the report. It'll probably be a week or so before I can get to it (pull requests welcome in the meantime!). But thanks, I'll get it fixed!

@eee-c
Copy link
Owner

eee-c commented Feb 10, 2014

Perfect. Thanks for tracking that down. An updated version of dart-dirty is up on pub.dartlang.org. I appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants