You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Cannot save Java-files when languageserver is running #115
This was working last week, yet nothing on my atom install or OS has been updated since then. I have tried full reinstall, including reset of ~/.atom, to no effect.
I think this is the proper project for this issue, since this is the project that includes the vscode-languageserver-protocol package, but it might not be?
Reacted by Rajiv Shah, XeroOl, Matthew Song, Richard Davis, Albert Kragl, Alex Shemetovskiy, Joakim Skogø, Dennis Gauß and Aarav Juneja
Bumping the vscode-languageclient dependencies in the atom-languageclient node_module and running npm install inside that dependency's folder has "solved" the issue. After that, I tried bumping the atom-languageclient dependency of this project to 0.9.9. This also solved the issue (by transitive dependencies), which means that is probably the correct solution.
I don’t know if you got it working, but let me give you some more detailed steps. This assumes you are on a Linux OS.
1. ‘cd ~/.atom/packages/ide-java’
2. Open ‘packages.json’
3. Under the ‘dependencies’ key, find the line which says ‘atom-language client’ and up the version to ‘0.9.9’
4. Run ‘npm install’
Now the Java IDE should use the newer dependency, and saving files should work again.
I hope this helps.
Matthias Varberg Ingesman
Den 22. jan. 2020 kl. 04.37 skrev Marcelo Laser ***@***.***>:
I am also having this issue but am not competent enough to apply any of what mdiin described as a solution. I would appreciate any help, as this has effectively made ide-java unusable for the time being.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Reacted by Tianxing Yang, Bl4Cc4t, lirc572, Scott Stevens, Leonard-H, vido995, Ali, Kwaku De-Wind, Aarav Juneja, Sunil Mandhan and 1 more
Reacted by Alex Shemetovskiy, Dionisio Tun, Joakim Skogø, Cyxo, Roman Tupis, Bl4Cc4t, Ali and Meadowsys
Thanks @mdiin, I was running into this issue as well! I created a PR with the fix: #116
If anyone wants to apply this fix without needing to manually edit the package.json, follow these steps:
1. Find `ide-java` in the Packages section of Atom settings and uninstall it
2. Open Terminal and run `apm install https://github.com/rajivshah3/ide-java`
3. Restart Atom
So I tried your solution but when I run "apm install https://github.com/rajivshah3/ide-java"
It says Cloning https://github.com/rajivshah3/ide-java.git failed Installing modules done Cannot read property 'getReferenceTarget' of null
Its probably cause @rajivshah3 uses a mac while Windows users might have to utilize a different way of getting around the issue, we need to add this directly to our path via System Variables though this PC system.
It might already be in your path @grindarius so it might be just a java error within this package and maybe there are traces of a previous installation of the package causing issues
> On Jan 27, 2020, at 6:24 PM, Tripp Sautner ***@***.***> wrote:
Its probably cause @rajivshah3 uses a mac while Windows users might have to utilize a different way of getting around the issue, we need to add this directly to our path via System Variables though this PC system.
"%USERPROFILE%\AppData\Local\atom\bin" <---- That
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Its probably cause @rajivshah3 uses a mac while Windows users might have to utilize a different way of getting around the issue, we need to add this directly to our path via System Variables though this PC system.
"%USERPROFILE%\AppData\Local\atom\bin" <---- That
I tried your method and still get the same error out of it. Maybe I need a fresh Windows installation?
I don’t know if you got it working, but let me give you some more detailed steps. This assumes you are on a Linux OS. 1. ‘cd ~/.atom/packages/ide-java’ 2. Open ‘packages.json’ 3. Under the ‘dependencies’ key, find the line which says ‘atom-language client’ and up the version to ‘0.9.9’ 4. Run ‘npm install’ Now the Java IDE should use the newer dependency, and saving files should work again. I hope this helps. Matthias Varberg Ingesman …
Den 22. jan. 2020 kl. 04.37 skrev Marcelo Laser @.***>: I am also having this issue but am not competent enough to apply any of what mdiin described as a solution. I would appreciate any help, as this has effectively made ide-java unusable for the time being. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I can't save any files when java-ide is installed as an extension for atom. i tried updating the dependency to 0.9.9 without success. I have node.js 12.x installed as I have to run the LTS version. Is node LTS not supported for ide-java? Running on Windows 10
Activity
mdiin commentedon Jan 20, 2020
Bumping the vscode-languageclient dependencies in the atom-languageclient node_module and running
npm installinside that dependency's folder has "solved" the issue. After that, I tried bumping theatom-languageclientdependency of this project to 0.9.9. This also solved the issue (by transitive dependencies), which means that is probably the correct solution.I still wonder why this happened though...
mdiin commentedon Jan 22, 2020
rajivshah3 commentedon Jan 22, 2020
Thanks @mdiin, I was running into this issue as well! I created a PR with the fix: #116
If anyone wants to apply this fix without needing to manually edit the package.json, follow these steps:
ide-javain the Packages section of Atom settings and uninstall itapm install https://github.com/rajivshah3/ide-javagrindarius commentedon Jan 27, 2020
So I tried your solution but when I run "apm install https://github.com/rajivshah3/ide-java"
It says
Cloning https://github.com/rajivshah3/ide-java.git failed Installing modules done Cannot read property 'getReferenceTarget' of nulland I don't quite get it why it doesn't work
Tripp-Sautner commentedon Jan 27, 2020
Its probably cause @rajivshah3 uses a mac while Windows users might have to utilize a different way of getting around the issue, we need to add this directly to our path via System Variables though this PC system.
"%USERPROFILE%\AppData\Local\atom\bin" <---- That
Tripp-Sautner commentedon Jan 27, 2020
It might already be in your path @grindarius so it might be just a java error within this package and maybe there are traces of a previous installation of the package causing issues
rajivshah3 commentedon Jan 28, 2020
grindarius commentedon Jan 28, 2020
I tried your method and still get the same error out of it. Maybe I need a fresh Windows installation?
ytxmobile98 commentedon Feb 19, 2020
This fixed my issue as well.
turneps403 commentedon Apr 7, 2020
I met with this problem on macOS
atom --versionAtom : 1.45.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0
And after the update node version to last 13.12.0 problem was solved.
So, in my case
brew upgrade noderesolved the problemhowlettga commentedon Sep 14, 2020
I can't save any files when java-ide is installed as an extension for atom. i tried updating the dependency to 0.9.9 without success. I have node.js 12.x installed as I have to run the LTS version. Is node LTS not supported for ide-java? Running on Windows 10
ParadoxV5 commentedon Oct 6, 2020
When will the PR for this severe bug release?