org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command


Solutions on the web119

Solution icon of github
via GitHub by neutrinog
, 1 year ago
Exception caught during execution of add command

Solution icon of github
Exception caught during execution of add command

Solution icon of github
via GitHub by door43app
, 1 year ago
Exception caught during execution of add command

Solution icon of github
via GitHub by door43app
, 1 year ago
Exception caught during execution of add command

Solution icon of github
Exception caught during execution of add command

Solution icon of github
via GitHub by door43app
, 1 year ago
Exception caught during execution of add command

Solution icon of github
via GitHub by door43app
, 1 year ago
Exception caught during execution of add command

Solution icon of github
via GitHub by door43app
, 1 year ago
Exception caught during execution of add command

Solution icon of github
Exception caught during execution of add command

Solution icon of github
via GitHub by door43app
, 1 year ago
Exception caught during execution of add command

Stack trace

org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
	at org.eclipse.jgit.api.AddCommand.call(AddCommand.java:212)
	at com.door43.translationstudio.core.TargetTranslation.commitSync(TargetTranslation.java:971)
	at com.door43.translationstudio.core.TargetTranslation.commitSync(TargetTranslation.java:934)
	at com.door43.translationstudio.core.Translator.exportArchive(Translator.java:254)
	at com.door43.translationstudio.core.Translator.exportArchive(Translator.java:233)
	at com.door43.translationstudio.newui.BackupDialog.doSdCardBackup(BackupDialog.java:266)
	at com.door43.translationstudio.newui.BackupDialog.access$400(BackupDialog.java:51)
	at com.door43.translationstudio.newui.BackupDialog$4.onClick(BackupDialog.java:181)
	at android.view.View.performClick(View.java:4207)
	at android.view.View$PerformClick.run(View.java:17358)
	at android.os.Handler.handleCallback(Handler.java:725)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:137)
	at android.app.ActivityThread.main(ActivityThread.java:5041)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:511)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
	at dalvik.system.NativeStart.main(Native Method)
Caused by: org.eclipse.jgit.errors.LockFailedException: Cannot lock /mnt/sdcard/translationStudio/translations/amo_act_text_reg/.git/index
	at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:224)
	at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:301)
	at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:267)
	at org.eclipse.jgit.lib.Repository.lockDirCache(Repository.java:1052)
	at org.eclipse.jgit.api.AddCommand.call(AddCommand.java:142)
	... 18 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago