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 'getBeginningOfCurrentWordBufferPosition' of undefined #34

Open
sandertammesoo opened this issue Aug 20, 2015 · 0 comments

Comments

@sandertammesoo
Copy link

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.7
System: Mac OS X 10.10.5
Thrown From: go-oracle package, v0.2.1

Stack Trace

Uncaught TypeError: Cannot read property 'getBeginningOfCurrentWordBufferPosition' of undefined

At /Users/sander/Documents/Dropbox/.atom/packages/go-oracle/lib/oracle-command.coffee:57

TypeError: Cannot read property 'getBeginningOfCurrentWordBufferPosition' of undefined
  at OracleCommand.module.exports.OracleCommand.getPosition (/Users/sander/Documents/Dropbox/.atom/packages/go-oracle/lib/oracle-command.coffee:57:27)
  at OracleCommand.module.exports.OracleCommand.oracleCommand (/Users/sander/Documents/Dropbox/.atom/packages/go-oracle/lib/oracle-command.coffee:10:33)
  at OracleCommand.module.exports.OracleCommand.what (/Users/sander/Documents/Dropbox/.atom/packages/go-oracle/lib/oracle-command.coffee:36:13)
  at OracleCommand.module.exports.OracleCommand.command (/Users/sander/Documents/Dropbox/.atom/packages/go-oracle/lib/oracle-command.coffee:47:6)
  at GoOracleView.module.exports.GoOracleView.runOracle (/Users/sander/Documents/Dropbox/.atom/packages/go-oracle/lib/go-oracle-view.coffee:72:13)
  at HTMLSelectElement.<anonymous> (/Users/sander/Documents/Dropbox/.atom/packages/go-oracle/lib/go-oracle-view.coffee:54:8)
  at HTMLSelectElement.jQuery.event.dispatch (/opt/homebrew-cask/Caskroom/atom/1.0.4/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at HTMLSelectElement.elemData.handle (/opt/homebrew-cask/Caskroom/atom/1.0.4/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -9:46.5.0 core:backspace (atom-text-editor#go-oracle.goPath.editor.mini.is-focused)
 11x -9:45.7.0 blur (atom-text-editor#go-oracle.goPath.editor.mini.is-focused)
     -8:50.4.0 go-oracle:oracle (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
  3x -8:48.3.0 blur (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -8:32.8.0 go-oracle:oracle (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
 20x -8:30.1.0 blur (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
  4x -1:16.6.0 go-oracle:oracle (atom-text-editor.editor.vim-mode.visual-mode.is-focused)
 14x -1:10.5.0 blur (atom-text-editor.editor.vim-mode.visual-mode.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "symbols-view"
    ]
  },
  "go-oracle": {
    "goPath": "/Users/sander/projects/go"
  }
}

Installed Packages

# User
atom-ctags, v4.1.4
dash, v1.3.0
file-icons, v1.6.3
go-oracle, v0.2.1
go-plus, v3.4.5
go-rename, v0.3.0
godef, v0.2.1
language-docker, v1.1.3
vim-mode, v0.58.0

# Dev
No dev packages
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