atom-community / atom-community/autocomplete-paths
Uncaught TypeError: Cannot set property 'innerHTML' of null
- Dominant language
- JavaScript
- Stars
- 152
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
[Enter steps to reproduce:]
1. Added public(my build folder) and node_modules to Ignored Names in core Atom settings
**Atom**: 1.22.1 x64
**Electron**: 1.6.15
**OS**: Ubuntu 16.04.3
**Thrown From**: [autocomplete-paths](https://github.com/atom-community/autocomplete-paths) package 2.12.1
### Stack Trace
Uncaught TypeError: Cannot set property 'innerHTML' of null
```
At /home/amostap/.atom/packages/autocomplete-paths/lib/autocomplete-paths.js:88
TypeError: Cannot set property 'innerHTML' of null
at /packages/autocomplete-paths/lib/autocomplete-paths.js:88:39
```
### Commands
```
-2:20 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
-1:51.1.0 command-palette:toggle (atom-pane.pane)
-1:49 core:confirm (input.hidden-input)
-1:49 settings-view:open (atom-pane.pane)
```
### Non-Core Packages
```
atom-css-comb 3.3.1
atom-updater-linux 0.1.4
autocomplete-modules 1.8.0
autocomplete-paths 2.12.1
busy-signal 1.4.3
color-picker 2.2.5
emmet 2.4.3
file-icons 2.1.14
fonts 3.0.3
git-blame 1.3.1
glowing-cursor 0.1.2
highlight-selected 0.13.1
intentions 1.1.5
language-babel 2.79.0
linter 2.2.0
linter-eslint 8.4.0
linter-jsonlint 1.3.0
linter-ui-default 1.6.10
minimap 4.29.7
minimap-cursorline 0.2.0
minimap-git-diff 4.3.1
minimap-highlight-selected 4.6.1
minimap-linter 2.1.3
minimap-pigments 0.2.2
pigments 0.40.2
react-snippets 1.0.1
toggle-quotes 1.0.1
```
Contributor guide
Research direction
Start by reading lib/autocomplete-paths.js at line 88 and reproduce the error after adding public and node_modules to Atom's Ignored Names. Determine why the target element is null and verify that the reported settings workflow no longer produces an uncaught TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100