Crash with TypeError: Cannot read property '0' of undefined #42

bpfh opened this Issue Apr 27, 2012 · 0 comments


None yet

2 participants

bpfh commented Apr 27, 2012


My scrumblr installation crashes frequently with the following stack trace:

client: 21098831311167855338 is broadcasting to: 
setBoardSize -- { width: 996, height: 747 }

                return client_rooms[0];
TypeError: Cannot read property '0' of undefined
    at Object.get_room (/root/tmp/scrumblr/lib/rooms.js:131:22)
    at getRoom (/root/tmp/scrumblr/server.js:469:15)
    at Socket.<anonymous> (/root/tmp/scrumblr/server.js:312:5)
    at Socket.$emit (events.js:67:17)
    at SocketNamespace.handlePacket (/root/tmp/scrumblr/node_modules/
    at Manager.onClientMessage (/root/tmp/scrumblr/node_modules/
    at JSONPPolling.onMessage (/root/tmp/scrumblr/node_modules/
    at JSONPPolling.<anonymous> (/root/tmp/scrumblr/node_modules/
    at JSONPPolling.onData (/root/tmp/scrumblr/node_modules/
    at IncomingMessage.<anonymous> (/root/tmp/scrumblr/node_modules/

The problem started appearing recently with no changes to the scrumblr installation, so I suspect corrupt data somewhere. Any tips?


@aliasaria aliasaria closed this Aug 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment