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

Object has been destroyed after closing connect window during startup

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

      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)
      

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

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

              Created:
              Updated:
              Resolved: