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

An error #1818

Open
5 tasks done
neo-nope opened this issue May 20, 2024 · 0 comments
Open
5 tasks done

An error #1818

neo-nope opened this issue May 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@neo-nope
Copy link

Issue Checklist

  • I confirm that this issue is not a duplicate and hasn't been reported before.
  • I agree to follow the project's code of conduct.
  • I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • I agree to provide all requested details promptly for a comprehensive bug report.

Issue explanation

I tried to clone a repository and it crashed

Expected behavior

Supposed to not crash

Version name

2.7.0

Download source

GitHub

Relevant log output

AndroidIDE Crash Report
Version : v2.7.0-beta (27001)
CI Build : false
Branch : HEAD
Commit : 062d240e9
Variant : arm64-v8a (release)
Build type : OFFICIAL
SDK Version : 33
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : motorola
Device : motog13

Stacktrace:
java.lang.RuntimeException: Can't create handler inside thread Thread[DefaultDispatcher-worker-1,5,main] that has not called Looper.prepare()
	at android.os.Handler.<init>(Handler.java:227)
	at android.os.Handler.<init>(Handler.java:129)
	at android.app.Dialog.<init>(Dialog.java:138)
	at android.app.Dialog.<init>(Dialog.java:190)
	at androidx.activity.ComponentDialog.<init>(Unknown Source:5)
	at androidx.appcompat.app.AppCompatDialog.<init>(Unknown Source:22)
	at androidx.appcompat.app.AlertDialog.<init>(Unknown Source:4)
	at org.commonmark.internal.BlockContent.create(Unknown Source:10)
	at com.google.android.material.dialog.MaterialAlertDialogBuilder.create(Unknown Source:0)
	at org.commonmark.internal.BlockContent.show(Unknown Source:0)
	at androidx.room.SharedSQLiteStatement$stmt$2.invoke(SourceFile:69)
	at com.itsaky.androidide.fragments.MainFragment$doClone$cloneJob$1.invokeSuspend(Unknown Source:135)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
	at kotlinx.coroutines.DispatchedTask.run(Unknown Source:120)
	at org.greenrobot.eventbus.AsyncPoster.run(Unknown Source:12)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:91)
@neo-nope neo-nope added the bug Something isn't working label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant