coderoad / atom-coderoad-deprecated

Interactive tutorial plugin for Atom
https://coderoad.github.io
Apache License 2.0
55 stars 5 forks source link

Uncaught TypeError: Cannot read property 'getHostNode' of null #8

Closed henrymzhao closed 8 years ago

henrymzhao commented 8 years ago

[Enter steps to reproduce below:]

  1. Install coderoad
  2. Install dependencies/setup
  3. Start -> FUNCTIONAL-SCHOOL
  4. Choose first lesson, Start
  5. Top right menu button -> Progress
  6. Close coderoad

Atom Version: 1.8.0 System: Microsoft Windows 10 Pro Thrown From: atom-coderoad package, v0.10.6

Stack Trace

Uncaught TypeError: Cannot read property 'getHostNode' of null

At C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactReconciler.js:67

TypeError: Cannot read property 'getHostNode' of null
    at Object.ReactReconciler.getHostNode (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactReconciler.js:67:28)
    at [object Object].ReactCompositeComponentMixin.getHostNode (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactCompositeComponent.js:379:28)
    at Object.ReactReconciler.getHostNode (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactReconciler.js:67:29)
    at [object Object].ReactCompositeComponentMixin.getHostNode (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactCompositeComponent.js:379:28)
    at Object.ReactReconciler.getHostNode (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactReconciler.js:67:29)
    at [object Object].ReactCompositeComponentMixin.getHostNode (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactCompositeComponent.js:379:28)
    at Object.ReactReconciler.getHostNode (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactReconciler.js:67:29)
    at ReactDOMComponent.ReactMultiChild.Mixin._updateChildren (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactMultiChild.js:346:42)
    at ReactDOMComponent.ReactMultiChild.Mixin.updateChildren (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactMultiChild.js:303:12)
    at ReactDOMComponent.Mixin._updateDOMChildren (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactDOMComponent.js:938:12)
    at ReactDOMComponent.Mixin.updateComponent (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactDOMComponent.js:767:10)
    at ReactDOMComponent.Mixin.receiveComponent (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactDOMComponent.js:723:10)
    at Object.ReactReconciler.receiveComponent (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactReconciler.js:131:22)
    at [object Object].ReactCompositeComponentMixin._updateRenderedComponent (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactCompositeComponent.js:737:23)
    at [object Object].ReactCompositeComponentMixin._performComponentUpdate (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactCompositeComponent.js:715:10)
    at [object Object].ReactCompositeComponentMixin.updateComponent (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactCompositeComponent.js:634:12)
    at [object Object].ReactCompositeComponentMixin.receiveComponent (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactCompositeComponent.js:534:10)
    at Object.ReactReconciler.receiveComponent (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactReconciler.js:131:22)
    at Object.ReactChildReconciler.updateChildren (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactChildReconciler.js:94:25)
    at ReactDOMComponent.ReactMultiChild.Mixin._reconcilerUpdateChildren (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactMultiChild.js:218:28)
    at ReactDOMComponent.ReactMultiChild.Mixin._updateChildren (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactMultiChild.js:315:31)
    at ReactDOMComponent.ReactMultiChild.Mixin.updateChildren (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactMultiChild.js:303:12)
    at ReactDOMComponent.Mixin._updateDOMChildren (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactDOMComponent.js:938:12)
    at ReactDOMComponent.Mixin.updateComponent (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactDOMComponent.js:767:10)
    at ReactDOMComponent.Mixin.receiveComponent (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactDOMComponent.js:723:10)
    at Object.ReactReconciler.receiveComponent (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactReconciler.js:131:22)
    at Object.ReactChildReconciler.updateChildren (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactChildReconciler.js:94:25)
    at ReactDOMComponent.ReactMultiChild.Mixin._reconcilerUpdateChildren (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactMultiChild.js:218:28)
    at ReactDOMComponent.ReactMultiChild.Mixin._updateChildren (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactMultiChild.js:315:31)
    at ReactDOMComponent.ReactMultiChild.Mixin.updateChildren (C:\Users\Henry_000\.atom\packages\atom-coderoad\node_modules\react\lib\ReactMultiChild.js:303:12)

Commands

     -2:39.5.0 core:close (div.panels)
     -2:38.7.0 platformio-ide-terminal:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -2:31.7.0 cr-viewer:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -2:14.2.0 platformio-ide-terminal:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
 71x -1:51 core:move-left (atom-pane.pane.active)
     -1:48.2.0 core:confirm (atom-pane.pane.active)
  3x -1:42.1.0 platformio-ide-terminal:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "disabledPackages": [
      "browser-plus"
    ]
  }
}

Installed Packages

# User
atom-coderoad, v0.10.6
autoclose-html, v0.23.0
autocomplete-clang, v0.9.4
build, v0.65.0
busy, v0.5.0
core-coderoad, v0.5.0
language-ini, v1.16.0
linter, v1.11.14
linter-gcc, v0.6.14
platformio-ide, v1.3.1
platformio-ide-terminal, v2.1.1
sync-settings, v0.7.2
tool-bar, v1.0.0

# Dev
No dev packages
ShMcK commented 8 years ago

I haven't been able to replicate this error. The issue may be Windows specific.

Let me know if the issue persists.

henrymzhao commented 8 years ago

It appears the bug was fixed when you fixed another bug. All's working well!