Can't commit and sometimes not add, but works on the CLI [message #872002] |
Tue, 15 May 2012 05:28  |
Eclipse User |
|
|
|
I can't commit and sometimes not add files, but can do these operations on the command line. I get these error messages respectively in an Eclipse dialog:
An internal error occurred
Exception caught during execution of commit command
Failed to add resource to index
Failed to add resource to index
Exception caught during execution of add command
My git files reside in a local directory.
I synchronize the directory to the web server using Unison, usually in that direction. Could that have anything to do with it?
How can I troubleshoot this?
|
|
|
|
Re: Can't commit and sometimes not add, but works on the CLI [message #874712 is a reply to message #872002] |
Mon, 21 May 2012 08:13   |
Eclipse User |
|
|
|
Hi,
I'm also getting the same problem.
I saw the same message as Ivan's.
I see every time the same message, even after restarting Eclipse,
or disconnecting/reconnecting the project from/to the repos,
or refreshing the project.
Additionally, then I tried to commit from CUI with git command,
possibly no problem reported.
(Warning message is only shown, but I think this is not a problem with this discussion.
Warning message is:
warning: LF will be replaced by CRLF in source/Project/res/values/strings.xml
This is because of the git configuration, that is core.autocrlf=true)
And I say about my env.
Quote:
Are your clones inside the workspace? This is not recommended.
No.
Quote:
How did you import the projects into your workspace?
Firstly outside the project workspace, cloned the repository with git command.
Secondly imported with Eclipse GUI, without copying option.
Additiional Info
- Eclipse Version: Version: Indigo Service Release 2 Build id: 20120216-1857
- EGit/JGit Version: 1.3.0.201202151440-r
- OS: Windows 7 64bit
- Git command: Cygwin version
|
|
|
|
Re: Can't commit and sometimes not add, but works on the CLI [message #876049 is a reply to message #872002] |
Wed, 23 May 2012 16:05  |
Eclipse User |
|
|
|
Ivan V skrev 2012-05-15 11.28:
> I can't commit and sometimes not add files, but can do these operations on the command line. I get these error messages respectively in an Eclipse dialog:
>
> An internal error occurred
> Exception caught during execution of commit command
> Failed to add resource to index
> Failed to add resource to index
> Exception caught during execution of add command
> My git files reside in a local directory.
>
> I synchronize the directory to the web server using Unison, usually in that direction. Could that have anything to do with it?
>
> How can I troubleshoot this?
The exceptions leave stack traces that often have useful information about what happened.
You can find then in the Error view or <workspace>/.metadata/.log
-- robin
|
|
|
Powered by
FUDForum. Page generated in 0.04700 seconds