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

Fatal exceptions #41

Open
kaisellgren opened this issue Dec 11, 2013 · 0 comments
Open

Fatal exceptions #41

kaisellgren opened this issue Dec 11, 2013 · 0 comments

Comments

@kaisellgren
Copy link

Code is (db dumb link at the end):

RedisClient.connect('127.0.0.1:6379').then((c) {
  redis = c;

  redis.lrange('page-hot-51781a955a46abcd93000003');
  redis.lrange('page-hot-51781a955a46abcd93000003');
});

Sometimes when I run it (not always, had to repeat), it throws:

Uncaught Error: RedisClientException: Received stream error Invalid redis response: The type character was incorrect (e)..
Stack Trace:
#0      _onStreamError (package:redis_client/redis_client/redis_connection.dart:292:5)
#1      _rootRunUnary (dart:async/zone.dart:695)
#2      _RootZone.runUnary (dart:async/zone.dart:825)
#3      _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#4      _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:355)
#5      _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:369)
#6      _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:272)
#7      _SinkTransformerStreamSubscription._addError (dart:async/stream_transformers.dart:78)
#8      _EventSinkWrapper.addError (dart:async/stream_transformers.dart:16)
#9      _RedisConnection.handleError (package:redis_client/redis_client/redis_connection.dart:117:18)
#10     handleData (package:redis_client/redis_client/redis_connection.dart:131:20)
#11     _HandlerEventSink.add (dart:async/stream_transformers.dart:214)
#12     _handleData (dart:async/stream_transformers.dart:116)
#13     _rootRunUnary (dart:async/zone.dart:695)
#14     _RootZone.runUnary (dart:async/zone.dart:825)
#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     _onData (dart:io-patch/socket_patch.dart:1175)
#22     _rootRunUnary (dart:async/zone.dart:695)
#23     _RootZone.runUnary (dart:async/zone.dart:825)
#24     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#25     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#26     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#27     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#28     _StreamController._add (dart:async/stream_controller.dart:438)
#29     _StreamController.add (dart:async/stream_controller.dart:395)
#30     _RawSocket._RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:770)
#31     multiplex (dart:io-patch/socket_patch.dart:495)
#32     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:93)


Uncaught Error: RedisClientException: Received stream error The null object does not have a method 'consumeData'.

NoSuchMethodError : method not found: 'consumeData'
Receiver: null
Arguments: [ExternalTypedData].
Stack Trace:
#0      _onStreamError (package:redis_client/redis_client/redis_connection.dart:292:5)
#1      _rootRunUnary (dart:async/zone.dart:695)
#2      _RootZone.runUnary (dart:async/zone.dart:825)
#3      _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#4      _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:355)
#5      _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:369)
#6      _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:272)
#7      _SinkTransformerStreamSubscription._addError (dart:async/stream_transformers.dart:78)
#8      _handleData (dart:async/stream_transformers.dart:118)
#9      _rootRunUnary (dart:async/zone.dart:695)
#10     _RootZone.runUnary (dart:async/zone.dart:825)
#11     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#12     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#13     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#14     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#15     _StreamController._add (dart:async/stream_controller.dart:438)
#16     _StreamController.add (dart:async/stream_controller.dart:395)
#17     _onData (dart:io-patch/socket_patch.dart:1175)
#18     _rootRunUnary (dart:async/zone.dart:695)
#19     _RootZone.runUnary (dart:async/zone.dart:825)
#20     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#21     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#22     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#23     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#24     _StreamController._add (dart:async/stream_controller.dart:438)
#25     _StreamController.add (dart:async/stream_controller.dart:395)
#26     _RawSocket._RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:770)
#27     multiplex (dart:io-patch/socket_patch.dart:495)
#28     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:93)

Sometimes I also get these:

Uncaught Error: RedisClientException: Received stream error Invalid redis response: The type character was incorrect (e)..
Stack Trace:
#0      _onStreamError (package:redis_client/redis_client/redis_connection.dart:292:5)
#1      _rootRunUnary (dart:async/zone.dart:695)
#2      _RootZone.runUnary (dart:async/zone.dart:825)
#3      _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#4      _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:355)
#5      _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:369)
#6      _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:272)
#7      _SinkTransformerStreamSubscription._addError (dart:async/stream_transformers.dart:78)
#8      _EventSinkWrapper.addError (dart:async/stream_transformers.dart:16)
#9      _RedisConnection.handleError (package:redis_client/redis_client/redis_connection.dart:117:18)
#10     handleData (package:redis_client/redis_client/redis_connection.dart:131:20)
#11     _HandlerEventSink.add (dart:async/stream_transformers.dart:214)
#12     _handleData (dart:async/stream_transformers.dart:116)
#13     _rootRunUnary (dart:async/zone.dart:695)
#14     _RootZone.runUnary (dart:async/zone.dart:825)
#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     _onData (dart:io-patch/socket_patch.dart:1175)
#22     _rootRunUnary (dart:async/zone.dart:695)
#23     _RootZone.runUnary (dart:async/zone.dart:825)
#24     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#25     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#26     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#27     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#28     _StreamController._add (dart:async/stream_controller.dart:438)
#29     _StreamController.add (dart:async/stream_controller.dart:395)
#30     _RawSocket._RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:770)
#31     multiplex (dart:io-patch/socket_patch.dart:495)
#32     _RawReceivePortImpl._handler (dart:isolate-patch/isolate_patch.dart:1)
#33     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:93)


