atom-minimap-codeglance icon indicating copy to clipboard operation
atom-minimap-codeglance copied to clipboard

Uncaught TypeError: Cannot read property 'dispose' of undefined

Open anjerodesu opened this issue 10 years ago • 3 comments

[Enter steps to reproduce below:]

  1. Disabling code glance using gear icon of mini map
  2. ...

Atom Version: 1.0.11 System: Mac OS X 10.10.5 Thrown From: minimap-codeglance package, v0.4.2

Stack Trace

Uncaught TypeError: Cannot read property 'dispose' of undefined

At /Users/zyyx-angelo/.atom/packages/minimap-codeglance/lib/main.js:78

TypeError: Cannot read property 'dispose' of undefined
    at Object.deactivatePlugin (/Users/zyyx-angelo/.atom/packages/minimap-codeglance/lib/main.js:78:31)
    at Main.module.exports.PluginManagement.updatesPluginActivationState (/Users/zyyx-angelo/.atom/packages/minimap/lib/mixins/plugin-management.coffee:95:16)
    at Main.module.exports.PluginManagement.togglePluginActivation (/Users/zyyx-angelo/.atom/packages/minimap/lib/mixins/plugin-management.coffee:68:19)
    at /Users/zyyx-angelo/.atom/packages/minimap/lib/minimap-quick-settings-element.coffee:266:23
    at HTMLLIElement.<anonymous> (/Users/zyyx-angelo/.atom/packages/minimap/lib/minimap-quick-settings-element.coffee:273:18)

Commands

     -6:11.1.0 application:open (atom-text-editor.editor.is-focused)
  2x -4:07.0 core:backspace (atom-text-editor.editor.is-focused)
     -2:54.4.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-one-dark-ui)
     -0:17.1.0 settings-view:open (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "git-difftool",
      "git-plus",
      "package-sync",
      "ruby-test",
      "refactor",
      "wrap-guide"
    ],
    "themes": [
      "one-dark-ui",
      "base16-tomorrow-dark-theme"
    ]
  },
  "minimap-codeglance": {}
}

Installed Packages

# User
Stylus, v1.2.1
docblockr, v0.7.3
file-icons, v1.6.9
highlight-selected, v0.10.1
language-generic-config, v0.2.0
language-latex, v0.6.1
latex, v0.25.1
linter-javac, v1.2.0
minimap, v4.13.2
minimap-codeglance, v0.4.2
minimap-git-diff, v4.1.8
webbox-color, v0.5.8
wordcount, v2.3.0

# Dev
No dev packages

anjerodesu avatar Sep 07 '15 03:09 anjerodesu

Hi, I'm sorry for the late reply... I've been really busy lately. I'll check this out when I've got the time, maybe this weekend.

olmokramer avatar Sep 24 '15 09:09 olmokramer

I can't seem to reproduce this... Were you doing anything specific at the time the crash happened, like updating packages (minimap maybe)?

olmokramer avatar Sep 27 '15 17:09 olmokramer

@anjerodesu 🕐

davisonio avatar Mar 29 '17 20:03 davisonio