Eclipse Neon Does Not Start - eclipse

Eclipse Neon displays an error message box during startup and will not open. The message gives a file path to a log file. In that file I see this error message:
!ENTRY org.eclipse.e4.ui.workbench.swt 4 2 2016-11-13 08:50:49.856
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workbench.swt".
!STACK 0
java.lang.IllegalAccessError: com.aptana.editor.css.CSSSourceEditor.isWordWrapEnabled()Z
at org.eclipse.ui.texteditor.WordWrapToggleAction.isWordWrapEnabled(WordWrapToggleAction.java:66)
at org.eclipse.ui.texteditor.WordWrapToggleAction.update(WordWrapToggleAction.java:57)
at org.eclipse.ui.texteditor.TextEditorAction.<init>(TextEditorAction.java:68)
at org.eclipse.ui.texteditor.WordWrapToggleAction.<init>(WordWrapToggleAction.java:34)
at org.eclipse.ui.texteditor.AbstractTextEditor.createActions(AbstractTextEditor.java:5898)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createAction
The OS is Ubuntu 16.04

i found this solution and it worked for me.
I went to directory:
.metadata.plugins\org.eclipse.e4.workbench
And renamed
workbench.xmi to workbenchOLD.xmi
I found it here:
org.eclipse.swt.SWTException: “Widget is disposed” when trying to open AndroidManifest.xml
I hope it helped!
See you,
Federico

Related

Eclipse "Refresh Status" error

When I import a project into eclipse or reopen a closed project I get a "Refresh status" error, see below:
When I delete a project from workspace, I get similar error then as well, see below:
What is the cause of this error, and how can I get rid of this error?
Any help would be appreciated !
==>
By looking at error messages related to "Refresh status..." it seems
that problem is with Mercurial plugin. See below section of log file:
!ENTRY org.eclipse.core.jobs 4 2 2017-09-07 13:06:17.090
!MESSAGE An internal error occurred during: "Refresh status...".
!STACK 0
java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache.clearStatusCache(MercurialStatusCache.java:1377)
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache.clear(MercurialStatusCache.java:1459)
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache.refreshStatus(MercurialStatusCache.java:855)
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache$ProjectUpdateJob.updateProject(MercurialStatusCache.java:143)
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache$ProjectUpdateJob.run(MercurialStatusCache.java:129)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Added details of installed softwares. See below for installed softwares:

Internal error for Jetty plugin in Eclipse

When using the Eclipse Jetty plugin (http://marketplace.eclipse.org/content/eclipse-jetty?mpc=true&mpc_state=), I started to get the following error:
An internal error occurred during: "Launching myProject".
Unknown scope: test,provided
This started to occur for two separate projects, both on Windows and MacOs X systems. Note that a regular Jetty deployment, as well as the Jetty runner Maven plugin, work like a charm, the problem seems to be with the Eclipse plugin only. The problem persists after upgrading the plugin to the newest version. Changing Jetty versions doesn't help as well.
edit: Thanks for the tips so far. The question is what might be the source of this problem and how to get rid of it. The relevant log message is as follows:
!ENTRY org.eclipse.core.jobs 4 2 2016-04-27 09:01:40.914
!MESSAGE An internal error occurred during: "Launching myProject".
!STACK 0
java.lang.IllegalArgumentException: Unknown scope: test,provided
at net.sourceforge.eclipsejetty.util.MavenScope.to(MavenScope.java:109)
at net.sourceforge.eclipsejetty.util.MavenDependencyInfo.create(MavenDependencyInfo.java:98)
at net.sourceforge.eclipsejetty.util.MavenDependencyInfoMap.resolve(MavenDependencyInfoMap.java:141)
at net.sourceforge.eclipsejetty.util.Dependency.create(Dependency.java:39)
at net.sourceforge.eclipsejetty.launch.util.JettyLaunchConfigurationDelegate.getOriginalClasspathEntries(JettyLaunchConfigurationDelegate.java:340)
at net.sourceforge.eclipsejetty.launch.util.JettyLaunchConfigurationDelegate.createJettyConfigurationFile(JettyLaunchConfigurationDelegate.java:791)
at net.sourceforge.eclipsejetty.launch.util.JettyLaunchConfigurationDelegate.getVMArguments(JettyLaunchConfigurationDelegate.java:217)
at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:64)
at net.sourceforge.eclipsejetty.launch.util.JettyLaunchConfigurationDelegate.launch(JettyLaunchConfigurationDelegate.java:192)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Try running Eclipse with a console and debug info to see if more error details are available: add -console, -consoleLog and -debug to your eclipse.ini to achieve this.
Try using the Run Jetty Run plugin instead of the Maven Jetty plugin

Eclipse crashes when loading the runtime workbench

