Skip to content
This repository was archived by the owner on Jun 14, 2025. It is now read-only.
This repository was archived by the owner on Jun 14, 2025. It is now read-only.

git fails #567

@Ammar-Husain

Description

@Ammar-Husain

every time I try to use git from the app, this exception is thrown:

java.lang.NoSuchMethodError: No virtual method readNBytes(I)[B in class Lorg/eclipse/jgit/util/io/SilentFileInputStream; or its super classes (declaration of 'org.eclipse.jgit.util.io.SilentFileInputStream' appears in /data/app/org.cosmicide-qUsVRIM8KZm6YGGB0Za7pw==/base.apk!classes38.dex)
	at org.eclipse.jgit.util.IO.readFully(IO.java:90)
	at org.eclipse.jgit.util.IO.readFully(IO.java:48)
	at org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:148)
	at org.eclipse.jgit.storage.file.FileBasedConfig.$r8$lambda$C0Gqawno6Xx4SyUkPy5AwFIAXLk(Unknown Source:0)
	at org.eclipse.jgit.storage.file.FileBasedConfig$$ExternalSyntheticLambda0.apply(D8$$SyntheticClass:0)
	at org.eclipse.jgit.util.FileUtils.readWithRetries(FileUtils.java:733)
	at org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:128)
	at org.eclipse.jgit.internal.storage.file.FileRepository.loadRepoConfig(FileRepository.java:212)
	at org.eclipse.jgit.internal.storage.file.FileRepository.getConfig(FileRepository.java:348)
	at org.eclipse.jgit.internal.storage.file.FileRepository.getConfig(FileRepository.java:1)
	at org.eclipse.jgit.treewalk.TreeWalk.<init>(TreeWalk.java:352)
	at org.eclipse.jgit.treewalk.TreeWalk.<init>(TreeWalk.java:319)
	at org.eclipse.jgit.treewalk.NameConflictTreeWalk.<init>(NameConflictTreeWalk.java:77)
	at org.eclipse.jgit.api.AddCommand.call(AddCommand.java:127)
	at org.eclipse.jgit.api.AddCommand.call(AddCommand.java:1)
	at com.github.syari.kgit.KGitCommand.call(KGitCommand.kt:10)
	at com.github.syari.kgit.KGit.add(KGit.kt:101)
	at dev.pranav.jgit.tasks.RepositoryKt.createRepository(Repository.kt:139)
	at org.cosmicide.fragment.GitFragment$setupUI$3$1.invokeSuspend(GitFragment.kt:74)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@6fdd93b, Dispatchers.IO]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions