Yesterday I have installed Eclipse 4.24. The installation didn't show any problems but when compiling/running my current project it showed strange messages such as "Missing class: old_project". Looking at the command line I remarked yet another old project appearing there. And today morning, Eclipse didn't start correctly but was aborted with a message like "Error in Decoration Processing".
What am I doing wrong?
Related
I have installed Erlang OTP 25.0, erlide 0.56.0, Eclipse 2022-09 & Java 18. I have created a new Erlang project and module. I am facing 2 issues.
Issue #1:
Getting an error when I tried to launch the Eclipse after creating the Erlang project.
Issue #2:
When I tried to run the application, I am getting an exception "Launching App1 has encountered a problem. An internal error occurred during launching App1. Expected the service OtpNodeProxy 5756dc#null FAILED to be running, but the service has FAILED" as shown in the screenshot ErlangRunConfigException. Please help me in resolving the issue.
I have followed the procedure given below.
Installed Eclipse and Erlide plugin
Installed Erlang OTP 25.0 from https://www.erlang.org/patches/otp-25.0
Updated the environment PATH to refer to the Erlang installation path. I cross-checked this setting by typing "werl".
In Eclipse, Erlang InstalledRuntimes is automatically updated with the Erlang version 25.0. Refer to the screenshot ErlangInstalledRuntime
Created a Erlang project and module.
Edited the Hello.erl with HelloWorld code.
In Eclipse->RunConfguration, created an ErlangApplication (refer to the screenshot RunConfig-ErlangApp-Erlang). I set RunTime and Node name as shown in the screenshot RunConfig-ErlangApp-Runtime. Selected the Windows PATH as shown in the screenshot RunConfig-ErlangApp-Environment.
Hello.erl
```
-module(hello).
-export([hello_world/0]).
hello_world() -> io:fwrite("hello, world\n").
```
Images:
ErlangRunConfigException.png
ErlangInstalledRuntime.png
RunConfig-ErlangApp-Environment.png
RunConfig-ErlangApp-Runtime.png
werl output
RunConfig-ErlangApp-Erlang.png
Project structure
Eclipse Launching Error
Unfortunately, Erlang 25 doesn't load beam files older than v21, and the files included in erlide are that old. I am not really maintaining the project anymore, I can try to rebuild with v25, but can make no promises. Even then, the debugger will no longer work, it can be good to note.
The reported issue is seen with the latest Erlang version 25.0 and the older versions I have checked till 23.0. As a workaround, I have migrated to IntelliJ IDE.
I just recently noticed that my VS Code (running on MacOS) has stopped putting error squiggles in undeclared variables/methods.
I read somewhere that I needed to have an SLN file (I never had to before), and so I created it and referenced my CSPROJ files.
I also saw that my Omnisharp stopped working as it was getting timed out. I increased the timeout to 600 and got it running.
I still am not seeing the error squiggles, though.
How do I get this feature enabled again?
I have been using the TFS plugin for eclipse with my companies TFS server for several months. Last week, my laptop crashed while eclipse was open and a connection to the TFS was present. Now, every time I launch eclipse, I get an error stating a connection could not be made to the server, throwing a NullPointerException.
To try to fix this, I cleaned eclipse from my system and removed the installed plugin and then reinstalled eclipse and the TFS plugin. Now, I am no longer getting this connection error on launch. I added the original TFS to the list of servers in eclipse and it can see all of the projects (see http://i.imgur.com/SbgyuRx.png).
However, trying to use any of the projects leads to a screen with an error message saying Error querying workspaces: null. The error log shows the plugin in question as com.microsot.tfs.client.common, with the stack trace saying An exception stack trace is not available.
I am using the same exact plugin installation that I originally used. I have no idea why I'm getting these errors.
The error logs may be helpful. You can view them by going to Help > Team Explorer Everywhere Support, then clicking on the Logs tab.
Ultimately, though, this is probably some corrupt configuration files. TEE performs some various background tasks and I suspect one of those was interrupted in the middle of some file I/O when your computer crashed. Deleting the cache directory may be helpful:
~/.microsoft/Team Foundation
When you restart Eclipse, you should get a dialog box that indicates that your TFS server information cannot be located, but when you reconnect to that TFS server, your projects should return to being TFS managed.
Does anyone know how to fix this error? I am not able to view Task List, and the Task List window has the error as written above/below.
Could not create the view: org.eclipse.mylyn.tasks.ui.views.tasks
In my case to solve it I just went to Eclipse Marketplace, searched for Mylyn and installed it. Afterwards the eclipse restarted and the problem was gone.
As far as the error message "Could not create the view: org.eclipse.mylyn.tasks.ui.views.tasks" is concerned, here's what happened in my case and how I solved it:
I had this problem with Eclipse Neon version (not Luna/Mars), i.e. the error message appeared in the 'Task List' view each time I started Eclipse, even if I used "-no-activate-task" in the command line.
The problem was most probably because I was using a "customized" environment created with previous versions and let Neon adapt it the first time I run it.
After I created a new "customized" environment from scratch, the error disappeared.
In Mars, I had the same problem after trying to install the TaskDev Jira connector, which didn't work. Ultimately, I had to delete all the org.eclipse.mylyn.* references in the features and plugins directory and grabbed them from the original Mars download.
I installed CodeCover to my STS so I can use it in my project. I can run code cover and get the measurments, but there is one thing that is bothering me.
If I enable code cover for a given project, everytime when I make a change to a source file and then save it I get this error message:
[FATAL]An error occured when trying to compile instrumented sources
if there are some errors reported by eclipse validator in some project file. Can I disable this feature, because it is really frustrating that I save one file and I get bit message that there are errors, even if I can see them underlined red by the editor.
This is most likely a bug, I suggest you file a bug at the project web-site, or try to fix it yourself by getting the source.