Eclipse IDE won't start - eclipse

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

Related

Hide Console log on Eclipse based RCP Application

I have a eclipse based RCP application.While running it as a separate process we are getting console log which contains errors infos and exceptions.Is there any way to hide/avoid the console log by setting any configuration parameter in the config.ini file?
Run the application without the program argument -consoleLog (cf. Eclipse Help). This is usually set in the run configuration or product configuration.
Only by passing this argument should you get a console log at all. Note, however, that even if you don't specify this in your .product file, users may be able to "call" a console log by simply passing -consoleLog as an argument when running your application from the command line.
Also, I'm not sure whether third-party plugins or features would be able to activate the console log.

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.

"Errors exist in the active configuration..." Eclipse Dialog when Debugging

An "Errors exist in the active configuration of project X. Proceed with launch?" dialog appears while debugging code in Eclipse. Hitting the "Proceed" button results in successful debugging. There are no apparent errors with the launch configuration. A similar Run Configuration does not generate the error.
This is caused by an invalid path somewhere in your Eclipse project settings. There are a couple common sources for this kind of error.
You're working on a shared (version controlled, copied, etc) project where someone has hardcoded a path that doesn't exist on your machine, or uses an environment variable that you've not set.
Sometimes, you can find the offending path by looking at the full list of Error messages. If not, look in your project file.
The Discovery Options in your project properties has 'Automate discovery of paths and symbols' enabled - but the process is generating an error.
If you're using a version of Eclipse that warns you this option is deprecated, uncheck the option to disable it and fix any includes in 'Preprocessor Include Paths' instead. If not. . .try it anyway.
Depending on your path changes, restart Eclipse and try again.
It starts the executable that was built last before you broke the build. That executable will be older then your source files. The reason you were able to debug is because your line numbers did not change for the code you've debugged - e.g. you may try break in main then introduce a compilation error and move main a couple lines below - the debug will highlight the wrong lines when it stops.

Why does eclipse close by itself while running?

It's been happening lately for some unknown reason.I have the latest version of Eclipse ADT (25 Sept 2014) and it just shuts off while I'm working. Any ideas?
Start Eclipse from a terminal to see the standard output. Chances are that the Java VM runs into a problem because of SWT which can crash the VM. Note: If you're using Windows, you may have to use java.exe instead of javaw.exe to get output.
Also look into the Error Log. Eclipse has a view for that or look into the file .../workspace/.metadata/.log The file might contain an error message.
If you find an error in either the console or the error log, let us know and we might be able to help.
The issue could also be because of the JVM that was chosen for the project.

Eclipse plugin - find out last exception

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