Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Uncaught TypeError: Cannot read property 'length' of undefined #6

Closed

Description

@mnquintana

[Enter steps to reproduce below:]

  1. Click on Update from Settings > Updates for autocomplete-atom-api (updating from 0.7.0)

This happened in normal mode, not dev mode.

Atom Version: 0.193.0-c0522d2
System: Mac OS X 10.10.3
Thrown From: autocomplete-atom-api package, v0.8.0

Stack Trace

Uncaught TypeError: Cannot read property 'length' of undefined

At /Users/machistequintana/.atom/packages/autocomplete-atom-api/lib/provider.coffee:86

TypeError: Cannot read property 'length' of undefined
  at Object.module.exports.loadProperty (/Users/machistequintana/.atom/packages/autocomplete-atom-api/lib/provider.coffee:86:23)
  at /Users/machistequintana/.atom/packages/autocomplete-atom-api/lib/provider.coffee:47:3
  at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:379:3)

Commands

     -0:26.7 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "disabledPackages": [
      "linter-scss-lint",
      "jshint",
      "atom-ungit",
      "sublime-tabs",
      "script",
      "linter-shellcheck",
      "asciidoc-preview",
      "word-count"
    ],
    "audioBeep": false,
    "destroyEmptyPanes": false
  }
}

Installed Packages

# User
atom-color-highlight, v3.0.8
autocomplete-atom-api, v0.8.0
autocomplete-css, v0.6.0
autocomplete-emojis, v2.2.0
autocomplete-paths, v1.0.2
autocomplete-plus, v2.11.0
autocomplete-snippets, v1.2.0
color-picker, v1.7.0
editorconfig, v0.3.3
file-icons, v1.5.4
git-tab-status, v1.7.0
language-asciidoc, v0.11.1
language-haml, v0.19.0
language-jade, v0.4.0
linter, v0.12.0
linter-coffeelint, v0.2.1
linter-csslint, v0.0.11
linter-js-yaml, v1.0.0
linter-jscs, v1.10.0
linter-jshint, v0.1.2
linter-rubocop, v0.2.2
minimap, v4.7.6
project-palette-finder, v2.4.16
save-session, vundefined
travis-ci-status, v0.13.0

# Dev
fuzzy-finder, v0.72.0
settings-view, v0.192.0
tabs, v0.67.0
tree-view, v0.170.0
welcome, v0.26.0
wrap-guide, v0.32.0

Activity

  1. benogle commented on Apr 21, 2015

    @benogle
    Contributor

    While not a perm fix, after a reload this shouldnt come back.

  2. benogle commented on Apr 21, 2015

    @benogle
    Contributor

    Wonder if the new code is trying to read the old completions.json or something.

  3. benogle commented on Jul 10, 2015

    @benogle
    Contributor

    I have no idea on this one. I'm going to close it for now. Looks like there is a check for this. If happens again, we can of course re open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions