Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error during add #104

Open
meetyingying opened this issue Sep 21, 2024 · 0 comments
Open

error during add #104

meetyingying opened this issue Sep 21, 2024 · 0 comments

Comments

@meetyingying
Copy link
Collaborator

Exception in thread "AWT-EventQueue-0" org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
at org.eclipse.jgit.api.AddCommand.call(AddCommand.java:244)
at com.codymikol.extensions.GitExtensionsKt$stageAll$2.invoke(GitExtensions.kt:42)
at com.codymikol.extensions.GitExtensionsKt$stageAll$2.invoke(GitExtensions.kt:35)
at com.codymikol.extensions.GitExtensionsKt$command$2.invokeSuspend(GitExtensions.kt:24)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [androidx.compose.ui.awt.ComposeBridge$coroutineExceptionHandler$1@19a0f946, androidx.compose.runtime.BroadcastFrameClock@584df260, StandaloneCoroutine{Cancelling}@477ed4d8, FlushCoroutineDispatcher@36e2ec60]
Caused by: org.eclipse.jgit.errors.LockFailedException: Cannot lock /home/yingying/Documents/portfolio-YingYing/.git/index. Ensure that no other process has an open file handle on the lock file /home/yingying/Documents/portfolio-YingYing/.git/index.lock, then you may delete the lock file and retry.
at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:222)
at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:293)
at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:259)
at org.eclipse.jgit.lib.Repository.lockDirCache(Repository.java:1294)
at org.eclipse.jgit.api.AddCommand.call(AddCommand.java:129)
... 11 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant