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

Error with dart-1.17.1 #98

Closed
lejard-h opened this issue Jun 11, 2016 · 1 comment
Closed

Error with dart-1.17.1 #98

lejard-h opened this issue Jun 11, 2016 · 1 comment

Comments

@lejard-h
Copy link

lejard-h commented Jun 11, 2016

Hi, since the last version of dart 1.17.1 I have this error

Unhandled exception:
ConnectionPoolException: Failed to open connection. Cause: type '_SinkTransformerStreamSubscription<List<int>, MongoReplyMessage>' is not a subtype of type 'StreamSubscription<List<int>>' of 'value' where
  _SinkTransformerStreamSubscription is from dart:async
  MongoReplyMessage is from package:mongo_dart/mongo_dart.dart
  List is from dart:core
  int is from dart:core
  MongoReplyMessage is from package:mongo_dart/mongo_dart.dart
  StreamSubscription is from dart:async
  List is from dart:core
  int is from dart:core

#0      _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:938)
#1      _microtaskLoop (dart:async/schedule_microtask.dart:41)
#2      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#3      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)

I am using Redstone with redstone_mapper_mongo, maybe it's coming from here but I don't know

@lejard-h
Copy link
Author

Okay sorry about that, redstone_mapper_mongo is using an old version of mongo_dart, override dependencies resolve the problem

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

No branches or pull requests

1 participant