git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcus Better <marcus@better.se>
To: git@vger.kernel.org
Subject: Re: [EGIT] assertion failure when renaming file
Date: Thu, 19 Mar 2009 20:45:42 +0100	[thread overview]
Message-ID: <gpu8hc$v9n$1@ger.gmane.org> (raw)
In-Reply-To: 200903171940.21617.robin.rosenberg.lists@dewire.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robin Rosenberg wrote:
> There  are some ways of corrupting a repo, i.e. the association between
> the Git provider and the project that results in wierd behaviours. The
> ones I know of are related to renaming and moving projects tracked by
> EGit, which works minus-well.

Yes, I think I moved the project once.

I also get a message about a NPE "when scanning the repository for changes" shortly after starting Eclipse:

!ENTRY org.spearce.egit.core 4 0 2009-03-19 20:22:12.776
!MESSAGE Git team provider configuration has gone missing.
!STACK 0
java.io.FileNotFoundException: /home/marcus/.workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/wrt-
widget/org.spearce.egit.core/GitProjectData.properties (Filen eller katalogen finns inte)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:137)
	at org.spearce.egit.core.project.GitProjectData.load(GitProjectData.java:398)
	at org.spearce.egit.core.project.GitProjectData.get(GitProjectData.java:162)
	at org.spearce.egit.core.GitProvider.getData(GitProvider.java:66)
	at org.spearce.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:235)
	at org.spearce.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:161)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:72)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:356)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:338)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:374)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:334)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.ui.workbench 4 2 2009-03-19 20:22:12.777
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
	at org.spearce.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:235)
	at org.spearce.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:161)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:72)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:356)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:338)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:374)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:334)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.ui 4 4 2009-03-19 20:22:12.777
!MESSAGE Exception in Decorator

!ENTRY org.eclipse.ui 4 4 2009-03-19 20:22:12.778
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at org.spearce.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:235)
	at org.spearce.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:161)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:72)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:356)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:338)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:374)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:334)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.spearce.egit.core 4 0 2009-03-19 20:22:23.667
!MESSAGE Git team provider configuration has gone missing.
!STACK 0
java.io.FileNotFoundException: /home/marcus/.workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/wrt-
widget/org.spearce.egit.core/GitProjectData.properties (Filen eller katalogen finns inte)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:137)
	at org.spearce.egit.core.project.GitProjectData.load(GitProjectData.java:398)
	at org.spearce.egit.core.project.GitProjectData.get(GitProjectData.java:162)
	at org.spearce.egit.core.GitProvider.getData(GitProvider.java:66)
	at org.spearce.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:235)
	at org.spearce.egit.ui.Activator$RCS.run(Activator.java:321)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.spearce.egit.ui 4 0 2009-03-19 20:22:23.710
!MESSAGE An error occurred while scanning for changes. Scanning aborted
!STACK 0
java.lang.NullPointerException
	at org.spearce.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:235)
	at org.spearce.egit.ui.Activator$RCS.run(Activator.java:321)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

> Could you try with a fresh workspace (you can keep the workdir as-is)?

Yes, that fixes it.

Cheers,

Marcus

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknCoOYACgkQXjXn6TzcAQkbsgCfbRnEwiSjIo9yu9ipk9Tps6cn
Y70An2sxhtz+xtd0wTP2PODAR7jxj4Qc
=taeS
-----END PGP SIGNATURE-----

      reply	other threads:[~2009-03-19 20:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-17  9:43 [EGIT] assertion failure when renaming file Marcus Better
2009-03-17 18:40 ` Robin Rosenberg
2009-03-19 19:45   ` Marcus Better [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gpu8hc$v9n$1@ger.gmane.org' \
    --to=marcus@better.se \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).