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 'add' of null #754

Closed
Bhanu-12 opened this issue Aug 22, 2018 · 0 comments
Closed

Uncaught TypeError: Cannot read property 'add' of null #754

Bhanu-12 opened this issue Aug 22, 2018 · 0 comments
Labels
unconfirmed-bug Unreproducible error observed by user, or an unclear bug requiring further investigation.

Comments

@Bhanu-12
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.29.0 x64
Electron: 2.0.5
OS: Microsoft Windows 10 Home Single Language
Thrown From: file-icons package 2.1.24

Stack Trace

Uncaught TypeError: Cannot read property 'add' of null

At C:\Users\123\.atom\packages\file-icons\lib\service\icon-service.js:94

TypeError: Cannot read property 'add' of null
    at /packages/file-icons/lib/service/icon-service.js:94:30)
    at IconServices.updateFileIcon (~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/tree-view/lib/get-icon-services.js:85:37)
    at FileView.module.exports.FileView.updateIcon (~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/tree-view/lib/file-view.js:45:31)
    at new FileView (~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/tree-view/lib/file-view.js:30:18)
    at DirectoryView.module.exports.DirectoryView.createViewForEntry (~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/tree-view/lib/directory-view.js:135:22)
    at ~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/tree-view/lib/directory-view.js:108:32
    at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/event-kit/lib/emitter.js:27:20)
    at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/event-kit/lib/emitter.js:156:34)
    at Directory.module.exports.Directory.reload (~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/tree-view/lib/directory.js:395:35)
    at Directory.module.exports.Directory.expand (~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/tree-view/lib/directory.js:408:18)
    at DirectoryView.module.exports.DirectoryView.expand (~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/tree-view/lib/directory-view.js:174:30)
    at DirectoryView.module.exports.DirectoryView.toggleExpansion (~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/tree-view/lib/directory-view.js:160:27)
    at TreeView.module.exports.TreeView.entryClicked (~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/tree-view/lib/tree-view.js:618:30)
    at HTMLDivElement.<anonymous> (~/AppData/Local/atom/app-1.29.0/resources/app/node_modules/tree-view/lib/tree-view.js:351:32)

Commands

     -3:57.4.0 core:move-down (div.panels-item)
  3x -3:16.3.0 core:close (input.hidden-input)
     -3:04.7.0 tree-view:add-file (div.tool-panel.tree-view)
     -2:52.9.0 core:confirm (input.hidden-input)
     -2:41.1.0 tree-view:add-file (span.name.icon.icon-file-directory)
     -2:30.8.0 core:confirm (input.hidden-input)
     -2:26.2.0 settings-view:open (input.hidden-input)

Non-Core Packages

ask-stack 2.2.0 
atom-beautify 0.33.0 
atom-icons 0.2.2 
atom-live-server 2.3.0 
atom-quokka 1.0.83 
autocomplete 0.47.0 
autocomplete-html-entities 0.2.0 
bracket-colorizer 1.2.0 
browser-plus 0.0.98 
color-indent 0.5.3 
emmet 2.4.3 
faker-atom 1.0.0 
file-icons 2.1.24 
highlight-selected 0.14.0 
isotope-ui 2.8.5 
minimap 4.29.8 
minimap-highlight-selected 4.6.1 
minimap-pigments 0.2.2 
monokai-neo-syntax 1.3.2 
oceanic-next 1.0.0 
pigments 0.40.2 
project-manager 3.3.6 
todo 0.6.0 
trailing-spaces 0.4.0 
wakatime 7.0.4 
@Alhadis Alhadis added bug Confirmed defect in package logic, deprecation notices, and PRs which fix them. unconfirmed-bug Unreproducible error observed by user, or an unclear bug requiring further investigation. and removed bug Confirmed defect in package logic, deprecation notices, and PRs which fix them. labels Oct 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unconfirmed-bug Unreproducible error observed by user, or an unclear bug requiring further investigation.
Projects
None yet
Development

No branches or pull requests

2 participants