Peekmo / atom-autocomplete-php

Autocomplete for PHP in atom editor
MIT License
136 stars 34 forks source link

Uncaught TypeError: Cannot read property 'screenPositionForMouseEvent' of null #140

Closed jasonmccallister closed 9 years ago

jasonmccallister commented 9 years ago

[Enter steps to reproduce below:]

  1. Saving PHP files

Atom Version: 1.0.19 System: Mac OS X 10.10.5 Thrown From: atom-autocomplete-php package, v0.13.2

Stack Trace

Uncaught TypeError: Cannot read property 'screenPositionForMouseEvent' of null

At /Users/jasonmccallister/.atom/packages/atom-autocomplete-php/lib/tooltip/abstract-provider.coffee:85

TypeError: Cannot read property 'screenPositionForMouseEvent' of null
    at /Users/jasonmccallister/.atom/packages/atom-autocomplete-php/lib/tooltip/abstract-provider.coffee:85:74

Commands

     -2:18.9.0 core:backspace (atom-text-editor.editor.is-focused)
     -2:18.3.0 core:save (atom-text-editor.editor.is-focused)
     -1:17.9.0 core:copy (atom-text-editor.editor.is-focused)
     -1:17.4.0 core:close (atom-text-editor.editor.is-focused)
     -1:12.1.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
     -1:12.1.0 editor:newline (atom-text-editor.editor.is-focused)
     -1:11.7.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
     -1:11.7.0 editor:newline (atom-text-editor.editor.is-focused)
     -1:11.4.0 core:paste (atom-text-editor.editor.is-focused)
  2x -1:10.7.0 core:save (atom-text-editor.editor.is-focused)
     -0:23.1.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
     -0:23.1.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:19.2.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:12.4.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:12.1.0 core:save (atom-text-editor.editor.is-focused)
  5x -0:02.4.0 core:close (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "projectHome": "~/Code",
    "disabledPackages": [
      "background-tips",
      "php-composer-completion",
      "craft-twig",
      "highlight-line",
      "language-expressionengine",
      "php-cs-fixer",
      "linter",
      "linter-php",
      "linter-phpcs"
    ],
    "destroyEmptyPanes": false,
    "openEmptyEditorOnStart": false,
    "themes": [
      "nucleus-dark-ui",
      "one-dark-syntax"
    ],
    "excludeVcsIgnoredPaths": false
  },
  "atom-autocomplete-php": {
    "binPhp": "/usr/bin/php"
  }
}

Installed Packages

# User
atom-autocomplete-php, v0.13.2
atom-beautify, v0.28.14
craft-snippets, v0.6.0
docblockr, v0.7.3
docs-snippets, v0.8.0
file-icons, v1.6.9
filesize, v0.2.0
nucleus-dark-ui, v0.5.8
php-twig, v4.0.0
tabs-to-spaces, v0.11.1
tool-bar, v0.1.9
tool-bar-main, v0.0.8

# Dev
No dev packages
ghost commented 9 years ago

@Peekmo I think this can be closed, I haven't had the issue since the pull request was merged.