Helios Annoyance: Internal error occurred during: "Cache refresh" - NullPointerException - eclipse

I am not sure what started this problem. I submitted it as a bug to Eclipse but they closed it, stating it is a JBoss extension problem. However, this problem doesn't occur in my other workspace (both utilize the JBoss tools).
It occurs every time I hit Ctrl+Shift+T to open a new type. It only reports the "Cache Refresh" error. Then when I type in a search string and hit OK, it pops up both the "Cache Refresh" error and a "Items filtering" error. Both of these report NPEs.
I inspected the logs but don't see anything jboss-specific in the stacks.
Cache refresh:
!ENTRY org.eclipse.core.jobs 4 2 2011-04-19 11:55:05.983
!MESSAGE An internal error occurred during: "Cache refresh".
!STACK 0
java.lang.NullPointerException
at org.jboss.ide.eclipse.as.classpath.core.ejb3.EJB3ClasspathContainer.getClasspathEntries(EJB3ClasspathContainer.java:106)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2656)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2788)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1920)
at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.enclosingProjectsAndJars(JavaWorkspaceScope.java:84)
at org.eclipse.jdt.internal.core.search.IndexSelector.initializeIndexLocations(IndexSelector.java:181)
at org.eclipse.jdt.internal.core.search.IndexSelector.getIndexLocations(IndexSelector.java:276)
at org.eclipse.jdt.internal.core.search.JavaSearchParticipant.selectIndexes(JavaSearchParticipant.java:107)
at org.eclipse.jdt.internal.core.search.PatternSearchJob.getIndexes(PatternSearchJob.java:79)
at org.eclipse.jdt.internal.core.search.PatternSearchJob.ensureReadyToRun(PatternSearchJob.java:50)
at org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob(JobManager.java:174)
at org.eclipse.jdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:1135)
at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames(SearchEngine.java:744)
at org.eclipse.jdt.internal.ui.dialogs.FilteredTypesSelectionDialog$ConsistencyRunnable.refreshSearchIndices(FilteredTypesSelectionDialog.java:654)
at org.eclipse.jdt.internal.ui.dialogs.FilteredTypesSelectionDialog$ConsistencyRunnable.run(FilteredTypesSelectionDialog.java:637)
at org.eclipse.jdt.internal.ui.dialogs.FilteredTypesSelectionDialog.reloadCache(FilteredTypesSelectionDialog.java:680)
at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$RefreshCacheJob.run(FilteredItemsSelectionDialog.java:1508)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Items Filtering:
java.lang.NullPointerException
at org.jboss.ide.eclipse.as.classpath.core.ejb3.EJB3ClasspathContainer.getClasspathEntries(EJB3ClasspathContainer.java:106)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2656)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2788)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1920)
at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.enclosingProjectsAndJars(JavaWorkspaceScope.java:84)
at org.eclipse.jdt.internal.core.search.IndexSelector.initializeIndexLocations(IndexSelector.java:181)
at org.eclipse.jdt.internal.core.search.IndexSelector.getIndexLocations(IndexSelector.java:276)
at org.eclipse.jdt.internal.core.search.JavaSearchParticipant.selectIndexes(JavaSearchParticipant.java:107)
at org.eclipse.jdt.internal.core.search.PatternSearchJob.getIndexes(PatternSearchJob.java:79)
at org.eclipse.jdt.internal.core.search.PatternSearchJob.ensureReadyToRun(PatternSearchJob.java:50)
at org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob(JobManager.java:174)
at org.eclipse.jdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:1135)
at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames(SearchEngine.java:846)
at org.eclipse.jdt.internal.ui.dialogs.FilteredTypesSelectionDialog.fillContentProvider(FilteredTypesSelectionDialog.java:557)
at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.filterContent(FilteredItemsSelectionDialog.java:2188)
at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.internalRun(FilteredItemsSelectionDialog.java:2130)
at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.doRun(FilteredItemsSelectionDialog.java:2102)
at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.run(FilteredItemsSelectionDialog.java:2089)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

I had to reinstall Helios (SR2) to make these errors go away.

i faced the same problem and did the same thing. to avoid some memory problems with eclipse you can increase the memory use in the eclipse.ini file located in the installation folder, but don't over do it, it depends on your machines ram.

Related

Error Importing a Symfony project in Eclipse with dubture plugin

