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

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

@chrismark

Description

@chrismark

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.

Metadata

Metadata

Assignees

No one assigned

    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