Skip to content

Uncaught TypeError: Cannot read property 'file' of undefined #70

@alexindigo

Description

@alexindigo

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.19.0-beta0 x64
Electron: 1.6.9
OS: Mac OS X 10.12.5
Thrown From: atom-sync package 0.7.3

Stack Trace

Uncaught TypeError: Cannot read property 'file' of undefined

At /Users/alex/.atom/packages/atom-sync/lib/atom-sync.coffee:23

TypeError: Cannot read property 'file' of undefined
    at /packages/atom-sync/lib/atom-sync.coffee:23:86)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:265:35)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:3:65
    at Object.didConfirmSelection (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/command-palette/lib/command-palette-view.js:106:35)
    at SelectListView.confirmSelection (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-select-list/src/select-list-view.js:313:26)
    at SelectListView.didClickItem (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-select-list/src/select-list-view.js:228:16)
    at ListItemView.onclick (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-select-list/src/select-list-view.js:168:37)
    at ListItemView.didClick (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-select-list/src/select-list-view.js:361:16)

Commands

     -7:04.6.0 core:move-down (input.hidden-input)
     -7:04.0 core:move-left (input.hidden-input)
  4x -7:03.6.0 core:select-left (input.hidden-input)
     -7:01.2.0 core:move-down (input.hidden-input)
  3x -7:00.9.0 core:move-left (input.hidden-input)
     -3:22.4.0 editor:consolidate-selections (input.hidden-input)
     -3:22.4.0 core:cancel (input.hidden-input)
     -3:13.3.0 core:move-down (input.hidden-input)
     -3:12.9.0 core:move-up (input.hidden-input)
     -3:12.7.0 core:move-left (input.hidden-input)
  3x -3:12.4.0 core:select-left (input.hidden-input)
     -2:56.5.0 copy-filename:copy-tree-view-name (span.name.icon.icon-file-directory)
  3x -2:54.9.0 core:paste (input.hidden-input)
  2x -0:41.6.0 core:save (input.hidden-input)
     -0:20.2.0 command-palette:toggle (div.tool-panel.tree-view)
     -0:12.1.0 atom-sync:upload-project (div.tool-panel.tree-view)

Non-Core Packages

atom-alignment 0.13.0 
atom-beautify 0.30.3 
atom-format-lua 0.1.5 
atom-handlebars 1.3.0 
atom-material-syntax 1.0.6 
atom-material-ui 2.0.4 
atom-quoteswap 0.4.6 
atom-react-native-autocomplete 0.0.27 
atom-sync 0.7.3 
auto-update-packages 1.0.1 
blame 0.12.0 
busy-signal 1.4.3 
copy-filename 1.1.0 
docblockr 0.10.5 
editorconfig 2.2.2 
file-icons 2.1.8 
import-sf-mono 1.0.1 
intentions 1.1.2 
language-apache 1.7.0 
language-docker 1.1.8 
language-gradle 0.0.3 
language-htaccess 0.1.1 
language-ini 1.19.0 
language-javascript-jsx 0.3.7 
language-lua 0.9.11 
language-nginx 0.8.0 
language-smarty 1.8.0 
linter 2.2.0 
linter-eslint 8.2.1 
linter-php 1.3.2 
linter-sass-lint 1.7.4 
linter-ui-default 1.6.2 
multirow-tabs 0.3.3 
open-in-browser 0.5.2 
project-manager 3.3.5 
project-plus 1.0.0 
react 0.16.2 
red-wavy-underline 0.3.3 
simple-copy-path 1.0.0 
sort-lines 0.14.0 
Stylus 3.1.1 
terminal-panel 1.14.1 
tool-bar 1.1.0 
tool-bar-atom 1.7.0 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions