Eclipse plugin - find out last exception - eclipse

I am developing an Eclipse plugin and I would like to be able to find out about exceptions and errors the user encounters.
For starters, how can I find out information about the last run time exception that occurred, let's say when a user clicks a button? By information I mean the exception type and the file and line where it was thrown.

Any exception logged to Eclipse is saved in the workspace's .log file located at WORKSPACE_DIR\.metadata\.log
You can also inspect this log visually by using the Eclipse Error Log view.
To open the Error Log, select Window->Show View->Error Log

Related

Error occurring when starting Eclipse IDE

My computer was suddenly shut down due to a power failure shortly after I closed the IDE. Now, when I attempt to start the IDE, I am greeted with an error dialog which directs me to the log file.
The message I am given in the log file is as follows: "An error occurred while automatically activating bundle org.eclipse.core.resources (88)"
Should the entire log file be needed, I have uploaded it here.
How may I remedy this error?

Eclipse IDE won't start

With no specific reason suddenly when I start eclipse it shows the splash screen and then disappers and never starts. After doinng some reasearch and starting it with the command prompt with -clean it says: "An error occurred. See the log file...".
the .log file can be found : here
Thank you
Please check the config.ini file in the configuration folder under eclipse to make sure there is a valid value assigned for eclipse.application and eclipse.product.
You could use the below default values:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.product=org.eclipse.platform.ide

Save Failed Index out of bounds - Eclipse , while saving file after making changes very time i got this exception

Whenever I save file in eclipse, I am getting IndexOutOfBound exception, please check below link for screenshot.
The OS is Windows.
Still missing:
java version
minimum code illustrating the error

Eclipse - how to disable error message that prevents startup

I'm using a QNX-based Eclipse momentics-qnx-7.0-201607252121.win32.x86_64
Apparently it doesn't like it when you store it in a location that has spaces.
When I start Eclipse, I get a modal message
"installation directory of IDE or SDK ... contains space characters, it may cause untraceable errors during make. You should exit the IDE and fix the error"
But when I click OK it just exits the IDE.
It looks like this was an error message added specifically by QNX.
For me, this message is irrelevant because I don't use the built-in make.
QUESTION
Is there a way for me to disable this message (like .ini file)?
It works fine moving it to a location with no space in path.

An error has occured. Please see log file - eclipse

When I start up Eclipse, it gives me an error saying:
An error has occurred. See the log file
/home/Vendetta/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1428564435095.log
on Linux Debian
Can you tell me what I should do?
Well whenever I've run into similar problems, it usually meant that a plug in had become out of synch with my eclipse file directory.
Unfortunately I can't give you much more than a generic "make sure your workspace is safe and re-download eclipse" with the information you've given.