vellerefond / project-ring

Project management for the Atom editor.
GNU General Public License v2.0
15 stars 8 forks source link

Uncaught TypeError: Cannot read property 'destroy' of undefined #41

Closed fpupor closed 8 years ago

fpupor commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.1.0 System: Unknown Windows Version Thrown From: project-ring package, v0.36.0

Stack Trace

Uncaught TypeError: Cannot read property 'destroy' of undefined

At C:\Users\Felipe\.atom\packages\project-ring\lib\project-ring-view.coffee:129

TypeError: Cannot read property 'destroy' of undefined
  at ProjectRingView.module.exports.ProjectRingView.cancelled (C:\Users\Felipe\.atom\packages\project-ring\lib\project-ring-view.coffee:71:8)
  at ProjectRingView.module.exports.SelectListView.cancel (C:\Users\Felipe\AppData\Local\atom\app-1.1.0\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:263:14)
  at ProjectRingView.module.exports.ProjectRingView.destroy (C:\Users\Felipe\.atom\packages\project-ring\lib\project-ring-view.coffee:68:4)
  at Object.module.exports.add (C:\Users\Felipe\.atom\packages\project-ring\lib\project-ring.coffee:507:20)
  at C:\Users\Felipe\.atom\packages\project-ring\lib\project-ring.coffee:92:8

Commands

     -1:08.1.0 editor:newline (input.hidden-input)
  4x -1:07.2.0 core:move-right (input.hidden-input)
     -1:06.3.0 emmet:insert-formatted-line-break-only (input.hidden-input)
     -1:06.3.0 editor:newline (input.hidden-input)
  4x -1:05.7.0 core:move-up (input.hidden-input)
 28x -1:04.7.0 core:move-right (input.hidden-input)
     -1:02.5.0 emmet:insert-formatted-line-break-only (input.hidden-input)
     -1:02.5.0 editor:newline (input.hidden-input)
     -1:01.5.0 core:move-down (input.hidden-input)
  2x -1:01.1.0 core:select-down (input.hidden-input)
     -1:00.4.0 emmet:expand-abbreviation-with-tab (input.hidden-input)
     -1:00.4.0 snippets:next-tab-stop (input.hidden-input)
     -1:00.4.0 snippets:expand (input.hidden-input)
     -1:00.4.0 editor:indent (input.hidden-input)
     -0:59.7.0 core:move-down (input.hidden-input)
     -0:58.4.0 core:save (input.hidden-input)

Config

{
  "core": {
    "autoHideMenuBar": true,
    "disabledPackages": [
      "open-last-project",
      "project-colorize",
      "calculator",
      "recent-projects",
      "welcome",
      "open-on-github",
      "simple-drag-drop-text",
      "slack-chat",
      "code-links",
      "atom-modify"
    ],
    "projectHome": "P:\\",
    "ignoredNames": [
      "*.css"
    ]
  },
  "project-ring": {}
}

Installed Packages

# User
atom-beautify, v0.28.17
atom-cli-diff, v1.1.0
atom-handlebars, v1.2.0
atom-pair, v2.0.10
audio, v1.5.0
autoclose-html, v0.19.0
autocomplete-html-entities, v0.1.0
autocomplete-paths, v1.0.2
caniuse, v0.5.5
clipboard-history, v0.6.6
color-picker, v2.0.13
compare-files, v0.6.2
editorconfig, v1.2.2
emmet, v2.3.14
external-open, v0.6.1
file-icons, v1.6.11
file-watcher, v0.4.0
filesize, v0.4.1
flex-tool-bar, v0.6.0
git-log, v0.4.1
go-find-references, v1.2.3
highlight-selected, v0.10.1
imdone-atom, v1.1.55
language-diff, v0.3.1
language-svg, v0.9.0
line-diff-details, v1.1.3
linter, v1.10.0
linter-htmlhint, v0.2.1
linter-jshint, v1.2.1
linter-jsonlint, v1.0.1
linter-less, v2.2.0
local-history, v3.2.3
menu-manager, v0.4.3
minimap, v4.16.0
minimap-autohide, v0.10.1
minimap-find-and-replace, v4.3.2
minimap-git-diff, v4.1.8
open-recent, v4.0.1
pdf-view, v0.34.0
pigments, v0.18.1
project-ring, v0.36.0
project-view, v0.2.0
save-session, v0.15.7
sync-settings, v0.6.0
tool-bar, v0.1.9

# Dev
No dev packages
vellerefond commented 8 years ago

I cannot reproduce this. Does it happen often or when trying something specific? Is it possible to update to Atom version 1.2.0 and check if this still happens?

vellerefond commented 8 years ago

Closing since I have had no answer for a while.