Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'isUnloading' of undefined #24

Closed
mehcode opened this issue Mar 9, 2016 · 0 comments
Closed
Labels

Comments

@mehcode
Copy link
Owner

mehcode commented Mar 9, 2016

[Enter steps to reproduce below:]

Switch to another project or close the current project with any open buffers (tabs).

Atom Version: 1.7.0-dev-bf5dea0
System: linux 4.4.3-1-ARCH
Thrown From: project-plus package, v0.7.2

Stack Trace

Uncaught TypeError: Cannot read property 'isUnloading' of undefined

At /usr/local/share/atom/resources/app.asar/src/project.js:135

TypeError: Cannot read property 'isUnloading' of undefined
    at /usr/local/share/atom/resources/app.asar/src/project.js:135:36
    at Array.map (native)
    at Project.module.exports.Project.serialize (/usr/local/share/atom/resources/app.asar/src/project.js:132:41)
    at AtomEnvironment.module.exports.AtomEnvironment.serialize (/usr/local/share/atom/resources/app.asar/src/atom-environment.js:766:31)
    at atomSerialize (/home/ryan/Workspace/project-plus/lib/util.coffee:188:15)
    at saveCurrentState (/home/ryan/Workspace/project-plus/lib/util.coffee:15:18)
    at Object.exports.closeProject (/home/ryan/Workspace/project-plus/lib/util.coffee:280:3)
    at atom-workspace.subscriptions.add.atom.commands.add.project-plus:close (/home/ryan/.atom/packages/project-plus/lib/project-plus.coffee:41:14)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/local/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at /usr/local/share/atom/resources/app.asar/src/command-registry.js:3:61
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/usr/local/share/atom/resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/usr/local/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/usr/local/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/local/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at /usr/local/share/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/local/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:570:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/local/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:378:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/local/share/atom/resources/app.asar/src/window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (/usr/local/share/atom/resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -0:11.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:10.3.0 project-plus:toggle-project-finder (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-vivid-syntax.theme-one-dark-ui)
     -0:09.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  3x -0:09.4.0 core:close (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-vivid-syntax.theme-one-dark-ui)
     -0:08.1.0 project-plus:toggle-project-finder (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-vivid-syntax.theme-one-dark-ui)
     -0:07.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:04.3.0 project-plus:toggle-project-finder (atom-text-editor.editor.is-focused)
     -0:04.3.0 advanced-open-file:toggle (atom-text-editor.editor.mini.is-focused)
     -0:04.0 core:confirm (atom-text-editor.path-input.editor.mini.is-focused)
     -0:03.3.0 editor:consolidate-selections (atom-text-editor.path-input.editor.mini.is-focused)
     -0:03.3.0 core:cancel (atom-text-editor.path-input.editor.mini.is-focused)
     -0:03.0 project-plus:toggle-project-finder (atom-text-editor.editor.is-focused)
     -0:02.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:01.3.0 command-palette:toggle (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-vivid-syntax.theme-one-dark-ui)
     -0:00.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:00.4.0 project-plus:close (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-vivid-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "audioBeep": false,
    "autoHideMenuBar": true,
    "disabledPackages": [
      "styleguide"
    ],
    "themes": [
      "one-dark-ui",
      "one-dark-vivid-syntax"
    ]
  }
}

Installed Packages

# User
Stylus, v3.0.0
advanced-open-file, v0.14.3
atom-import-sort, v0.6.0
file-icons, v1.6.18
language-babel, v2.15.5
linter, v1.11.3
linter-stylint, v2.1.2
minimap, v4.20.0
one-dark-vivid-syntax, v1.1.2
pigments, v0.24.4
project-plus, v0.7.2
remember-file-positions, v0.2.2

# Dev
No dev packages
@mehcode mehcode added the bug label Mar 9, 2016
@mehcode mehcode closed this as completed in 67534a4 Mar 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant