Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"An internal error occurred" when trying to commit to git from eGit in Eclipse

[SOLVED] Somehow, I managed to not have "write" permissions to the .git directory. So was trying to write the commit and getting bounced.

I've been using Eclipse for a few months, but had been just running git from the CLI. I decided that was inefficient and that I wanted to use eGit, so I started following this tutorial (http://www.slideshare.net/loianeg/using-the-egit-eclipse-plugin-with-git-hub-2578587?from=embed).

I'm trying to add an existing project, so I did Team-->Share Project-->Git and selected the .git corresponding to my project. Eclipse seems to have picked it up, okay, but when I try to commit, I get a popup saying

"Committing changes has encountered a problem' -- an internal error occured.

When I click details, it say "An internal error occurred Exception caught during execution of commit command"

...I don't even know where to start on this one. I googled the error and didn't get anything useful.

Anyone know how to fix this, or at least how to start debugging?

like image 704
rogueleaderr Avatar asked Nov 30 '22 06:11

rogueleaderr


1 Answers

I've solved my case removing index.lock file from the git folder of the project.

like image 107
Bruno Pinto Avatar answered Dec 03 '22 22:12

Bruno Pinto