I have troubles trying to import an already existing Symfony 2.3 project into my Eclipse (standard 4.3.1) workspace using dubture's plugin.
I use the Eclipse wizard for importing, but when I click on 'Finish' a popup window shows:
An error ocurred during import. Please see the workspace logs for details.
The log file gives me a bunch of messages like this one:
!ENTRY org.eclipse.dltk.core 2 0 2014-02-18 18:08:35.104
!MESSAGE Error receiving file: /Symfony/app/cache/dev/twig/d1/4c/d23835735a18dbf9b98dd75484f6.php content: retrying(1)
!STACK 1 org.eclipse.core.internal.resources.ResourceException: Resource /Symfony/app/cache/dev/twig/d1/4c/d23835735a18dbf9b98dd75484f6.php' does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:341)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:215)
at org.eclipse.core.internal.resources.File.getContents(File.java:287)
at org.eclipse.dltk.internal.core.util.Util.getResourceContentsAsCharArray(Util.java:534)
at org.eclipse.dltk.internal.core.util.Util.getResourceContentsAsCharArray(Util.java:491)
at org.eclipse.dltk.internal.core.SourceModule.getBufferContent(SourceModule.java:405)
at org.eclipse.dltk.internal.core.AbstractSourceModule.getSourceAsCharArray(AbstractSourceModule.java:314)
at org.eclipse.dltk.internal.core.AbstractSourceModule.getContentsAsCharArray(AbstractSourceModule.java:335)
at org.eclipse.php.internal.core.compiler.ast.parser.AbstractPHPSourceParser.parse(AbstractPHPSourceParser.java:41)
at org.eclipse.php.internal.core.compiler.ast.parser.PHPSourceParserFactory.parse(PHPSourceParserFactory.java:41)
at com.dubture.twig.core.parser.TwigSourceParserFactory.parse(TwigSourceParserFactory.java:36)
at org.eclipse.dltk.core.SourceParserUtil.parse(SourceParserUtil.java:135)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:171)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:166)
at org.eclipse.php.internal.core.index.PhpIndexingParser.parseSourceModule(PhpIndexingParser.java:27)
at org.eclipse.dltk.core.index2.AbstractIndexer.indexDocument(AbstractIndexer.java:45)
at org.eclipse.dltk.internal.core.index.sql.SqlIndexer.indexDocument(SqlIndexer.java:147)
at org.eclipse.dltk.internal.core.index2.SourceModulesRequest.run(SourceModulesRequest.java:78)
at org.eclipse.dltk.core.search.indexing.AbstractJob.execute(AbstractJob.java:76)
at org.eclipse.dltk.internal.core.search.processing.JobManager.run(JobManager.java:467)
at java.lang.Thread.run(Unknown Source)
!SUBENTRY 1 org.eclipse.core.resources 4 368 2014-02-18 18:08:35.104
!MESSAGE Resource '/Symfony/app/cache/dev/twig/d1/4c/d23835735a18dbf9b98dd75484f6.php' does not exist.
I checked if the specified files exist and they do, so I don't understand these messages. Anyone had the same problem and can point me in the right direction?
You have to make sure youre vendors are installed correctly and also make sure you have a php executable running.
In eclipse menu :
window -> preferences -> Php -> php executables.
If you have nothing there :
Click add -> browse the executable (normaly /usr/bin/php5).
use zend debugger and check the "use defaults php.ini" box.

Subversive "Compare with Revision "always fails in Eclipse Kepler

When I try to compare a current file in Eclipse Kepler with an older revision I always get the
message that there are no difference (which is not true) followed by the error reporting screen saying:
> SVN: '0x00400103: Compare with Revision' operation finished with
> error: null java.lang.NullPointerException
I actually switched from Subclipse to Subversive as Comparing was much more advanced there but after migrating eclipse from on computer to the other (which involed relinking my projects to there repos) I cannot use Compare anymore.
The section in the .metadata/.logs says:
!ENTRY org.eclipse.team.svn.core.svnnature 4 0 2014-01-17 11:09:58.870
!MESSAGE SVN: '0x00400103: Compare with Revision' operation finished with error
!SUBENTRY 1 org.eclipse.team.svn.core.svnnature 4 0 2014-01-17 11:09:58.870
!MESSAGE SVN: '0x00400103: Compare with Revision' operation finished with error: null
!STACK 0
java.lang.NullPointerException
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgDiffSummarize.doDiffReposRepos(SvnNgDiffSummarize.java:229)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgDiffSummarize.doDiff(SvnNgDiffSummarize.java:86)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgDiffSummarize.run(SvnNgDiffSummarize.java:61)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgDiffSummarize.run(SvnNgDiffSummarize.java:1)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1149)
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
at org.tmatesoft.svn.core.javahl17.SVNClientImpl.diffSummarize(SVNClientImpl.java:1036)
at org.polarion.team.svn.connector.svnkit.SVNKitConnector.diffStatus(SVNKitConnector.java:1599)
at org.eclipse.team.svn.core.extension.factory.ThreadNameModifier.diffStatus(ThreadNameModifier.java:158)
at org.eclipse.team.svn.core.utility.SVNUtility.diffStatus(SVNUtility.java:318)
at org.eclipse.team.svn.ui.operation.CompareResourcesInternalOperation$3.run(CompareResourcesInternalOperation.java:148)
at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doSubTask(ProgressMonitorUtility.java:118)
at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:156)
at org.eclipse.team.svn.ui.operation.CompareResourcesInternalOperation.runImpl(CompareResourcesInternalOperation.java:138)
at org.eclipse.team.svn.ui.operation.CompareResourcesOperation$1.runImpl(CompareResourcesOperation.java:64)
at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:82)
at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
at org.eclipse.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:99)
at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:82)
at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
at org.eclipse.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:99)
at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:82)
at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:40)
at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:90)
at org.eclipse.team.svn.ui.utility.DefaultCancellableOperationWrapper.run(DefaultCancellableOperationWrapper.java:55)
at org.eclipse.team.svn.ui.utility.SVNTeamOperationWrapper.run(SVNTeamOperationWrapper.java:35)
at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
This appears to be Eclipse bug 425740 which is closed as a bug in the third party SVN code: http://issues.tmatesoft.com/issue/SVNKIT-427

Eclipse Egit : Label decorations does not show and option does not remain checked

Without any apparent reason (no update whatsoever), since a few days the EGit text decoration doesn't show up in Eclipse any more.
It is unchecked in "Window > Preferences > General > Appearance > Label Decorations > Git", and I cannot check it!! If I check it and "Apply" and "OK", nothing happens and it remains unchecked...
My Eclipse log goes like :
!ENTRY org.eclipse.ui.workbench 4 2 2013-04-05 14:18:08.926
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
org.eclipse.jgit.errors.RevWalkException: Walk failure.
at org.eclipse.jgit.revwalk.RevWalk.iterator(RevWalk.java:1237)
at org.eclipse.jgit.revwalk.RevWalkUtils.find(RevWalkUtils.java:129)
at org.eclipse.jgit.revwalk.RevWalkUtils.count(RevWalkUtils.java:94)
at org.eclipse.jgit.lib.BranchTrackingStatus.of(BranchTrackingStatus.java:100)
at org.eclipse.egit.ui.internal.decorators.DecoratableResourceHelper.getBranchStatus(DecoratableResourceHelper.java:48)
at org.eclipse.egit.ui.internal.decorators.DecoratableResourceAdapter.<init>(DecoratableResourceAdapter.java:72)
at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorateResource(GitLightweightDecorator.java:189)
at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:166)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
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)
Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing commit 11d64b0d91bf24bfb551fbf20c3f6b244dacd74a
at org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:127)
at org.eclipse.jgit.revwalk.RevWalk.getCachedBytes(RevWalk.java:861)
at org.eclipse.jgit.revwalk.RevCommit.parseHeaders(RevCommit.java:142)
at org.eclipse.jgit.revwalk.PendingGenerator.next(PendingGenerator.java:148)
at org.eclipse.jgit.revwalk.DelayRevQueue.next(DelayRevQueue.java:86)
at org.eclipse.jgit.revwalk.FixUninterestingGenerator.next(FixUninterestingGenerator.java:77)
at org.eclipse.jgit.revwalk.StartGenerator.next(StartGenerator.java:181)
at org.eclipse.jgit.revwalk.RevWalk.next(RevWalk.java:422)
at org.eclipse.jgit.revwalk.RevWalk.iterator(RevWalk.java:1235)
... 15 more
!ENTRY org.eclipse.ui 4 4 2013-04-05 14:18:08.927
!MESSAGE Exception in Decorator. The 'Git' decorator will be disabled.
!ENTRY org.eclipse.ui 4 4 2013-04-05 14:18:08.927
!MESSAGE Walk failure.
!STACK 0
org.eclipse.jgit.errors.MissingObjectException: Missing commit 11d64b0d91bf24bfb551fbf20c3f6b244dacd74a
at org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:127)
at org.eclipse.jgit.revwalk.RevWalk.getCachedBytes(RevWalk.java:861)
at org.eclipse.jgit.revwalk.RevCommit.parseHeaders(RevCommit.java:142)
at org.eclipse.jgit.revwalk.PendingGenerator.next(PendingGenerator.java:148)
at org.eclipse.jgit.revwalk.DelayRevQueue.next(DelayRevQueue.java:86)
at org.eclipse.jgit.revwalk.FixUninterestingGenerator.next(FixUninterestingGenerator.java:77)
at org.eclipse.jgit.revwalk.StartGenerator.next(StartGenerator.java:181)
at org.eclipse.jgit.revwalk.RevWalk.next(RevWalk.java:422)
at org.eclipse.jgit.revwalk.RevWalk.iterator(RevWalk.java:1235)
at org.eclipse.jgit.revwalk.RevWalkUtils.find(RevWalkUtils.java:129)
at org.eclipse.jgit.revwalk.RevWalkUtils.count(RevWalkUtils.java:94)
at org.eclipse.jgit.lib.BranchTrackingStatus.of(BranchTrackingStatus.java:100)
at org.eclipse.egit.ui.internal.decorators.DecoratableResourceHelper.getBranchStatus(DecoratableResourceHelper.java:48)
at org.eclipse.egit.ui.internal.decorators.DecoratableResourceAdapter.<init>(DecoratableResourceAdapter.java:72)
at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorateResource(GitLightweightDecorator.java:189)
at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:166)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
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)
My conf :
Eclipse Platform
Version: 4.2.2
Build id: M20130204-1200
Eclipse Dynamic Languages Toolkit - Index Frameworks
Version: 4.0.0.201206120848
Eclipse EGit
Version: 2.2.0.201212191850-r
Thanks for your help!
According to the stack trace, it seems to choke because of
Missing commit 11d64b0d91bf24bfb551fbf20c3f6b244dacd74a
You might want to reset (hard) your repository to origin/master, or to clone it again from an upstream repository, assuming that this is a local problem of your repository only, which might vanish by "replacing" it with the upstream content.
I ended up re-installing Eclipse and cleaning my workspace. Now everything is fine...

"Error while loading manipulator"

I'm continually getting the following error under Eclipse Galileo while trying to install the WTP Web Page Editor plugin:
java.lang.IllegalStateException: Error while loading manipulator.
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:54)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.installBundle(InstallBundleAction.java:76)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.execute(InstallBundleAction.java:29)
at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
One blog said Eclipse Galileo doesn't play well with Java 1.6 (what??), so I've tried running Eclipse with Java 1.5 but that hasn't helped. Has anyone else had this problem and been able to get around it?
Edit BTW, below the error in the error log it also says
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]javax.mail 1.4.0.v200905040518, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
You can try to follow the various suggestions mentioned in the bug 277242
Also check your eclipse.ini:
More generally, the error you're seeing can happen when we cannot read "-startup" since we use this to position the install.area.
As suggested by Jelle van Geuns in the comments (and confirmed by Halfstop):
I found that one MacOS there are two folders (MacOS and Eclipse) with two separate sets of configuration files.
Each had an 'org.eclipse.equinox.launcher' startup jar in the plugins sub-folder, but with slightly different versions.
The Eclipse executable resides in the MacOS folder.
But the eclipse.ini there was set up to look for the startup jar under Eclipse/plugins, but with the wrong version.
Solution that worked for me was to copy both versions of the startup.jar to both the plugins sub-folders.
Halfstop confirms:
I copied all of the what was in Eclipse to the MacOS directory and this solved it.
I just ran into this problem today. The answer provided by VonC et al helped to locate the problem but didn't quite fix it.
In my case, the location specified in -startup within the MacOS/eclipse.ini was incorrectly looking in the ../Eclipse/plugins folder rather than the ../MacOS/plugins folder.
I corrected the path and the error went away.
try to chown -R your_user_name:your_user_name /path/to/eclipe
Try edit
Eclipse/configuration/config.ini.
Make sure osgi.instance.area.default= value is right workspace. This works for me.
I'm not sure if the above answers adequately resolve this issue. I've found that, with a number of our eclipse derivative RCP products, that on some linux machines plugins will fail with log entries like this one:
!ENTRY org.eclipse.equinox.p2.engine 4 4 2017-02-23 12:00:49.492
!MESSAGE An error occurred while installing the items
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2017-02-23 12:00:49.492
!MESSAGE session context was:(profile=TIBCOBusinessStudio-4.0, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.tibco.eclipse.p2.installer 1.1.3.20161130, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2017-02-23 12:00:49.492
!MESSAGE Error while loading manipulator.
!STACK 0
java.lang.IllegalStateException: Error while loading manipulator.
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:59)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.installBundle(InstallBundleAction.java:75)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.execute(InstallBundleAction.java:32)
at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:38)
at org.eclipse.equinox.internal.p2.engine.Phase.mainPerform(Phase.java:183)
at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:95)
at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:47)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
at org.eclipse.equinox.p2.operations.ProvisioningSession.performProvisioningPlan(ProvisioningSession.java:159)
at org.eclipse.equinox.p2.operations.ProfileModificationJob.runModal(ProfileModificationJob.java:79)
at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
The reason this happens (I suspect) is that the actual file name of the config file is compared with the absolute name by the lazyloader. In my case the home dir is a symlink, so the two names don't match. The resolution was to edit the eclipse.ini (or whatever yours is called) and ensure that all the paths referencing the eclipse home dir are fully qualified and do not rely on symlinks.

Getting an error(MESSAGE A handler conflict occurred. This may disable some commands) when launching eclipse

I developed one plugin(RMP) in eclipse 3.3.2 where i am creating menu items dynamically. I ran the application and it is working fine and am able to see the menu items created dynamically.
Now I exported this plugin(RMP). I added this in plugin folder of eclipse 3.4 installation. Now I launched eclipse and I am able to see all the functionalities implemented in my plugin(RMP) but the menu items created dynamically are invisible. When i click on menu, nothing is coming.
Pls find the error log below for more information. I took this log from my workspace -> .metadata folder.
Log:
!ENTRY org.eclipse.ui.workbench 2 0 2009-03-30 11:59:23.266
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-03-30 11:59:23.267
!MESSAGE Conflict for 'AUTODCTOOL':
HandlerActivation(commandId=AUTODCTOOL,
handler=ActionDelegateHandlerProxy(null,com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction),
expression=AndExpression(ActionSetExpression(APSToolsIntegrator.APSSystemFullSet,org.eclipse.ui.internal.WorkbenchWindow#166c114),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow#166c114)),sourcePriority=16640)
HandlerActivation(commandId=AUTODCTOOL,
handler=ActionDelegateHandlerProxy(null,com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction),
expression=AndExpression(ActionSetExpression(APSToolsIntegrator.APSSystemFullSet,org.eclipse.ui.internal.WorkbenchWindow#166c114),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow#166c114)),sourcePriority=16640)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-03-30 11:59:23.267
!MESSAGE Conflict for 'BTIDRIVER':
HandlerActivation(commandId=BTIDRIVER,
handler=ActionDelegateHandlerProxy(null,com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction),
expression=AndExpression(ActionSetExpression(APSToolsIntegrator.APSSystemFullSet,org.eclipse.ui.internal.WorkbenchWindow#166c114),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow#166c114)),sourcePriority=16640)
HandlerActivation(commandId=BTIDRIVER,
handler=ActionDelegateHandlerProxy(null,com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction),
expression=AndExpression(ActionSetExpression(APSToolsIntegrator.APSSystemFullSet,org.eclipse.ui.internal.WorkbenchWindow#166c114),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow#166c114)),sourcePriority=16640)
Requesting help in this regard,
Thanks in advance.
Snehal.
Try launching your eclipse3.4 with the -clean option.
If a -clean is not enough, the problem lies in the definition of com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction.
If it is an action set, check its definition: a keybinding used might be in conflict with legacy eclipse3.4 keys definition.