Eclipse "Refresh Status" error - eclipse

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:

Related

Eclipse Neon Does Not Start

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

Error when trying to export a feature in Eclipse Luna

I'm trying to export a feature/plug-in in Luna, but I get the following error:
!ENTRY org.eclipse.core.jobs 4 2 2014-12-09 12:01:30.964 !MESSAGE An
internal error occurred during: "Export Features". !STACK 0
java.lang.NullPointerException at
org.eclipse.osgi.internal.resolver.NativeCodeSpecificationImpl.isSatisfiedBy(NativeCodeSpecificationImpl.java:88)
at
org.eclipse.osgi.internal.module.ResolverImpl.isResolvable(ResolverImpl.java:285)
at
org.eclipse.osgi.internal.module.ResolverImpl.resolveBundles(ResolverImpl.java:639)
at
org.eclipse.osgi.internal.module.ResolverImpl.resolve(ResolverImpl.java:477)
at
org.eclipse.osgi.internal.resolver.StateImpl.resolve(StateImpl.java:545)
at
org.eclipse.osgi.internal.resolver.StateImpl.resolve(StateImpl.java:605)
at
org.eclipse.pde.internal.build.site.BuildTimeSite.getRegistry(BuildTimeSite.java:186)
at
org.eclipse.pde.internal.build.BuildScriptGenerator.generateFeatures(BuildScriptGenerator.java:276)
at
org.eclipse.pde.internal.build.BuildScriptGenerator.generate(BuildScriptGenerator.java:127)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(FeatureExportOperation.java:257)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(FeatureExportOperation.java:224)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation.run(FeatureExportOperation.java:108)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
And I have no errors in my plug-in project. When I do this in Kepler, it works fine. What could be the problem ?
I've updated Eclipse from version 4.4.0 to 4.4.1 and now it works.

(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

problem starting project in google web toolkit eclipse plugin

am new to the google webtoolkit for eclipse. After successivefully installing the GWT plugin for eclipse and start my first project i got an error "invocation of com.google.gwt.user.tools.WebAppCreator failed, See the error log for more details". Anyone who knows the solution can help. thanks.
Here is the error log;
!ENTRY org.eclipse.jdt.ui 4 10001 2011-03-08 11:47:54.258
!MESSAGE Internal Error
!STACK 1
Java Model Exception: Core Exception [code 0] Invocation of com.google.gwt.user.tools.WebAppCreator failed. See the error log for more details.
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:50)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4777)
at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.core.runtime.CoreException: Invocation of com.google.gwt.user.tools.WebAppCreator failed. See the error log for more details.
at com.google.gwt.eclipse.core.runtime.tools.WebAppProjectCreatorRunner.createProject(WebAppProjectCreatorRunner.java:53)
at com.google.gdt.eclipse.suite.wizards.WebAppProjectCreator.createGWTProject(WebAppProjectCreator.java:549)
at com.google.gdt.eclipse.suite.wizards.WebAppProjectCreator.create(WebAppProjectCreator.java:297)
at com.google.gdt.eclipse.suite.wizards.NewWebAppProjectWizard.finishPage(NewWebAppProjectWizard.java:151)
at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(NewElementWizard.java:117)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4777)
at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!SUBENTRY 1 com.google.gwt.eclipse.core 4 0 2011-03-08 11:47:54.259
!MESSAGE Invocation of com.google.gwt.user.tools.WebAppCreator failed. See the error log for more details.
I resolved this by changing workspace. Permissions on the old workspace directory were fine, I still dunno what was wrong with it.
Unchecking the "Generate project sample code" checkbox on the "New web Application Project" window solved the problem for me.
Delete the metadata folder from you existing work space and restart eclipse. It is a hidden folder for me OS=Ubuntu-12.04. Ctrl+h to show.
Have you configured GWT SDK in your project?
Deselecting "Use Google Web Toolkit" is the solution for me. May be my google web toolkit (GWT) installation has some problems.
I followed the following steps to get this resolved:
1. go to control panel > Advanced System Settings > Environment Variables
2. Remove classpath from both user variables as well as from the system variables.
I hope this works.
I fixed this by unchecking "Generate project sample code" checkbox on the "New web Application Project" window

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).