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

Object has been destroyed after closing connect window during startup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 1.15.1
    • Fix Version/s: 1.16.0-beta.7, 1.15.4
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows, Linux, MacOSX
    • Sprint:
      Iteration Mango Miso

      Description

      If the Compass user closes the connection window during startup (before the input fields render) using the OS window "X" or red dot, the Compass server process is left running. This prevents subsequent Compass launch attempts due to IPC issues.

      The problem has been reported on all three platforms. On MacOSX, the dialog contains the following text.

      A JavaScript error occurred in the main process

      Uncaught Exception:
       Error: Object has been destroyed
       at ipc.respondTo (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/src/main/window-manager.js:154:20)
       at EventEmitter.ipcMain.on.args (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/hadron-ipc/lib/main.js:43:17)
       at emitOne (events.js:121:20)
       at EventEmitter.emit (events.js:211:7)
       at WebContents.<anonymous> (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/browser/api/web-contents.js:286:13)
       at emitTwo (events.js:126:13)
       at WebContents.emit (events.js:214:7)
      

        Attachments

        1. beta8.png
          beta8.png
          42 kB
        2. image-2018-09-07-18-10-11-245.png
          image-2018-09-07-18-10-11-245.png
          152 kB

          Issue Links

            Activity

              People

              Assignee:
              lucas.hrabovsky Lucas Hrabovsky (Inactive)
              Reporter:
              brian.blevins Brian Blevins
              Votes:
              3 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: