Error when commiting [message #650059] |
Fri, 21 January 2011 10:19  |
Eclipse User |
|
|
|
On a linux server, I created a git repo, which I share with my desktop with Samba as a mounted network drive in Windows 7. Until now, I've been using Notepad++ to code in and I've done Git operations directly on the server.
Now I've installed Eclipse (I have never used it before) and have imported the Git repo (on the mounted network drive) and created a project. I can now add files to Git with Eclipse, but when I try to commit I get the following error:
Error occurred computing diffs
java.lang.NullPointerException
I've tried both stable and nightly versions of EGit, but both produce the same error. When I commited directly on the server, it worked.
Whats the problem and how can I solve it?
|
|
|
|
|
|
|
|
|
|
|
|
Re: Error when commiting [message #720600 is a reply to message #720527] |
Tue, 30 August 2011 18:39   |
Eclipse User |
|
|
|
Robin,
Thanks for the reply. I ended up working round the issue by installing x11vnc and Eclipse on my Centos box, and running TightVNC on my Windows machine. So I can work from "here", but Eclipse itself is now sitting on a local file system. A little clunky, but works well, and solves all the other performance issues of running an Eclipse project via a share. If I find I need to still run in my previous configuration and still have a problem, I will indeed open a new issue.
BTW, I'm kind of new to git, am migrating to it from SVN. Can you give me an opinion on how feasible it would be to run this as a git server on my Centos box, with a clone of that git locally? The project I'm working on is actually hosted on github, so my Centos box is a clone of that, and I push changes directly back to github. Was wondering how much of a pain it would be to keep my dev box and the server in sync with git, and push changes through that way. I must confess I'm still struggling a little with The Git Way, after about 30 years using the SCCS / CVS / SVN model.
Once again, thanks for the reply. Enjoying egit, great plugin.
-- hugh
[Updated on: Tue, 30 August 2011 18:41] by Moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04916 seconds