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

crash when git initialization in new project #521

Open
hasanelfalakiy opened this issue Mar 26, 2024 · 0 comments
Open

crash when git initialization in new project #521

hasanelfalakiy opened this issue Mar 26, 2024 · 0 comments

Comments

@hasanelfalakiy
Copy link

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/~~9hj81iBdJUY675txi-uLuw==/org.cosmicide-wfamstEEpB-bXIWnaVWDpA==/base.apk!classes39.dex)
at org.eclipse.jgit.util.IO.readFully(IO.java:90)
at org.eclipse.jgit.lib.RepositoryCache$FileKey.readFirstLine(RepositoryCache.java:467)
at org.eclipse.jgit.lib.RepositoryCache$FileKey.isValidHead(RepositoryCache.java:460)
at org.eclipse.jgit.lib.RepositoryCache$FileKey.isGitRepository(RepositoryCache.java:456)
at org.eclipse.jgit.lib.RepositoryCache$FileKey.resolve(RepositoryCache.java:499)
at org.eclipse.jgit.lib.RepositoryCache$FileKey.lenient(RepositoryCache.java:377)
at org.eclipse.jgit.api.Git.open(Git.java:93)
at com.github.syari.kgit.KGit$Companion.open(KGit.kt:18)
at com.github.syari.kgit.KGit$Companion.open$default(KGit.kt:18)
at dev.pranav.jgit.tasks.RepositoryKt.toRepository(Repository.kt:99)
at org.cosmicide.fragment.GitFragment.setupUI(GitFragment.kt:66)
at org.cosmicide.fragment.GitFragment.onViewCreated(GitFragment.kt:49)
at androidx.fragment.app.Fragment.performViewCreated(Fragment.java:3148)
at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:600)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:278)
at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2103)
at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1998)
at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1941)
at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:661)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:257)
at android.app.ActivityThread.main(ActivityThread.java:8192)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1015)

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