Eclipse Error on Refresh Workspace - eclipse

I have a little problem with Eclipse, which is driving me insane.
i cannot figure out why, but Eclipse won't refresh any of my projects. it always reports following error:
An internal error occurred during: "Refreshing workspace".
java.lang.String cannot be cast to [Lorg.eclipse.core.resources.FileInfoMatcherDescription;
Well ... google did not helped so far. I tried to close all my projecst and open them again. I also deleted my whole workspace and set up a new Eclipse. It helped for about 2 hours.
has anyone occured the same problem?
Greetings,
Stef

Look at your Eclipse log file (/.metadata/.log) to get the full stack trace and see if that helps you (it probably won't). But then take it and file a bug at eclipse.org, someone will look at it and might have a workaround or something.

Related

SWT Resourse Not Properly Disposed - Eclipse Error Log Warning

I just installed a couple .jar files to add features to the Eclipse WindowBuilder and for some reason it added a lot of useless toggles under Layout so I deleted them and I have since been getting a warning that my project has errors. I went to the Error Log and got the following message: "Not properly disposed SWT resource". Any help on how to get rid of it?
Thanks!

Eclipse start up error

When I start my eclipse, it gives following error :
An internal error occurred during:
"Repository registry initialization".
java.lang.NegativeArraySizeException
Does anyone know how can I solve this error.??
Once suggestion for this workspace is to rename
.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi to something else,
then try and startup. This resets the basic perspectives and the views that
are open (and removes all open editors).
It won't reset the workspace. This should reset the plugin configuration, that is causing this issue. (The solution I am specifying is a generic solution to startup eclipse problems)

JBox2d TestbedMain.java "Selection does not contain a main type"

I have installed JBox2D through Maven on Eclipse Juno and in order to test the installation worked correctly, I am supposed to try running the TestbedMain.java but Eclipse keeps giving me the error "Selection does not contain a main type" and sometimes "Editor does not contain a main type". I have tried closing and reopening both the project, the file and Eclipse and nothing has helped. If anyone has any idea why this would be happening or how I could fix it, then I would be very happy to try. I am also just getting around to learning Eclipse a bit more in depth so if there is something that is a more in depth step, please spell it out for me.
Make sure you import all the projects as Maven project, so you should see 4 projects listed. Then make sure you're right clicking on the testbed or testbed-jogl projects :)

Eclipse won't start after crash

I received an error about how Eclipse was caught in a loop and something about garbage collecting...after I finally got it closed, I tried reopening and it won't work. I tried the following from the command line:
eclipse -clean
and it still doesn't work. I posted the error log at
https://docs.google.com/document/d/1EPwYgHujbD8fX-W-b1DatJutgNv-ZnIkm8SP180R4XQ/edit
This is a fresh error log (single attempt to open eclipse)
Anyone know about eclipse errors that can help me out?
Delete the .metadata folder from the workspace or change the workspace folder.
To make the eclipse ask where should your workspace be follow the steps below.
Find the file org.eclipse.ui.ide.prefs in your eclipse\configuration.settings folder.
Change SHOW_WORKSPACE_SELECTION_DIALOG=false to true.
I had a similar crash and starting eclipse with -clean option did not help. I ended up deleting the .metadata\.plugins\org.eclipse.e4.workbench file, which fixed this problem.
Sometimes your workspace becomes corrupted and Eclipse can't open that workspace.
Can you open/create another workspace?
I ended up just reinstalling eclipse...
I was getting an issue where Eclipse wouldn't start. The splash screen appeared for a second, but never showed the workspace select screen, just like the OP said. I was about to reinstall when I took one last look at my eclipse.ini file. I found that I had left the m off one of the memory allocation settings. This caused it to crash with no error messages. So, perhaps malformed ini files can cause this issue.

STS - Build On Save

I have inherited a Grails project and am pretty new to Grails as well as Eclipse. I have the project in STS 2.6.1. Every time I save a file the project does a complete compilation from scratch. I have unchecked Project -> Build Automatically. Any ideas?
That doesn't sound right. There should be an incremental compilation occurring on save. It could be that there is something wrong with the configuration of the project that is causing a "Refresh Dependencies" over and over again.
What is the feedback that you are getting that tells you there is a full build occurring?
Take a look at what is going on in the console view when this is happening, also look at the Progress view. Both will tell you if there are any grails-specific processes happening.
Lastly, have a peak at the error log and see if there are any relevant entries. With a little more information, we can probably figure out what is going on.