I recently installed/updated eclipse environment. When I try to compile the code I’m getting the error as:
Unhandled event loop exception
and says the error is in the
Can any one help me on this?
Ok please follow the following steps:
- First close your eclipse.
- Go to your Eclipse Folder
- You will find the “Features” & “Plugins” folders in it.
- Open the “Features” folder and search for the “org.eclipse.ui” folder or .jar file. If found then cut it & paste on desktop.
- Open the “Plugins” Folder and search for the “org.eclipse.ui” folder or .jar file. If found then cut it & paste on desktop.
Now start your eclipse & try to compile.
It’s possible that while updating it has downloaded the wrong updates.
Finally after spending 2 hours trying to fix Eclipse, I just re-installed Eclipse and everything worked in the following 15 minutes.
no need to worry.. if you running android application.. give eclipse some time… restart your computer after some times open eclipse clean all projects.. now try.. it working perfectly now.. 😀
Cleaning all projects worked for me!
I also had “Unhanded event loop exception” in Eclipse neon.3 on Linux Mint, and there were other problems such as the perspective button bar either not showing or else throwing an error when you attempted to configure it.
I found the solution in comment #7 of an Eclipse bug discussion.
The solution is to start eclipse after first executing these commands:
export SWT_WEBKIT2=1 export SWT_GTK3=0
The solution here was not working for me but after digging through the internet it became clear that some other software is messing up eclipse.
In my case it was the hydra vision in the catalyst control center. As I can see any application that messing with window handling will or can cause this error, based on the variety of setups and background from other people who experienced this problem.
One of the best ways to determine which application is causing the problem (if it’s an applicaion) is:
- open the task manager
- start killing processes (start with unknown or new or any video related driver).
- After each process kill check eclipse (restart it each time, just in case)
and after killing hydra vision the error did not pop again (no restart was needed but who knows how other application works).
Hope this will help others to not spend a day on this annoying problem.
Best for all
In conjunction to cleaning all of the projects as suggested by Michael Martin, I also appended this line in the eclipse.ini:
Per this documentation.