OmniSharp / atom-json-schema

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

Uncaught TypeError: Cannot read property 'path' of undefined #7

Open prog-mitsu opened 9 years ago

prog-mitsu commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.7 System: Mac OS X 10.10.3 Thrown From: json-schema package, v0.1.11

Stack Trace

Uncaught TypeError: Cannot read property 'path' of undefined

At /Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:579

TypeError: Cannot read property 'path' of undefined
    at /Users/m3-suzuki/.atom/packages/omnisharp-atom/lib/omni-sharp-server/view-model.js:219:74
    at tryCatcher (/Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:567:29)
    at InnerObserver.onNext (/Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:5147:49)
    at Subject.Rx.Subject.addProperties.onNext (/Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:5394:19)
    at /Users/m3-suzuki/.atom/packages/omnisharp-atom/lib/omni-sharp-server/view-model.js:267:43
    at Array.map (native)
    at AnonymousObserver._onNext (/Users/m3-suzuki/.atom/packages/omnisharp-atom/lib/omni-sharp-server/view-model.js:263:18)
    at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.next (/Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:1778:12)
    at AnonymousObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:1710:35)
    at AnonymousObserver.tryCatcher (/Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:567:29)
    at AutoDetachObserverPrototype.next (/Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:5274:51)
    at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:1710:35)
    at InnerObserver.onNext (/Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:4810:14)
    at InnerObserver.tryCatcher (/Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:567:29)
    at AutoDetachObserverPrototype.next (/Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:5274:51)
    at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/Users/m3-suzuki/.atom/packages/json-schema/node_modules/rx/dist/rx.js:1710:35)

Commands

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ],
    "ignoredNames": [
      ".DS_Store",
      "*.meta",
      "*.apk",
      "*.userprefs",
      ".gitignore",
      "*.prefab",
      "*.mat"
    ],
    "disabledPackages": [
      "atom-yeoman"
    ]
  }
}

Installed Packages

# User
json-schema, v0.1.11
line-jumper, v0.14.1
linter, v1.4.1
omnisharp-atom, v0.23.2
open-recent, v2.3.0

# Dev
No dev packages
willl commented 9 years ago

Looks to be the same issue as reported here: https://github.com/OmniSharp/omnisharp-atom/issues/463