Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-252

Uncaught Exception in Base.__executeAllServerSpecificErrorCallbacks

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.9
    • Affects Version/s: 1.4.8
    • Component/s: None
    • Labels:
    • Environment:
      node 0.10.26
      node-mongodb-native 1.4.7
    • 1

      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

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            sega Sergey I. Yarkin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: