Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » NPE in decorator
NPE in decorator [message #629985] Thu, 30 September 2010 08:43 Go to next message
Jesper Eskilson is currently offline Jesper EskilsonFriend
Messages: 132
Registered: July 2009
Senior Member
My Git decorators have been disabled due to a NPE:

> java.lang.NullPointerException
> at org.eclipse.egit.core.project.RepositoryMapping.getRepoRelat ivePath(RepositoryMapping.java:184)
> at org.eclipse.egit.ui.internal.decorators.GitLightweightDecora tor.decorate(GitLightweightDecorator.java:219)
> at org.eclipse.ui.internal.decorators.LightweightDecoratorDefin ition.decorate(LightweightDecoratorDefinition.java:263)
> at org.eclipse.ui.internal.decorators.LightweightDecoratorManag er$LightweightRunnable.run(LightweightDecoratorManager.java: 81)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.decorate(LightweightDecoratorManager.java:365)
> at org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.getDecorations(LightweightDecoratorManager.java:347)
> at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ens ureResultCached(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:54)

Is there a workaround for this?

(EGit 0.9.3)

--
Jesper Eskilson
Developer
IAR Systems
Re: NPE in decorator [message #632290 is a reply to message #629985] Tue, 12 October 2010 13:21 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 612
Registered: July 2009
Senior Member
Please retry with nightly build [1], there was a bug fix in that area [2].

[1] http://download.eclipse.org/egit/updates-nightly
[2] http://egit.eclipse.org/w/?p=egit.git;a=commit;h=4c487c493ab3c6c0e8178a51b484b47229844a14

Re: NPE in decorator [message #632480 is a reply to message #632290] Wed, 13 October 2010 06:50 Go to previous messageGo to next message
Jesper Eskilson is currently offline Jesper EskilsonFriend
Messages: 132
Registered: July 2009
Senior Member
On 10/12/2010 03:21 PM, Matthias Sohn wrote:
> Please retry with nightly build [1], there was a bug fix in that area [2].
>
> [1] http://download.eclipse.org/egit/updates-nightly
> [2]
> http://egit.eclipse.org/w/?p=egit.git;a=commit;h=4c487c493ab3c6c0e8178a51b484b47229844a14

Ok, thanks.

--
Jesper Eskilson
Developer
IAR Systems
Re: NPE in decorator [message #774068 is a reply to message #632480] Tue, 03 January 2012 07:58 Go to previous message
Harald Rudell is currently offline Harald RudellFriend
Messages: 1
Registered: July 2009
Junior Member
As of 1/2/2012 still same problem.

Just remove the damn thing:
launch on another workspace (with no repos)
Eclipse - Help - About Eclipse, Installation Details
Tab installed software, select Egit, at bottom click Uninstall

Hvergang
Previous Topic:EGit and linked folders in eclipse
Next Topic:Synchronize view shows non-existent white-space and other outgoing changes
Goto Forum:
  


Current Time: Sat Dec 20 10:30:01 GMT 2014

Powered by FUDForum. Page generated in 0.01852 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software