Comments (11)
You should upgrade atom to the latest version. Let me know if this is still an issue.
from status-bar.
I'm on 0.194.0 and i get this too. will post stack trace when it happens again
from status-bar.
- open a lot of files
- start closing them till error
Atom Version: 0.194.0
System: Mac OS X 10.10.2
Thrown From: status-bar package, v0.69.0
Stack Trace
Uncaught TypeError: Cannot read property 'getBufferPosition' of undefined
At /Applications/Dev/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1269
TypeError: Cannot read property 'getBufferPosition' of undefined
at TextEditor.module.exports.TextEditor.getCursorBufferPosition (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1269:34)
at status-bar-cursor.CursorPositionView.updatePosition (/Applications/Dev/Atom.app/Contents/Resources/app.asar/node_modules/status-bar/lib/cursor-position-view.js:48:73)
at status-bar-cursor.CursorPositionView.subscribeToActiveTextEditor (/Applications/Dev/Atom.app/Contents/Resources/app.asar/node_modules/status-bar/lib/cursor-position-view.js:39:19)
at /Applications/Dev/Atom.app/Contents/Resources/app.asar/node_modules/status-bar/lib/cursor-position-view.js:17:24
at Emitter.module.exports.Emitter.emit (/Applications/Dev/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at /Applications/Dev/Atom.app/Contents/Resources/app.asar/src/pane-container.js:338:34
at Emitter.module.exports.Emitter.emit (/Applications/Dev/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at Pane.module.exports.Pane.setActiveItem (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/pane.js:234:22)
at Pane.module.exports.Pane.activateItem (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/pane.js:298:21)
at Pane.module.exports.Pane.activateItemAtIndex (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/pane.js:292:19)
at Pane.module.exports.Pane.activatePreviousItem (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/pane.js:263:21)
at Pane.module.exports.Pane.removeItem (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/pane.js:372:16)
at Pane.module.exports.Pane.destroyItem (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/pane.js:442:16)
at Pane.module.exports.Pane.destroyActiveItem (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/pane.js:419:12)
at Workspace.module.exports.Workspace.destroyActivePaneItem (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/workspace.js:582:35)
at Workspace.module.exports.Workspace.destroyActivePaneItemOrEmptyPane (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/workspace.js:621:21)
at atom-workspace.atom.commands.add.core:close (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/workspace-element.js:307:30)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
at /Applications/Dev/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Dev/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:519:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Dev/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:354:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Dev/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:178:20)
Commands
-0:59.1.0 deprecation-cop:view (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-0:36.3.0 core:save (atom-text-editor.editor.is-focused)
-0:34.6.0 core:undo (atom-text-editor.editor.is-focused)
2x -0:34.1.0 core:save (atom-text-editor.editor.is-focused)
-0:10.3.0 core:backspace (atom-text-editor.editor.is-focused)
-0:09.5.0 core:save (atom-text-editor.editor.is-focused)
4x -0:08.9.0 core:close (atom-text-editor.editor.is-focused)
Config
{
"core": {}
}
Installed Packages
# User
Stylus, v0.6.0
atom-terminal, v0.7.0
jshint, v0.7.2
linter, v0.5.18
save-session, v0.12.0
# Dev
No dev packages
from status-bar.
Can you be more specific than "a lot" of files? I haven't seen this behavior on less than twenty files. And admittedly, I don't open more than that at once.
from status-bar.
ok i have to correct myself after testing it again:
- open 2 or more files
- close them quickly one after another
- last file triggers error
additionally: this seems to happen only after some time working with atom. upon closing and re-opening atom, I can't trigger the error anymore.
from status-bar.
+1
This happens to me also with just one file opened.
I'm on Windows 7 x64, Atom 0.194
from status-bar.
Same Problem here.
Atom Version: 1.0.0
System: "Fedora release 21
Thrown From: status-bar package, v0.74.0
Stack Trace
Uncaught TypeError: Cannot read property 'getBufferPosition' of undefined
At /usr/share/atom/resources/app.asar/src/text-editor.js:1322
TypeError: Cannot read property 'getBufferPosition' of undefined
at TextEditor.module.exports.TextEditor.getCursorBufferPosition (/usr/share/atom/resources/app.asar/src/text-editor.js:1322:34)
at status-bar-cursor.CursorPositionView.updatePosition (/usr/share/atom/resources/app.asar/node_modules/status-bar/lib/cursor-position-view.js:73:73)
at status-bar-cursor.CursorPositionView.subscribeToActiveTextEditor (/usr/share/atom/resources/app.asar/node_modules/status-bar/lib/cursor-position-view.js:51:19)
at /usr/share/atom/resources/app.asar/node_modules/status-bar/lib/cursor-position-view.js:19:24
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at /usr/share/atom/resources/app.asar/src/pane-container.js:343:34
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at Pane.module.exports.Pane.setActiveItem (/usr/share/atom/resources/app.asar/src/pane.js:234:22)
at Pane.module.exports.Pane.activateItem (/usr/share/atom/resources/app.asar/src/pane.js:298:21)
at Pane.module.exports.Pane.activateItemAtIndex (/usr/share/atom/resources/app.asar/src/pane.js:292:19)
at Pane.module.exports.Pane.activateNextItem (/usr/share/atom/resources/app.asar/src/pane.js:253:21)
at Pane.module.exports.Pane.removeItem (/usr/share/atom/resources/app.asar/src/pane.js:370:16)
at Pane.module.exports.Pane.destroyItem (/usr/share/atom/resources/app.asar/src/pane.js:442:16)
at HTMLDivElement.<anonymous> (/usr/share/atom/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:236:22)
at space-pen-ul.jQuery.event.dispatch (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
at space-pen-ul.elemData.handle (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)
Commands
-7:22.7.0 core:backspace (atom-text-editor.editor.is-focused)
-7:21.8.0 core:undo (atom-text-editor.editor.is-focused)
-7:20.2.0 editor:delete-to-beginning-of-word (atom-text-editor.editor.is-focused)
-7:17.2.0 core:undo (atom-text-editor.editor.is-focused)
-7:16.2.0 core:paste (atom-text-editor.editor.is-focused)
-7:15.1.0 core:select-all (atom-text-editor.editor.is-focused)
-7:14.2.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
-7:14.2.0 snippets:expand (atom-text-editor.editor.is-focused)
-7:14.2.0 editor:indent (atom-text-editor.editor.is-focused)
-7:13.7.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
-7:13.7.0 snippets:expand (atom-text-editor.editor.is-focused)
-7:13.7.0 editor:indent (atom-text-editor.editor.is-focused)
-7:08.7.0 grammar-selector:show (atom-text-editor.editor)
-7:08.1.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-7:08.1.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-7:06.5.0 core:select-all (atom-text-editor.editor.is-focused)
Config
{
"core": {
"themes": [
"one-dark-ui",
"solarized-dark-syntax"
],
"audioBeep": false,
"autoHideMenuBar": true
}
}
Installed Packages
# User
ctrl-last-tab, v0.2.0
# Dev
No dev packages
from status-bar.
[Enter steps to reproduce below:]
1.Switching over multiple files quickly Ctrl+Alt+T throws this too
Atom Version: 0.209.0
System: Microsoft Windows 8 Single Language
Thrown From: status-bar package, v0.74.0
Stack Trace
Uncaught TypeError: Cannot read property 'getBufferPosition' of undefined
At C:\Users\Sri Harsha Kappala\AppData\Local\atom\app-0.209.0\resources\app.asar\src\text-editor.js:1318
TypeError: Cannot read property 'getBufferPosition' of undefined
at TextEditor.module.exports.TextEditor.getCursorBufferPosition (C:\Users\Sri Harsha Kappala\AppData\Local\atom\app-0.209.0\resources\app.asar\src\text-editor.js:1318:34)
at status-bar-cursor.CursorPositionView.updatePosition (C:\Users\Sri Harsha Kappala\AppData\Local\atom\app-0.209.0\resources\app.asar\node_modules\status-bar\lib\cursor-position-view.js:73:73)
at status-bar-cursor.CursorPositionView.subscribeToActiveTextEditor (C:\Users\Sri Harsha Kappala\AppData\Local\atom\app-0.209.0\resources\app.asar\node_modules\status-bar\lib\cursor-position-view.js:51:19)
at C:\Users\Sri Harsha Kappala\AppData\Local\atom\app-0.209.0\resources\app.asar\node_modules\status-bar\lib\cursor-position-view.js:19:24
at Emitter.module.exports.Emitter.emit (C:\Users\Sri Harsha Kappala\AppData\Local\atom\app-0.209.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:82:11)
at C:\Users\Sri Harsha Kappala\AppData\Local\atom\app-0.209.0\resources\app.asar\src\pane-container.js:343:34
at Emitter.module.exports.Emitter.emit (C:\Users\Sri Harsha Kappala\AppData\Local\atom\app-0.209.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:82:11)
at Pane.module.exports.Pane.setActiveItem (C:\Users\Sri Harsha Kappala\AppData\Local\atom\app-0.209.0\resources\app.asar\src\pane.js:234:22)
at Pane.module.exports.Pane.activateItem (C:\Users\Sri Harsha Kappala\AppData\Local\atom\app-0.209.0\resources\app.asar\src\pane.js:298:21)
at Pane.module.exports.Pane.activateItemAtIndex (C:\Users\Sri Harsha Kappala\AppData\Local\atom\app-0.209.0\resources\app.asar\src\pane.js:292:19)
Commands
2x -0:14.6.0 pane:show-next-item (atom-text-editor.editor.is-focused)
Config
{
"core": {}
}
Installed Packages
# User
language-rust, v0.4.3
# Dev
No dev packages
from status-bar.
👍 This happens when I used the contextual menu to Close this pane
. Running Atom 1.0.2
.
from status-bar.
[Enter steps to reproduce below:]
- Open Settings Tab when 1 or more Other files are open
- Click the "X" on the Settings Tab to Close it
Atom Version: 0.182.0
System: linux 4.5.7-200.fc23.x86_64
Thrown From: status-bar package, v0.60.0
Stack Trace
Uncaught TypeError: Cannot read property 'getBufferPosition' of undefined
At /usr/share/atom/resources/app/src/text-editor.js:1358
TypeError: Cannot read property 'getBufferPosition' of undefined
at TextEditor.module.exports.TextEditor.getCursorBufferPosition (/usr/share/atom/resources/app/src/text-editor.js:1358:34)
at status-bar-cursor.CursorPositionView.updatePosition (/usr/share/atom/resources/app/node_modules/status-bar/lib/cursor-position-view.js:48:73)
at status-bar-cursor.CursorPositionView.subscribeToActiveTextEditor (/usr/share/atom/resources/app/node_modules/status-bar/lib/cursor-position-view.js:39:19)
at /usr/share/atom/resources/app/node_modules/status-bar/lib/cursor-position-view.js:17:24
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:82:11)
at /usr/share/atom/resources/app/src/pane-container.js:347:34
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:82:11)
at Pane.module.exports.Pane.setActiveItem (/usr/share/atom/resources/app/src/pane.js:264:22)
at Pane.module.exports.Pane.activateItem (/usr/share/atom/resources/app/src/pane.js:328:21)
at Pane.module.exports.Pane.activateItemAtIndex (/usr/share/atom/resources/app/src/pane.js:322:19)
at Pane.module.exports.Pane.activatePreviousItem (/usr/share/atom/resources/app/src/pane.js:293:21)
at Pane.module.exports.Pane.removeItem (/usr/share/atom/resources/app/src/pane.js:393:16)
at Pane.module.exports.Pane.destroyItem (/usr/share/atom/resources/app/src/pane.js:457:16)
at HTMLDivElement.<anonymous> (/usr/share/atom/resources/app/node_modules/tabs/lib/tab-bar-view.js:179:22)
at space-pen-ul.jQuery.event.dispatch (/usr/share/atom/resources/app/node_modules/jquery/dist/jquery.js:4430:9)
at space-pen-ul.elemData.handle (/usr/share/atom/resources/app/node_modules/jquery/dist/jquery.js:4116:28)
Commands
Config
{
"core": {
"disabledPackages": [
"git-plus"
]
}
}
Installed Packages
# User
asciidoc-preview, v1.0.1
autoclose-html, v0.23.0
autocomplete-plus, v2.2.0
language-asciidoc, v1.4.3
language-puppet, v0.19.1
linter-puppet-lint, v0.6.2
markdown-preview-plus, v2.4.0
pandoc-convert, v1.0.4
pigments, v0.29.2
xml-tools, v0.2.1
# Dev
No dev packages
from status-bar.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
from status-bar.
Related Issues (20)
- Custom item arrangement in status bar HOT 5
- Uncaught Error: Couldn't convert text to a String HOT 1
- Uncaught Error: Cannot decorate a destroyed marker HOT 2
- Remove icon offset? HOT 4
- target[Symbol.iterator] is not a function HOT 2
- Failed to activate the status-bar package HOT 6
- panel with arrows and buttons (fetch, pull, push) disappeared on git-submodule path HOT 1
- Failed to activate the ide-python package HOT 1
- Feature Request: Move status bar to Apple TouchBar HOT 1
- <unknown> is deprecated. HOT 1
- Push/pull only works when pressing the text itself, not the status bar tile
- Push/pull tooltip shows up much quicker than other status bar tooltips
- Option to disable git functionality HOT 3
- null git branch in status-bar HOT 2
- "Not on branch" message on status bar after creating or cloning a repository HOT 1
- ?? HOT 1
- Git status doesn't show in status-bar HOT 1
- Status-bar slow loadtime in atom 1.47.0-nightly3 HOT 1
- Failed to activate the status-bar package HOT 1
- Failed to activate the status-bar package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from status-bar.