jneuendorf / atom-code-annotations

Attach any content to any line of your code in Atom
https://atom.io/packages/code-annotations
MIT License
7 stars 1 forks source link

Uncaught TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type... #33

Open Yuantiemperor opened 5 years ago

Yuantiemperor commented 5 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.34.0 x64 Electron: 2.0.16 OS: Unknown Windows version Thrown From: code-annotations package 3.3.0

Stack Trace

Uncaught TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.

At C:\Users\Yuanti\.atom\packages\code-annotations\dist\main.js:254

TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.
    at /packages/code-annotations/dist/main.js:254:78277)

Commands

Non-Core Packages

atom-beautify 0.33.4 
atom-bootstrap3 1.2.12 
atom-html-preview 0.2.6 
atom-js-code-to-svg-to-preview 0.1.0 
atom-python-run 0.9.7 
autoclose-html 0.23.0 
autocomplete-java 1.2.7 
autocomplete-python 1.11.0 
busy-signal 2.0.0 
code-annotations 3.3.0 
file-icons 2.1.27 
folded-code-preview 0.2.5 
gpp-compiler 3.0.7 
highlight-line 0.12.0 
highlight-selected 0.14.0 
intentions 1.1.5 
jquery-snippets 11.0.0 
language-openedge-abl 0.6.0 
linter 2.3.0 
linter-gcc 0.7.1 
linter-htmlhint 1.5.1 
linter-OpenEdge 0.30.0 
linter-ui-default 1.7.1 
minimap 4.29.9 
minimap-bookmarks 0.4.2 
minimap-cursorline 0.2.0 
minimap-find-and-replace 4.5.2 
minimap-git-diff 4.3.1 
minimap-highlight-selected 4.6.1 
minimap-pigments 0.2.2 
minimap-selection 4.5.0 
pigments 0.40.2 
python-indent 1.1.6 
python-tools 0.6.9 
svg-preview 0.14.0 
twilightsparkle-syntax 1.0.0 
twilightsparkle-ui 0.3.0 
jneuendorf commented 5 years ago

Hey @Yuantiemperor, thanks for your bug report. Is this bug reproducible? If so, can you check if this log message appears in Atom Dev Mode (run atom --dev <PATH_TO_YOUR_PROJECT> on the command line and then open the dev tools by pressing Ctrl + I and select the Console tab)?

Got an error while observing the tree view. Trying again in 5 seconds.

jneuendorf commented 5 years ago

Fixed as of v3.3.1

jneuendorf commented 5 years ago

The less fragile version since v3.3.1 But the new warning appears in my Atom (which has tree-view setup normally and usually works) when I ran atom /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs.

jneuendorf commented 5 years ago

Empty Atom windows could also cause this...