Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Exception Thrown on Typing on Java File #3

Closed
keplersj opened this issue Apr 26, 2017 · 2 comments
Closed

Exception Thrown on Typing on Java File #3

keplersj opened this issue Apr 26, 2017 · 2 comments

Comments

@keplersj
Copy link

[Enter steps to reproduce:]

  1. Open Java File in Project
  2. Start Typing

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.4
Thrown From: languageserver-java package 0.1.0

Stack Trace

Uncaught TypeError: Cannot read property 'start' of undefined

At /Users/kepler/Developer/atom/languageserver-java/node_modules/atom-languageclient/build/lib/convert.js:50

TypeError: Cannot read property 'start' of undefined
  at Function.atomRangeToLSRange (/Users/kepler/Developer/atom/languageserver-java/node_modules/atom-languageclient/build/lib/convert.js:50:50)
  at textEditToContentChange (/Users/kepler/Developer/atom/languageserver-java/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:124:32)
  at Array.map (native)
  at TextEditorSyncAdapter.sendIncrementalChanges (/Users/kepler/Developer/atom/languageserver-java/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:117:39)
  at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
  at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
  at /app.asar/node_modules/text-buffer/lib/text-buffer.js:1392:25

Commands

     -2:04.8.0 autocomplete-plus:confirm (input.hidden-input)
     -2:03.3.0 core:select-up (input.hidden-input)
     -2:02.9.0 editor:select-to-end-of-line (input.hidden-input)
     -2:02.4.0 core:backspace (input.hidden-input)
     -2:01.6.0 core:save (input.hidden-input)
     -1:59 core:close (input.hidden-input)
     -1:48.1.0 nuclide-health:toggle (input.hidden-input)
  6x -1:22.3.0 core:close (input.hidden-input)
     -0:41.2.0 command-palette:toggle (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -0:39.1.0 core:select-all (input.hidden-input)
     -0:39 core:backspace (input.hidden-input)
     -0:37 core:select-all (input.hidden-input)
     -0:36.9.0 core:backspace (input.hidden-input)
     -0:31.7.0 editor:consolidate-selections (input.hidden-input)
     -0:31.7.0 core:cancel (input.hidden-input)
     -0:19.9.0 editor:newline (input.hidden-input)

Non-Core Packages

ascii-art 1.2.0 
atom-language-server-protocol 0.0.0 
atom-material-syntax 1.0.2 
atom-material-syntax-dark 0.2.7 
atom-material-ui 1.3.10 
autoclose-html 0.23.0 
autocomplete-python 1.8.63 
crystal 0.2.0 
editorconfig 2.2.2 
file-icons 2.1.4 
graphql-autocomplete 0.4.1 
hyperclick 0.0.40 
language-babel 2.57.7 
language-crystal-actual 0.33.0 
language-docker 1.1.7 
language-graphql 0.8.0 
language-groovy 0.6.0 
language-llvm 0.1.1 
language-minecraft-forge-cfg 0.1.2 
language-rust 0.4.10 
languageserver-java 0.1.0 
lcov-info 0.12.0 
linter-eslint 8.1.6 
linter-pycodestyle 2.0.2 
linter-rust 0.8.0 
linter-xo 0.22.0 
merge-conflicts 1.4.4 
minimap 4.27.1 
nuclide 0.219.0 
nuclide-test-runner-jest 0.3.0 
pigments 0.39.1 
pretty-json 1.6.3 
racer 0.20.0 
tokamak 0.3.2 
tokamak-terminal 10.0.1 
tool-bar 1.1.0 
xml-formatter 0.10.0 
@damieng
Copy link
Contributor

damieng commented Aug 7, 2017

Not able to reproduce on recent builds. Please let me know if you still experience this.

@damieng damieng closed this as completed Aug 7, 2017
@keplersj
Copy link
Author

keplersj commented Aug 7, 2017

Was trying to use with an Android Gradle project. That most likely has more to do with this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants