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 RangeError: Invalid typed array length #100

Open
utensil opened this issue Dec 30, 2016 · 0 comments
Open

Uncaught RangeError: Invalid typed array length #100

utensil opened this issue Dec 30, 2016 · 0 comments

Comments

@utensil
Copy link

utensil commented Dec 30, 2016

Atom Version: 1.12.7
Electron Version: 1.3.13
System: Mac OS X 10.11.6
Thrown From: goto package, v1.8.2

Stack Trace

Uncaught RangeError: Invalid typed array length

At buffer.js:8

RangeError: Invalid typed array length
    at Buffer.Uint8Array (native)
    at FastBuffer (buffer.js:8:1)
    at createUnsafeBuffer (buffer.js:33:12)
    at allocate (buffer.js:176:12)
    at Function.Buffer.allocUnsafe (buffer.js:136:10)
    at tryCreateBuffer (fs.js:474:21)
    at Object.fs.readFileSync (fs.js:519:14)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:501:29)
    at SymbolIndex.module.exports.SymbolIndex.processFile (/Users/utensil/.atom/packages/goto/lib/symbol-index.coffee:154:15)
    at /Users/utensil/.atom/packages/goto/lib/symbol-index.coffee:113:24
    at traverse (/Users/utensil/.atom/packages/goto/node_modules/fs-plus/lib/fs-plus.js:419:13)
    at Object.traverseTreeSync (/Users/utensil/.atom/packages/goto/node_modules/fs-plus/lib/fs-plus.js:424:14)
    at SymbolIndex.module.exports.SymbolIndex.rebuild (/Users/utensil/.atom/packages/goto/lib/symbol-index.coffee:111:10)
    at atom-workspace.atom.commands.add.goto:rebuild-index (/Users/utensil/.atom/packages/goto/lib/index.coffee:31:39)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:210:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:587:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:382:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:106:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:59)

Commands

  5x -2:42.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -2:03.4.0 goto:project-symbol (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -1:50.7.0 goto:declaration (atom-text-editor.editor.is-focused)
  2x -1:09.5.0 editor:log-cursor-scope (atom-text-editor.editor.is-focused)
     -1:00.4.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  4x -0:56.2.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:54.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:54.4.0 goto:invalidate-index (atom-text-editor.editor)
     -0:51.8.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  2x -0:49.2.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:47.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:47.2.0 goto:rebuild-index (atom-text-editor.editor)
     -0:03.5.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  2x -0:01.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:00.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:00.3.0 goto:rebuild-index (atom-text-editor.editor)
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

1 participant