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 'save' of undefined #5

Open
cadeocadu opened this issue Oct 6, 2017 · 1 comment
Open

Comments

@cadeocadu
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.21.0 x64
Electron: 1.6.9
OS: elementary OS
Thrown From: language-nxc package 3.6.1

Stack Trace

Uncaught TypeError: Cannot read property 'save' of undefined

At /home/labrede/.atom/packages/language-nxc/lib/main.coffee:42

TypeError: Cannot read property 'save' of undefined
    at Object.nbc (/packages/language-nxc/lib/main.coffee:42:41)
    at Object.upload (/packages/language-nxc/lib/main.coffee:28:6)
    at /packages/language-nxc/lib/main.coffee:22:25)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:381:36)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app/src/window-event-handler.js:3:65)

Commands

  2x -8:02.3.0 core:backspace (input.hidden-input)
     -7:58.5.0 core:move-left (input.hidden-input)
     -7:57.8.0 editor:newline (input.hidden-input)
     -7:56.7.0 core:move-up (input.hidden-input)
     -1:48.2.0 nxc:upload (div.tool-panel.tree-view)
     -1:07.3.0 package-generator:generate-package (a.)
     -1:01.8.0 dev-live-reload:reload-all (a.)
     -0:47 window:toggle-menu-bar (a.)
  2x -0:44.3.0 window:toggle-full-screen (a.)
  2x -0:19.5.0 nxc:upload (input.hidden-input)

Non-Core Packages

language-nxc 3.6.1 
@nloomans
Copy link
Owner

nloomans commented Oct 6, 2017

Thanks for reporting the issue! But I'm having trouble reproducing this error. I was, hower, able to reproduce this when opening a non-savable item (for example, the settings menu) and attempting to compile.

That is indeed a bug and should be handled properly, this will be fixed in the next release (probably within one day).

Was this error indeed triggered while in a non-savable item?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants