Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6051

Stacktrace generates "MongoDB Compass has encountered an unexpected error"

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.36.0
    • Affects Version/s: 1.32.6
    • Component/s: Auto Updates
    • None
    • Environment:
      mac 12.5.1
    • Iteration Velvet Crab
    • Not Needed

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      Stacktrace generated while not running any command. See image

      Please be sure to attach relevant logs with any sensitive data redacted.

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      Start Compass. Wait. Compass has no active connection.

      Believe it's related to installing Compass 1.32.5, then let AutoUpdate change it to both versions (1.32.5 and 1.32.6) from the reference in the error message.

      The Compass icon in the tray says 1.32.5 still, but if About Compass is chosen, the version running is 1.32.6. Then wait.

      I can still run Compass however.

      Expected Results

      What do you expect to happen?

      No error. This is the firsts time this error has ever appeared.

      Actual Results

      What do you observe is happening?

      "MongoDB Compass has encountered an unexpected error
      Error [ERR_STREAM_WRITE_AFTER_END]: write after end
          at process.<anonymous> (/Applications/MongoDB Compass 1.32.5.app/Contents/Resources/app.asar/build/520.js:1:19846)
          at a (/Applications/MongoDB Compass 1.32.5.app/Contents/Resources/app.asar/build/main.js:1:270)
          at Object.write (/Applications/MongoDB Compass 1.32.5.app/Contents/Resources/app.asar/build/main.js:1:334)
          at p._write (/Applications/MongoDB Compass 1.32.5.app/Contents/Resources/app.asar/build/main.js:1:98130)
          at p.info (/Applications/MongoDB Compass 1.32.5.app/Contents/Resources/app.asar/build/main.js:1:98336)
          at AutoUpdater.<anonymous> (/Applications/MongoDB Compass 1.32.5.app/Contents/Resources/app.asar/build/471.js:1:2757)"

      Additional Notes

      Any additional information that may be useful to include.

      Also recently upgraded Mac from 12.5.0 to 12.5.1

            Assignee:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Reporter:
            felicia.hsieh@mongodb.com Felicia Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: