Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.

TypeError: Cannot read property '0' of null #25

Open
chrismark opened this issue Nov 20, 2012 · 0 comments
Open

TypeError: Cannot read property '0' of null #25

chrismark opened this issue Nov 20, 2012 · 0 comments

Comments

@chrismark
Copy link

Hi all,

I use thoonk 0.5.2. Stumbled on the ff. error:

TypeError: Cannot read property '0' of null
at Feed. (/node_modules/thoonk/feed.js:258:20)
at Multi.exec (/node_modules/redis/index.js:1050:13)
at try_callback (/node_modules/redis/index.js:520:9)
at RedisClient.return_reply (/node_modules/redis/index.js:590:13)
at HiredisReplyParser.RedisClient.init_parser (/node_modules/redis/index.js:263:14)
at HiredisReplyParser.EventEmitter.emit (events.js:88:17)
at HiredisReplyParser.execute (/node_modules/redis/lib/parser/hiredis.js:43:18)
at RedisClient.on_data (/node_modules/redis/index.js:476:27)
at Socket. (/node_modules/redis/index.js:79:14)
at Socket.EventEmitter.emit (events.js:88:17)

Right now am wrapping my getAll() calls with try-catch.
Not sure if I should report this because it could just mean redis died but it didn't and redis was still up when this error happened. Maybe there's another cause for this error.

Am also getting

(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.

but that one doesn't take down node process.

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

No branches or pull requests

1 participant