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

View DevTools gives uncaught javascript exception

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.17.0, 1.18.0
    • Affects Version/s: 1.16.3
    • Component/s: None
    • None
    • Iteration Takaioko

      After upgrading to Compass 1.16.3 stable, the View: Toggle DevTools menu action gives an uncaught javascript exception.

      A JavaScript error occurred in the main process

      Uncaught Exception:
      TypeError: Cannot read property 'toggleDevTools' of null
      at click (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/src/main/menu.js:293:43)
      at MenuItem.click (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/browser/api/menu-item.js:55:9)
      at Function.executeCommand (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/browser/api/menu.js:29:13)

      However, on my system this only seems to have been a problem on the first run of Compass. After restarting Compass, I am unable to reproduce the error again.

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            brian.blevins@mongodb.com Brian Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: