Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: Crash while inserting two parenthesis very fast #1484

Closed
2 tasks done
ThatMG393 opened this issue Nov 18, 2023 · 2 comments
Closed
2 tasks done

[Bug]: Crash while inserting two parenthesis very fast #1484

ThatMG393 opened this issue Nov 18, 2023 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@ThatMG393
Copy link

ThatMG393 commented Nov 18, 2023

What happened?

When inserting two '(' (open parenthesis) (either from the bottombar or the keyboard and the state of the project is initiatized or not) at quick succession the application crashes and shows a stacktrace. restarts without any error popup, it just sents me to the MainActivity of the app.

What's the expected behavior?

Normal

What version of AndroidIDE you're using?

v2.6.0 (debug builds, commit latest)

Relevant log output

com.itsaky.androidide.progress.ProcessCancelledException
	at com.itsaky.androidide.progress.ICancelChecker$Default.abortIfCancelled(Unknown Source:9)
	at com.itsaky.androidide.tasks.JobCancelChecker.abortIfCancelled(Unknown Source:5)
	at com.itsaky.androidide.lsp.java.providers.CancelableServiceProvider.abortIfCancelled(Unknown Source:2)
	at com.itsaky.androidide.lsp.java.JavaLanguageServer.signatureHelp(Unknown Source:40)
	at com.itsaky.androidide.editor.ui.IDEEditor$signatureHelp$2.invokeSuspend(Unknown Source:82)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
	at kotlinx.coroutines.DispatchedTask.run(Unknown Source:109)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:93)

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ThatMG393 ThatMG393 added the bug Something isn't working label Nov 18, 2023
@itsaky
Copy link
Member

itsaky commented Nov 18, 2023

In such cases, you need to share the logs files. You can get the logs using the "Dump logs" option in AndroidIDE's Developer Options :

  • Open AndroidIDE
  • Go to Preferences -> Developer Options and enable "Dump logs"
  • Try to reproduce the issue
  • Once the issue occurs again, go to preferences and disable "Dump logs"
  • Share the corresponding log file located in $HOME/.androidide/logs directory.

@ThatMG393
Copy link
Author

ThatMG393 commented Nov 18, 2023

@itsaky I have updated the issue with the logs but according to my observations there's no fatal error in the logs. I updated to the latest version and now it shows a stacktrace.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants