Problem with JFreeChart on Talend AMC Perspective - eclipse

I'm getting this error message when
Talend Cloud Big Data
Version: 7.3.1
Build id: 20200219_1130
OS: Linux, v.5.4.0-58-generic, x86_64 / gtk 3.22.30, WebKit 2.30.3
Java version: 1.8.0_275
tries to generate charts on AMC perspective.
it says :
An error has occurred. See error log for more details.
Could not initialize class org.jfree.chart.JFreeChart
Any Solution to this problem ?
Thank you
Edit - Full Error log :
!ENTRY org.eclipse.e4.ui.workbench 4 2 2021-01-05 17:17:08.774
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.e4.ui.workbench". !STACK 0
java.lang.NoClassDefFoundError: Could not initialize class
org.jfree.chart.JFreeChart at
org.jfree.chart.ChartFactory.createTimeSeriesChart(ChartFactory.java:1918)
at
org.talend.amc.charts.model.AMCChartGenerator.generateLineChartForManyJobs(AMCChartGenerator.java:217)
at
org.talend.amc.charts.model.AMCChartGenerator.generateChart(AMCChartGenerator.java:97)
at
org.talend.amc.charts.ui.composite.ExecTimeComposite.drawJobsChart(ExecTimeComposite.java:60)
at
org.talend.amc.charts.ui.composite.ExecTimeComposite.doGenerateChart(ExecTimeComposite.java:51)
at
org.talend.amc.charts.ui.composite.AbstractChartComposite$InnerChartComposite.doGenerateChart(AbstractChartComposite.java:152)
at
org.talend.amc.charts.ui.composite.AtomicChartComposite.generateChart(AtomicChartComposite.java:126)
at
org.talend.amc.charts.ui.composite.AbstractChartComposite$InnerSelectionBasedComposite.selectionChanged(AbstractChartComposite.java:130)

Related

Cannot Run Ant Build in Eclipse

My ant build stopped working sometime recently. I don't know exactly when, since I only do ant builds occasionally in this project. I get the following popup:
The error is only for this project. I can run a build from another project no problem.
The build.xml file can be extremely simple, and still cause the error:
<project basedir=".">
<target name="init">
</target>
</project>
I checked Eclipse's log and I get this error:
!SESSION 2020-10-15 04:24:23.311 -----------------------------------------------
eclipse.buildId=4.17.0.I20200902-1800
java.version=13.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.jface 2 0 2020-10-15 04:24:25.323
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2020-10-15 04:24:25.323
!MESSAGE A conflict occurred for CTRL+SHIFT+T:
Binding(CTRL+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type,
Open a type in a Java editor,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#5f67181f,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace,
,
Category(org.eclipse.lsp4e.category,Language Servers,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#1169fdfd,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!ENTRY org.eclipse.e4.ui.workbench 4 0 2020-10-15 04:24:27.543
!MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.recommenders.news.rcp/org.eclipse.recommenders.internal.news.rcp.toolbar.NewsToolControl
!ENTRY org.eclipse.egit.ui 2 0 2020-10-15 04:24:28.090
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Joshua'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.ant.launching 4 120 2020-10-15 04:24:37.887
!MESSAGE Error logged from Ant UI:
!STACK 0
java.net.SocketException: Socket closed
at java.base/sun.nio.ch.NioSocketImpl.endAccept(NioSocketImpl.java:689)
at java.base/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:762)
at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:662)
at java.base/java.net.ServerSocket.platformImplAccept(ServerSocket.java:628)
at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:604)
at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:561)
at java.base/java.net.ServerSocket.accept(ServerSocket.java:518)
at org.eclipse.ant.internal.launching.launchConfigurations.RemoteAntBuildListener$ServerConnection.run(RemoteAntBuildListener.java:91)
!ENTRY org.eclipse.core.jobs 4 2 2020-10-15 04:24:37.888
!MESSAGE An internal error occurred during: "Launching Hypnos build.xml".
!STACK 0
java.lang.NullPointerException
at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getBootpathExt(AbstractJavaLaunchConfigurationDelegate.java:364)
at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getVMSpecificAttributesMap(AbstractJavaLaunchConfigurationDelegate.java:679)
at org.eclipse.jdt.launching.JavaLaunchDelegate.getVMRunnerConfiguration(JavaLaunchDelegate.java:92)
at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:160)
at org.eclipse.ant.internal.launching.launchConfigurations.AntLaunchDelegate.runInSeparateVM(AntLaunchDelegate.java:580)
at org.eclipse.ant.internal.launching.launchConfigurations.AntLaunchDelegate.launch(AntLaunchDelegate.java:251)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:807)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:718)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1021)
at org.eclipse.debug.internal.ui.DebugUIPlugin$2.run(DebugUIPlugin.java:1224)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
I was using Eclipse 2020-06. I tried upgrading to Eclipse 2020-09 to fix the problem, but no luck.
JVM according to eclipse is eclipse.vm=C:\java\jdk-13.0.1\bin\server\jvm.dll
The release file in that java folder says:
BUILD_TYPE="commercial"
IMPLEMENTOR="Oracle Corporation"
JAVA_VERSION="13.0.1"
JAVA_VERSION_DATE="2019-10-15"
MODULES="java.base java.compiler java.datatransfer java.xml java.prefs java.desktop java.instrument java.logging java.management java.security.sasl java.naming java.rmi java.management.rmi java.net.http java.scripting java.security.jgss java.transaction.xa java.sql java.sql.rowset java.xml.crypto java.se java.smartcardio jdk.accessibility jdk.internal.vm.ci jdk.management jdk.unsupported jdk.internal.vm.compiler jdk.aot jdk.internal.jvmstat jdk.attach jdk.charsets jdk.compiler jdk.crypto.ec jdk.crypto.cryptoki jdk.crypto.mscapi jdk.dynalink jdk.internal.ed jdk.editpad jdk.hotspot.agent jdk.httpserver jdk.internal.le jdk.internal.opt jdk.internal.vm.compiler.management jdk.jartool jdk.javadoc jdk.jcmd jdk.management.agent jdk.jconsole jdk.jdeps jdk.jdwp.agent jdk.jdi jdk.jfr jdk.jlink jdk.jshell jdk.jsobject jdk.jstatd jdk.localedata jdk.management.jfr jdk.naming.dns jdk.naming.rmi jdk.net jdk.pack jdk.rmic jdk.scripting.nashorn jdk.scripting.nashorn.shell jdk.sctp jdk.security.auth jdk.security.jgss jdk.unsupported.desktop jdk.xml.dom jdk.zipfs"
OS_ARCH="x86_64"
OS_NAME="Windows"
SOURCE=".:hg:b06ae01c3eea open:hg:8d03d066c4e8"
Any idea how to address this?
This seems to be related to the Java used to run the Ant script.
In the run configuration, in the JRE tab, make sure a JRE/JDK is selected (for an existing Ant run configuration it can happen that the previously selected JRE/JDK is lost due to changes in the preferences Java > Installed JREs or when updating Java). If a JRE/JDK is already selected, try another JRE/JDK setting here (if there are VM arguments specify, try it without them, since they might be illegal for the chosen VM).
I got a similar error after upgrading Eclipse to 2022-03. Ant would not run but showed no errors. Then I noticed the java.net.SocketException: Socket closed error in the workspace logs.
Changing the JRE as suggested by the other answer fixed only if I used a recent Java version but I needed to use JDK 1.8. Since I could not fix the issue I simply downgraded Eclipse to 2021-12.
Apparently at least Java 11 will be needed to run Ant in future releases: https://bugs.eclipse.org/bugs/show_bug.cgi?id=579317

MercualEclipse : NullPointerException in SyncViewLabelProvider when using version 2.5.0.201804011616

I have just upgraded to MercualEclipse plugin in Eclipse version 2.5.0.201804011616.
When I try to revert a file or perform almost any Mercualaction I get the following error...
The .log file contains this...
!ENTRY org.eclipse.jface 4 2 2018-04-06 10:04:06.600
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
at com.vectrace.MercurialEclipse.synchronize.cs.SyncViewLabelProvider$SyncLabelProvider.getChangesetFileOverlay(SyncViewLabelProvider.java:234)
at com.vectrace.MercurialEclipse.synchronize.cs.SyncViewLabelProvider$SyncLabelProvider.getImage(SyncViewLabelProvider.java:171)
at org.eclipse.team.ui.synchronize.AbstractSynchronizeLabelProvider.getDelegateImage(AbstractSynchronizeLabelProvider.java:96)
at org.eclipse.team.ui.synchronize.AbstractSynchronizeLabelProvider.getImage(AbstractSynchronizeLabelProvider.java:50)
at org.eclipse.team.ui.mapping.SynchronizationLabelProvider.getImage(SynchronizationLabelProvider.java:121)
at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.findImage(NavigatorContentServiceLabelProvider.java:199)
at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getColumnImage(NavigatorContentServiceLabelProvider.java:107)
at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getImage(NavigatorContentServiceLabelProvider.java:99)
at org.eclipse.ui.internal.navigator.NavigatorDecoratingLabelProvider$StyledLabelProviderAdapter.getImage(NavigatorDecoratingLabelProvider.java:57)
at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getImage(DelegatingStyledCellLabelProvider.java:195)
at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.getImage(DecoratingStyledCellLabelProvider.java:168)
at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.update(DelegatingStyledCellLabelProvider.java:121)
at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.update(DecoratingStyledCellLabelProvider.java:131)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:141)
at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:946)
at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:117)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1025)
at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:475)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2159)
at org.eclipse.jface.viewers.StructuredViewer.internalUpdate(StructuredViewer.java:2142)
at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:2083)
at org.eclipse.jface.viewers.ColumnViewer.update(ColumnViewer.java:542)
at org.eclipse.ui.navigator.CommonViewer.update(CommonViewer.java:512)
at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:2027)
at org.eclipse.jface.viewers.StructuredViewer.handleLabelProviderChanged(StructuredViewer.java:1203)
Note: I've tested this with a fresh install & workspace for
eclipse-jee-oxygen-3-win32-x86_64
eclipse-jee-photon-M6-win32-x86_64
I am using hg.exe version 4.2.1
I have tested with JDK 1.7 and 1.8
Can anyone suggest a fix or workaround?
I have released version 2.5.1 in the Experimental Releases category. But first, see the comments in the issue report.

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

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

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.