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 'setScreenHeightAndWidth' of null #376

Closed
marcofranssen opened this issue Aug 24, 2015 · 6 comments

Comments

@marcofranssen
Copy link

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.7
System: Microsoft Windows 8.1 Pro
Thrown From: minimap package, v4.13.1

Stack Trace

Uncaught TypeError: Cannot read property 'setScreenHeightAndWidth' of null

At C:\Users\Marco\.atom\packages\minimap\lib\minimap-element.coffee:416

TypeError: Cannot read property 'setScreenHeightAndWidth' of null
  at atom-text-editor-minimap.MinimapElement.measureHeightAndWidth (C:\Users\Marco\.atom\packages\minimap\lib\minimap-element.coffee:416:5)
  at atom-text-editor-minimap.MinimapElement.pollDOM (C:\Users\Marco\.atom\packages\minimap\lib\minimap-element.coffee:386:38)
  at C:\Users\Marco\.atom\packages\minimap\lib\minimap-element.coffee:90:52
  at ViewRegistry.module.exports.ViewRegistry.performDocumentPoll (C:\Users\Marco\AppData\Local\atom\app-1.0.7\resources\app.asar\src\view-registry.js:217:9)
  at ViewRegistry.<anonymous> (C:\Users\Marco\AppData\Local\atom\app-1.0.7\resources\app.asar\node_modules\underscore-plus\node_modules\underscore\underscore.js:701:23)
  at ViewRegistry.module.exports.ViewRegistry.requestDocumentPoll (C:\Users\Marco\AppData\Local\atom\app-1.0.7\resources\app.asar\src\view-registry.js:208:21)
  at MutationObserver.<anonymous> (C:\Users\Marco\AppData\Local\atom\app-1.0.7\resources\app.asar\src\view-registry.js:3:61)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "welcome",
      "autocomplete-plus"
    ],
    "themes": [
      "seti-ui",
      "seti-syntax"
    ]
  },
  "minimap": {
    "plugins": {
      "find-and-replace": true
    },
    "absoluteMode": true
  }
}

Installed Packages

# User
atom-yeoman, v0.3.12
emmet, v2.3.12
json-schema, v0.1.11
language-babel, v0.11.9
language-csharp, v0.7.0
language-elixir, v0.5.2
language-erlang, v3.0.0
language-fsharp, v0.8.4
language-puppet, v0.14.0
language-scala, v1.1.3
linter, v1.4.3
linter-csslint, v1.0.5
linter-elixirc, v0.2.2
linter-js-yaml, v1.1.1
linter-jscs, v2.0.4
linter-jshint, v1.1.5
linter-pep8, v1.0.1
linter-php, v1.0.3
linter-phpcs, v1.0.6
linter-phpmd, v1.0.0
linter-python-pep8, v0.2.0
linter-scalac, v1.0.2
linter-tidy, v1.0.1
minimap, v4.13.1
minimap-find-and-replace, v4.3.0
omnisharp-atom, v0.24.0
php-getters-setters, v0.5.5
seti-syntax, v0.4.0
seti-ui, v0.8.0
Stylus, v1.2.1
tabs-to-spaces, v0.11.1

# Dev
No dev packages
@wmayner
Copy link

wmayner commented Aug 24, 2015

+1

@piks
Copy link

piks commented Aug 25, 2015

My Linux Mint 17.2 just threw this same error also.

@squilter
Copy link

+1

@mfvico
Copy link

mfvico commented Aug 25, 2015

MacBook Pro running Yosemite is also throwing this error

@JadeGeek
Copy link

+1

@abe33
Copy link
Contributor

abe33 commented Aug 27, 2015

Sorry guys for the wait, the patch is ready, I just have to publish it.

@abe33 abe33 closed this as completed in 892b7aa Aug 27, 2015
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

7 participants