OmniSharp / atom-json-schema

Json schema intellisense and validation for Atom
MIT License
43 stars 15 forks source link

Uncaught TypeError: Cannot read property 'null' of undefined #25

Open openroc opened 7 years ago

openroc commented 7 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.8.0 System: Mac OS X 10.11.5 Thrown From: json-schema package, v0.1.15

Stack Trace

Uncaught TypeError: Cannot read property 'null' of undefined

At /Users/roc/Dropbox/Mackup/.atom/packages/json-schema/node_modules/react/lib/ReactMount.js:636

TypeError: Cannot read property 'null' of undefined
    at Object.ReactMount.findReactContainerForID (/Users/roc/Dropbox/Mackup/.atom/packages/json-schema/node_modules/react/lib/ReactMount.js:636:50)
    at findParent (/Users/roc/Dropbox/Mackup/.atom/packages/json-schema/node_modules/react/lib/ReactEventListener.js:39:30)
    at handleTopLevelImpl (/Users/roc/Dropbox/Mackup/.atom/packages/json-schema/node_modules/react/lib/ReactEventListener.js:74:16)
    at ReactDefaultBatchingStrategyTransaction.Mixin.perform (/Users/roc/Dropbox/Mackup/.atom/packages/json-schema/node_modules/react/lib/Transaction.js:134:20)
    at Object.ReactDefaultBatchingStrategy.batchedUpdates (/Users/roc/Dropbox/Mackup/.atom/packages/json-schema/node_modules/react/lib/ReactDefaultBatchingStrategy.js:66:19)
    at Object.batchedUpdates (/Users/roc/Dropbox/Mackup/.atom/packages/json-schema/node_modules/react/lib/ReactUpdates.js:110:20)
    at ReactEventListener.dispatchEvent (/Users/roc/Dropbox/Mackup/.atom/packages/json-schema/node_modules/react/lib/ReactEventListener.js:174:20)
    at /Users/roc/.atom/packages/atom-material-ui/lib/tabs-settings.js:45:31
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:346:27
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:282:22)
    at Pane.module.exports.Pane.activateItemAtIndex (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:414:19)
    at Pane.module.exports.Pane.activatePreviousItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:379:21)
    at Pane.module.exports.Pane.removeItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:564:16)
    at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:637:16)
    at atom-tabs.TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:688:17)

Commands

     -0:03.4.0 application:new-file (ul.list-inline.tab-bar.inset-panel)

Config

{
  "core": {
    "disabledPackages": [
      "autoclose-html",
      "command-logger",
      "compare-files",
      "editor-stats",
      "atom-javascript-snippets",
      "node-debugger",
      "tag",
      "linter-cpplint",
      "linter-golint",
      "linter-gjslint",
      "jslint",
      "atom-jshint",
      "vim-mode",
      "omnisharp-atom",
      "Zen",
      "git-time-machine",
      "linter-jshint"
    ],
    "ignoredNames": [
      ".pyc",
      ".meta",
      ".a",
      ".o",
      ".DS_Store"
    ],
    "projectHome": "/Users/roc/Code",
    "themes": [
      "seti-ui",
      "monokai"
    ]
  }
}

Installed Packages

# User
atom-html-preview, v0.1.21
atom-material2-snippets, v2.0.0
atom-yeoman, v0.3.15
color-picker, v2.2.2
css-snippets, v0.9.0
es6-snippets, v0.3.0
htmlhint, v1.1.4
javascript-snippets, v1.2.1
jsformat, v0.9.3
json-schema, v0.1.15
linter, v1.11.14
linter-eslint, v7.2.4
linter-pylint, v1.2.1
merge-conflicts, v1.4.4
minimap, v4.24.7
monokai, v0.18.0
pigments, v0.31.2
platformio-ide, vundefined
project-manager, v2.9.7
seti-ui, v1.3.1
vue-snippets, v0.6.0
white-cursor, v0.6.0

# Dev
No dev packages
RyanCCollins commented 7 years ago

This also is happening with me. The frustrating part is that it was happening with another package, TypeScript to be exact. I disabled the typescript package and a day later am seeing this issue come up again. The side effect is the constant stream of error messages that block my view of Atom.

I am not sure if this is the right place to report it, but hopefully someone can help to explain what causes this very annoying bug and how I might be able to fix it. Thank you so very much.