null
Uncaught Error: RedisClientException: Received stream error The null object does not have a method 'consumeData'.

NoSuchMethodError : method not found: 'consumeData'
Receiver: null
Arguments: [ExternalTypedData].
Stack Trace:
#0      _onStreamError (package:redis_client/redis_client/redis_connection.dart:292:5)
#1      _rootRunUnary (dart:async/zone.dart:695)
#2      _RootZone.runUnary (dart:async/zone.dart:825)
#3      _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#4      _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:355)
#5      _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:369)
#6      _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:272)
#7      _SinkTransformerStreamSubscription._addError (dart:async/stream_transformers.dart:78)
#8      _handleData (dart:async/stream_transformers.dart:118)
#9      _rootRunUnary (dart:async/zone.dart:695)
#10     _RootZone.runUnary (dart:async/zone.dart:825)
#11     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#12     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#13     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#14     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#15     _StreamController._add (dart:async/stream_controller.dart:438)
#16     _StreamController.add (dart:async/stream_controller.dart:395)
#17     _onData (dart:io-patch/socket_patch.dart:1175)
#18     _rootRunUnary (dart:async/zone.dart:695)
#19     _RootZone.runUnary (dart:async/zone.dart:825)
#20     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#21     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#22     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#23     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#24     _StreamController._add (dart:async/stream_controller.dart:438)
#25     _StreamController.add (dart:async/stream_controller.dart:395)
#26     _RawSocket._RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:770)
#27     multiplex (dart:io-patch/socket_patch.dart:495)
#28     _RawReceivePortImpl._handler (dart:isolate-patch/isolate_patch.dart:1)
#29     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:93)


null
Uncaught Error: RedisClientException: Received stream error Invalid redis response: The type character was incorrect (
)..
Stack Trace:
#0      _onStreamError (package:redis_client/redis_client/redis_connection.dart:292:5)
#1      _rootRunUnary (dart:async/zone.dart:695)
#2      _RootZone.runUnary (dart:async/zone.dart:825)
#3      _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#4      _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:355)
#5      _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:369)
#6      _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:272)
#7      _SinkTransformerStreamSubscription._addError (dart:async/stream_transformers.dart:78)
#8      _EventSinkWrapper.addError (dart:async/stream_transformers.dart:16)
#9      _RedisConnection.handleError (package:redis_client/redis_client/redis_connection.dart:117:18)
#10     handleData (package:redis_client/redis_client/redis_connection.dart:131:20)
#11     _HandlerEventSink.add (dart:async/stream_transformers.dart:214)
#12     _handleData (dart:async/stream_transformers.dart:116)
#13     _rootRunUnary (dart:async/zone.dart:695)
#14     _RootZone.runUnary (dart:async/zone.dart:825)
#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     _onData (dart:io-patch/socket_patch.dart:1175)
#22     _rootRunUnary (dart:async/zone.dart:695)
#23     _RootZone.runUnary (dart:async/zone.dart:825)
#24     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#25     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#26     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#27     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#28     _StreamController._add (dart:async/stream_controller.dart:438)
#29     _StreamController.add (dart:async/stream_controller.dart:395)
#30     _RawSocket._RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:770)
#31     multiplex (dart:io-patch/socket_patch.dart:495)
#32     _RawReceivePortImpl._handler (dart:isolate-patch/isolate_patch.dart:1)
#33     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:93)


null
Uncaught Error: RedisClientException: Received stream error The null object does not have a method 'consumeData'.

NoSuchMethodError : method not found: 'consumeData'
Receiver: null
Arguments: [ExternalTypedData].
Stack Trace:
#0      _onStreamError (package:redis_client/redis_client/redis_connection.dart:292:5)
#1      _rootRunUnary (dart:async/zone.dart:695)
#2      _RootZone.runUnary (dart:async/zone.dart:825)
#3      _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#4      _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:355)
#5      _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:369)
#6      _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:272)
#7      _SinkTransformerStreamSubscription._addError (dart:async/stream_transformers.dart:78)
#8      _handleData (dart:async/stream_transformers.dart:118)
#9      _rootRunUnary (dart:async/zone.dart:695)
#10     _RootZone.runUnary (dart:async/zone.dart:825)
#11     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#12     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#13     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#14     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#15     _StreamController._add (dart:async/stream_controller.dart:438)
#16     _StreamController.add (dart:async/stream_controller.dart:395)
#17     _onData (dart:io-patch/socket_patch.dart:1175)
#18     _rootRunUnary (dart:async/zone.dart:695)
#19     _RootZone.runUnary (dart:async/zone.dart:825)
#20     _BaseZone.runUnaryGuarded (dart:async/zone.dart:546)
#21     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#22     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#23     _StreamController&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
#24     _StreamController._add (dart:async/stream_controller.dart:438)
#25     _StreamController.add (dart:async/stream_controller.dart:395)
#26     _RawSocket._RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:770)
#27     multiplex (dart:io-patch/socket_patch.dart:495)
#28     _RawReceivePortImpl._handler (dart:isolate-patch/isolate_patch.dart:1)
#29     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:93)

Download dump file: http://d.pr/f/CeMq

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