-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.4.8
-
Component/s: None
-
Environment:node 0.10.26
node-mongodb-native 1.4.7
-
1
-
Empty show more show less
Periodically I see in my logs uncaughtException, e.g.:
TypeError: Cannot read property 'connection' of undefined
at Base.__executeAllServerSpecificErrorCallbacks (APPDIR/node_modules/mongodb/lib/mongodb/connection/base.js:359:12)
at Server.<anonymous> (APPDIR/node_modules/mongodb/lib/mongodb/connection/repl_set/repl_set.js:345:14)
at Server.EventEmitter.emit (events.js:98:17)
at null.<anonymous> (APPDIR/node_modules/mongodb/lib/mongodb/connection/server.js:600:84)
at EventEmitter.emit (events.js:92:17)
at null.<anonymous> (APPDIR/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:165:15)
at EventEmitter.emit (events.js:98:17)
at Socket.<anonymous> (APPDIR/node_modules/mongodb/lib/mongodb/connection/connection.js:549:12)
at Socket.EventEmitter.emit (events.js:95:17)
at TCP.close (net.js:465:12)
It's very old bug