I am experiencing trouble when starting the Runtime workbench in eclipse. The new eclipse opens up but crashes on the "Loading Workbench" instruction.
I've tried a few things already, namely:
rm -r .metadata
or
./eclipse -clean -clearPersistedState
I also tried to delete the .snap file, the workbench.xmi file, I tried uninstalling and reinstalling Eclipse, this didn't help.
Here's the log from the crash:
!ENTRY org.eclipse.core.net 1 0 2013-11-03 21:44:52.276
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
!ENTRY org.eclipse.ui.workbench 4 2 2013-11-03 21:44:54.013
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.getLastMigration(MigrationSupport.java:232)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.baseChangedSinceLastPresentationOfWizard(MigrationSupport.java:193)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.performMigration(MigrationSupport.java:71)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.earlyStartup(AutomaticUpdateScheduler.java:89)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2551)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.ui 4 4 2013-11-03 21:44:54.028
!MESSAGE Unhandled Exception
!ENTRY org.eclipse.equinox.p2.ui.sdk.scheduler 4 0 2013-11-03 21:44:54.030
!MESSAGE Unable to execute early startup code for an extension
!STACK 0
java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.getLastMigration(MigrationSupport.java:232)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.baseChangedSinceLastPresentationOfWizard(MigrationSupport.java:193)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.performMigration(MigrationSupport.java:71)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.earlyStartup(AutomaticUpdateScheduler.java:89)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2551)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Does somebody have a solution to this particular problem? I'm becoming crazy from not finding a solution.
Otherwise, I'll have to format and reinstall everything maybe?
Thank you guys if you can help!
OK after messing around with all eclipse files and stuff, I found the solution:
I had to use a new workspace that wasn't in the parent folder of the current workspace, explanation:
Old workspace:
somefolder/parentfolder/workspace/
Every workspace in the parentfolder/ is corrupted, so each time I was trying a new workspace in this folder, it didn't work
By using this kind of workspace, the problem wasn't there anymore:
somefolder/workspace
My advice to you if this happens: do not only use the parent folder to try a workspace but a completely random other folder.
Hope this helps other people in the same position.
I was getting the same error. I was able to run it using ./eclipse -clean -clearPersistedState but then got another error of "Locking not possible in the directory" and this got resolved by giving 777 permission to eclipse folder and its contents.
This worked for me.
cd /Applications/adt-bundle-mac-x86_64-20140702/eclipse/Eclipse.app/Contents/MacOS
Then inside there you will see two files eclipse and eclipse.ini.
You want to run this command ./eclipse -clean -clearPersistedState
Eclipse will start up, build your workspace, then restart. Then everything is fine. Good to go!

(Eclipse) Decoration Calculation Error on Ubuntu

when i navigate in project tree (such as open package, etc) their always show error message box :
An internal error occurred during: "Decoration Calculation".
org/eclipse/jdt/internal/debug/ui/MemberActionFilter
and this is the log in /.workspace/.log :
!ENTRY org.eclipse.core.jobs 4 2 2013-11-01 17:29:23.513
!MESSAGE An internal error occurred during: "Decoration Calculation".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/debug/ui/MemberActionFilter
at org.eclipse.jdt.internal.debug.ui.ActionFilterAdapterFactory.getAdapter(ActionFilterAdapterFactory.java:42)
at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:295)
at org.eclipse.core.runtime.PlatformObject.getAdapter(PlatformObject.java:66)
at org.eclipse.ui.internal.util.Util.getAdapter(Util.java:110)
at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.getActionFilter(ActionExpression.java:471)
at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.preciselyMatches(ActionExpression.java:524)
at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.isEnabledFor(ActionExpression.java:499)
at org.eclipse.ui.internal.ActionExpression$SingleExpression.isEnabledFor(ActionExpression.java:743)
at org.eclipse.ui.internal.ActionExpression.isEnabledFor(ActionExpression.java:1053)
at org.eclipse.ui.internal.decorators.DecoratorDefinition.isEnabledFor(DecoratorDefinition.java:281)
at org.eclipse.ui.internal.decorators.DecoratorManager.getDecoratorsFor(DecoratorManager.java:382)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecoratorsFor(LightweightDecoratorManager.java:315)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:340)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
FYI, I'am using Eclipse for Java EE (Kepler)
on Ubuntu 13.10 64bit
sorry for my english :D
I had the same problem with kepler on Debian Jessie.
But i realized that eclipse started with a second flying window i detached in my last session to compare to classes. I told eclipse to "Reset Perspective" in Windows menu and restarted. That did the trick.
Close to Eclipse
Copy to yout project (projects) from workspace to temp dir
Remove ./workspace/.metadata
Run Eclipse and import yout project with copy source code

my eclipse stopped working today

Today I was running into problems with eclipse, like every time I closed a project a window popped up saying something like "error saving workspace" and complaining about apache xerces.
I decided to download a fresh install, and now it won't even start. I tried many variants (classic, javase, c++), hoping there was some distribution issues, but nothing worked. Eclipse starts saying "an error has occurred, see configurationlog ..."
Any idea? Are there some cached files in the system that might have become corrupted? I tried doing a "find / | grep eclipse" but found nothing interesting.
Thanks a lot for your help, I'm quite in trouble without it
Regards,
Nicola Montecchio
p.s. I tried also with 32 bit jvm but nothing changed
[edit] here is relevant bits of the log produced when starting:
!ENTRY org.eclipse.osgi 4 0 2010-07-23 21:35:16.835
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
!ENTRY org.eclipse.osgi 4 0 2010-07-23 21:35:16.839
!MESSAGE
!STACK 0
org.osgi.framework.ServiceException: Exception in org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorHook$ParsingService.getService()
!ENTRY org.eclipse.equinox.registry 4 0 2010-07-23 21:35:16.840
!MESSAGE Could not parse XML contribution for "org.eclipse.ant.core//plugin.xml". Any contributed extensions and extension points will be ignored.
!STACK 0
org.xml.sax.SAXException: Could not acquire XML parsing service.
and several other mostly related to xml ...
Sounds like your current workspace is severely broken. Create a new workspace and import the projects from the old locations (File -> Import), and see if that helps.
Things I'd try are renaming your workspace (so Eclipse will use a fresh one when starting up) or running Eclipse with the -clean parameter (in the console with ./eclipse -clean in your eclipse/ folder).