git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: HeX <hex.imexil@googlemail.com>
To: git@vger.kernel.org
Subject: egit/jgit: Upate Index (refresh) causes NullPointerException for "external" projects
Date: Wed, 15 Apr 2009 10:40:23 +0200	[thread overview]
Message-ID: <49E59D77.2040303@gmail.com> (raw)

Hi,

I think I found a bug in egit/jgit and can pin it down to "external"
projects, i.e., projects which reside in different directories than the
default workspace location.

Steps to reproduce:
 1. In Eclipse create a new project "foo" in an external location
(outside the default workspace location), say ~/bar/
 2. execute "git init" in that dir
 3. share project with git
 4. do a "Update Index (refresh)" operation and you'll get something
similar to


>Counted 168 items to update in 0.0s
java.lang.NullPointerException
	at org.spearce.egit.core.internal.UpdateJob.run(UpdateJob.java:91)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

All other git operations will also fail. However it will work if you
create project which is created in the default workspace and which
content is simply symlinked.

/HeX

                 reply	other threads:[~2009-04-15  8:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=49E59D77.2040303@gmail.com \
    --to=hex.imexil@googlemail.com \
    --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).