Bug when using ChangeStream's w/ Node.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.3.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I am experiencing this bug:

      https://stackoverflow.com/questions/58228369/getting-weird-errors-from-mongodb-certain-options-that-i-didnt-elect-are-not

       

      here is the stacktrace:
      Uncaught exception: TypeError: Cannot read property '0' of undefined
      at _initializeCursor (/Users/Olegzandr/codes/interos/read-from-mongodb/node_modules/mongodb/lib/change_stream.js:307:40)
      at handleCallback (/Users/Olegzandr/codes/interos/read-from-mongodb/node_modules/mongodb/lib/core/cursor.js:32:5)
      at nextFunction (/Users/Olegzandr/codes/interos/read-from-mongodb/node_modules/mongodb/lib/core/cursor.js:879:5)
      at /Users/Olegzandr/codes/interos/read-from-mongodb/node_modules/mongodb/lib/core/cursor.js:829:7
      at _getMore (/Users/Olegzandr/codes/interos/read-from-mongodb/node_modules/mongodb/lib/change_stream.js:349:7)
      at wireProtocol.getMore (/Users/Olegzandr/codes/interos/read-from-mongodb/node_modules/mongodb/lib/core/sdam/server.js:301:7)
      at queryCallback (/Users/Olegzandr/codes/interos/read-from-mongodb/node_modules/mongodb/lib/core/wireprotocol/get_more.js:54:5)
      at /Users/Olegzandr/codes/interos/read-from-mongodb/node_modules/mongodb/lib/core/connection/pool.js:420:18
      at process.internalTickCallback (internal/process/next_tick.js:70:11) 
      I can share my code - it's for work, so somewhat proprietary in the verbatim form..

       

            Assignee:
            Daniel Aprahamian (Inactive)
            Reporter:
            Alex Mills
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: