Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lefta opened this issue Apr 28, 2016 · 1 comment
Open

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

lefta opened this issue Apr 28, 2016 · 1 comment

Comments

@lefta
Copy link

lefta commented Apr 28, 2016

When I open a file from the system file manager if a project is already open in Atom, I keep getting this error popping each time I change the cursor position or type in text, even after I closed the file. It is not blocking but very annoying, and the only way to get rid of this is to restart Atom.

Atom Version: 1.8.0-beta2
System: "Gentoo Base
Thrown From: json-schema package, v0.1.15

Stack Trace

Uncaught TypeError: Cannot read property 'null' of undefined

At /home/cedric/.atom/packages/json-schema/node_modules/react/lib/ReactMount.js:636

TypeError: Cannot read property 'null' of undefined
    at Object.ReactMount.findReactContainerForID (/home/cedric/.atom/packages/json-schema/node_modules/react/lib/ReactMount.js:636:50)
    at findParent (/home/cedric/.atom/packages/json-schema/node_modules/react/lib/ReactEventListener.js:39:30)
    at handleTopLevelImpl (/home/cedric/.atom/packages/json-schema/node_modules/react/lib/ReactEventListener.js:74:16)
    at ReactDefaultBatchingStrategyTransaction.Mixin.perform (/home/cedric/.atom/packages/json-schema/node_modules/react/lib/Transaction.js:134:20)
    at Object.ReactDefaultBatchingStrategy.batchedUpdates (/home/cedric/.atom/packages/json-schema/node_modules/react/lib/ReactDefaultBatchingStrategy.js:66:19)
    at Object.batchedUpdates (/home/cedric/.atom/packages/json-schema/node_modules/react/lib/ReactUpdates.js:110:20)
    at ReactEventListener.dispatchEvent (/home/cedric/.atom/packages/json-schema/node_modules/react/lib/ReactEventListener.js:174:20)

Commands

     -0:18.1.0 project-plus:toggle-project-finder (atom-text-editor.editor.is-focused)
     -0:04.4.0 core:backspace (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "autoHideMenuBar": true,
    "customFileTypes": {
      "source.cpp": [
        "h"
      ]
    },
    "disabledPackages": [
      "about",
      "archive-view",
      "autosave",
      "background-tips",
      "command-palette",
      "encoding-selector",
      "exception-reporting",
      "line-ending-selector",
      "metrics",
      "open-on-github",
      "package-generator",
      "spell-check",
      "styleguide",
      "timecop",
      "update-package-dependencies",
      "welcome",
      "dash"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "._*",
      "Thumbs.db",
      "*.kdev4"
    ],
    "projectHome": "/home/cedric/Documents/Code"
  }
}

Installed Packages

# User
atom-yeoman, v0.3.15
autoclose-html, v0.23.0
autocomplete-clang, v0.9.3
autocomplete-cmake, v0.3.1
autocomplete-glsl, v0.2.3
change-case, v0.6.0
documentation-renderer, v0.2.1
highlight-selected, v0.11.2
json-schema, v0.1.15
language-cmake, v0.1.4
language-cpp14, v0.6.1
language-doxygen, v0.2.1
linter, v1.11.4
linter-clang, v3.4.4
minimap, v4.23.2
minimap-highlight-selected, v4.4.0
omnisharp-atom, v0.29.0
project-manager, v2.9.7
project-plus, v0.8.2

# Dev
No dev packages
@ZeroCool2u
Copy link

Reproduced here. Exact same behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants