atom / tree-view

🌳 Explore and open project files in Atom
MIT License
561 stars 364 forks source link

Uncaught TypeError: Cannot read property 'split' of undefined #1353

Open BoneTone opened 4 years ago

BoneTone commented 4 years ago

[Enter steps to reproduce:]

I cannot recall precisely what I was doing at the time this occurred, but I had 3 different folders added to the project in the tree view, and a half dozen or so files open.

Atom: 1.50.0 x64 Electron: 5.0.13 OS: Microsoft Windows 10 Pro Thrown From: tree-view package 0.228.0

Stack Trace

Uncaught TypeError: Cannot read property 'split' of undefined

At C:\Users\username\AppData\Local\atom\app-1.50.0\resources\app.asar\node_modules\tree-view\node_modules\minimatch\minimatch.js:842

TypeError: Cannot read property 'split' of undefined
    at Minimatch.match (/app.asar/node_modules/tree-view/node_modules/minimatch/minimatch.js:842:11)
    at minimatch (/app.asar/node_modules/tree-view/node_modules/minimatch/minimatch.js:129:42)
    at ColorProject.module.exports.ColorProject.isBufferIgnored (/packages/pigments/lib/color-project.coffee:323:44)
    at ColorProject.module.exports.ColorProject.updateColorBuffers (/packages/pigments/lib/color-project.coffee:301:11)
    at /packages/pigments/lib/color-project.coffee:71:8
    at ~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:334962
    at ~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:335143
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:1190202)
    at Emitter.emit (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:1191643)
    at Config.emitChangeEvent (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:337631)
    at Config.setRawValue (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:334871)
    at Config.set (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:330665)
    at SettingsPanel.set (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:14:2553715)
    at ~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:14:2555359
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:1190202)
    at Emitter.emit (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:1191643)
    at TextBuffer.emitDidStopChangingEvent (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:505509)
    at later (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:14:104700)

Commands

     -2:54.5.0 editor:consolidate-selections (input.hidden-input)
     -2:54.5.0 core:cancel (input.hidden-input)
     -2:52.4.0 core:delete (input.hidden-input)
     -2:48.7.0 core:backspace (input.hidden-input)
     -2:48.7.0 editor:consolidate-selections (input.hidden-input)
     -2:48.7.0 core:cancel (input.hidden-input)
     -2:45.7.0 core:backspace (input.hidden-input)
     -2:42.9.0 editor:consolidate-selections (input.hidden-input)
     -2:42.9.0 core:cancel (input.hidden-input)
     -2:38.9.0 core:backspace (input.hidden-input)
     -2:38.9.0 editor:consolidate-selections (input.hidden-input)
     -2:38.9.0 core:cancel (input.hidden-input)
     -2:33.1.0 editor:select-to-first-character-of-line (input.hidden-input)
     -2:23.2.0 core:select-all (input.hidden-input)
     -2:21.6.0 editor:move-to-end-of-screen-line (input.hidden-input)
undefined -2:21.2.0 core:backspace (input.hidden-input)

Non-Core Packages

aemi-dark-ui 1.0.3 
apex-adapt-dark-ui 0.4.2 
asciidoc-preview 2.13.1 
atom-beautify 0.33.4 
atom-material-syntax 1.0.8 
atom-material-syntax-dark 1.0.0 
atom-material-ui 2.1.3 
atom-one-dark-syntax 1.13.0 
batman-syntax 1.1.0 
bonetone-syntax 0.1.0 
bright-dark-ui 0.5.1 
busy-signal 2.0.1 
chester-atom-syntax 0.3.2 
color-picker 2.3.0 
color-tabs 0.1.8 
column-select 1.0.1 
dark-flat-ui 1.2.4 
dark-syntax 0.0.2 
darker-one-dark-syntax 1.1.0 
duotone-dark-syntax 2.1.0 
duotone-darksky 1.1.5 
file-icons 2.1.42 
firewatch-syntax 1.1.1 
genesis-syntax 1.0.9 
genesis-ui 0.5.0 
gentle-dark-ui 1.0.5 
ghar-dark-syntax 2.0.0 
git-diff-details 1.4.0 
glacier-dark-ui 1.5.0 
grammar-dev-tools 0.4.0 
grammar-tab-colors 0.2.8 
highlight-selected 0.17.0 
intentions 1.1.5 
isotope-ui 2.8.5 
jovian-night-syntax 0.3.4 
language-diff 0.7.0 
language-markdown 0.37.0 
language-patch 1.2.0 
language-vba 0.2.5 
language-vbscript 0.9.0 
linter 2.3.1 
linter-markdown 5.2.11 
linter-stylint 2.3.0 
linter-ui-default 1.8.1 
markdown-image-paste 2.5.2 
markdown-pdf 2.3.3 
markdown-preview-plus 4.5.0 
markdown-scroll-sync 2.1.2 
markdown-themeable-pdf 1.2.1 
markdown-toc 0.4.2 
markdown-writer 2.11.10 
material-ui 1.0.10 
minimal-syntax-dark 0.12.4 
minimap 4.29.9 
minimap-bookmarks 0.4.2 
minimap-codeglance 0.4.7 
minimap-cursorline 0.2.0 
minimap-find-and-replace 4.5.2 
minimap-git-diff 4.3.1 
minimap-pigments 0.2.2 
minimap-plus 4.32.0 
minimap-quick-highlight 1.0.1 
minimap-selection 4.5.0 
minimap-split-diff 0.3.7 
monokai-dark 1.5.0 
monokai-seti 0.9.0 
nv-dark-syntax 1.4.1 
one-dark-mini-ui 2.0.5 
one-dark-shade-ui 0.1.0 
outlander-syntax 2.0.0 
pacific-dark 0.5.0 
pigments 0.40.2 
preview-plus 1.2.7 
print-atom 0.1.1 
print-code 0.7.1 
pubster-syntax 3.1.1 
quick-highlight 0.13.0 
release-notes 0.53.0 
seti-syntax 1.2.0 
seti-ui 1.11.0 
slim-dark-ui 0.12.0 
snow-dark-syntax 0.1.1 
sort-lines 0.19.0 
spacegray-dark-ui 0.13.0 
split-diff 1.6.1 
spooki-kai 0.1.0 
teletype 0.13.4 
tidy-markdown 3.0.1 
tool-bar 1.3.0 
tool-bar-markdown-writer 0.5.1 
two-dark-ui 1.0.2 
vsc-dark-syntax 0.0.3 
zhk-dark-syntax 0.3.1