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: atom.views.pollDocument is not a function #625

Closed
CapnSquirrel opened this issue Aug 9, 2017 · 10 comments
Closed

Uncaught TypeError: atom.views.pollDocument is not a function #625

CapnSquirrel opened this issue Aug 9, 2017 · 10 comments

Comments

@CapnSquirrel
Copy link

[Enter steps to reproduce:]

  1. open file
  2. this triggers the bug

Atom: 1.19.0 x64
Electron: 1.6.9
OS: Microsoft Windows 10 Home
Thrown From: minimap package 4.29.3

Stack Trace

Uncaught TypeError: atom.views.pollDocument is not a function

At C:\Users\Alejandro\.atom\packages\minimap\lib\minimap-element.js:345

TypeError: atom.views.pollDocument is not a function
    at HTMLElement.attachedCallback (/packages/minimap/lib/minimap-element.js:345:39)
    at /packages/minimap/node_modules/atom-utils/lib/register-or-update-element.js:15:57)
    at HTMLElement.PaneElement.activeItemChanged (D:/atom/app-1.19.0/resources/app/src/pane-element.js:144:24)
    at Function.module.exports.Emitter.simpleDispatch (D:/atom/app-1.19.0/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (D:/atom/app-1.19.0/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Pane.module.exports.Pane.setActiveItem (D:/atom/app-1.19.0/resources/app/src/pane.js:337:28)
    at Pane.module.exports.Pane.activateItemAtIndex (D:/atom/app-1.19.0/resources/app/src/pane.js:475:25)
    at Pane.module.exports.Pane.activatePreviousItem (D:/atom/app-1.19.0/resources/app/src/pane.js:440:27)
    at Pane.module.exports.Pane.removeItem (D:/atom/app-1.19.0/resources/app/src/pane.js:630:22)
    at Pane.module.exports.Pane.destroyItem (D:/atom/app-1.19.0/resources/app/src/pane.js:706:22)
    at Pane.module.exports.Pane.addItem (D:/atom/app-1.19.0/resources/app/src/pane.js:557:20)
    at Pane.module.exports.Pane.activateItem (D:/atom/app-1.19.0/resources/app/src/pane.js:489:20)
    at Workspace.<anonymous> (D:/atom/app-1.19.0/resources/app/src/workspace.js:1161:20)
    at Generator.next (<anonymous>)
    at step (D:/atom/app-1.19.0/resources/app/src/workspace.js:11:279)

Commands

     -3:52.9.0 core:confirm (input.hidden-input)

Non-Core Packages

atom-material-syntax 1.0.2 
auto-detect-indentation 1.3.0 
auto-indent 0.5.0 
docblockr 0.9.4 
linter 1.11.23 
linter-javac 1.9.4 
minimap 4.29.3 
platformio-ide-terminal 2.2.3 
project-manager 3.3.3 
seti-syntax 1.1.2 
seti-ui 1.6.1 
@abe33 abe33 closed this as completed in 52273e7 Aug 9, 2017
@joedots1
Copy link

I see this is closed now, what's the resolution?

@CapnSquirrel
Copy link
Author

This was closed without resolution, still trying to solve it.

@afghl
Copy link

afghl commented Aug 10, 2017

Hi, @joedots1 , @CapnSquirrel , I updated minimap to latest version and it was fixed.

@cruzenaldo
Copy link

Just update the packages and work like a charm, thq @afghl

@ummahusla
Copy link

I have the latest version but this problem still exists for me. Atom 1.19

@sn34ks
Copy link

sn34ks commented Aug 11, 2017

You may have some packages that need updating:

Packages-> Settings View-> Update Atom Packages-> Update Packages Themes

@alfonsotech
Copy link

Updating the minimap package also worked for me - thanks!

@kinduff
Copy link

kinduff commented Aug 14, 2017

Confirmed that updating fixes the exception.

@nvien
Copy link

nvien commented Aug 15, 2017

Updating helped!

@OneStig
Copy link

OneStig commented Aug 29, 2017

Thank you for fixing. I had to deal with this bug too.

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

10 participants