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

App get crash when I click on - select - option #2482

Open
alr86 opened this issue May 23, 2024 · 0 comments · May be fixed by #2492
Open

App get crash when I click on - select - option #2482

alr86 opened this issue May 23, 2024 · 0 comments · May be fixed by #2492
Assignees
Labels
bug A bug report bug-confirmed A confirmed and reproducible bug report

Comments

@alr86
Copy link

alr86 commented May 23, 2024

Short description

App get crash when I click on "- select -" option in Languages & layout > add > suggestion engine list

Steps to reproduce

  1. Go to create new keyboard layout
  2. Open "suggestion engine" drop down
  3. Click on first option "- select -"
  4. Crash

Crash log

Environment information

  • FlorisBoard 0.4.0-beta02 (94)
  • Device: Xiaomi Redmi Note 9 (lineage_merlinx)
  • Android: 14 (cn=UPSIDE_DOWN_CAKE sdk=34)

Attached logs and stacktrace files

Detailed info (Debug log header)
======= SYSTEM INFO =======
Time                : 2024-05-23T22:20:31.899514Z
Manufacturer        : Xiaomi
Model               : Redmi Note 9
Product             : lineage_merlinx
Android             : 14 (cn=UPSIDE_DOWN_CAKE sdk=34) [UQ1A.231205.015]
ABIs                : [arm64-v8a, armeabi-v7a, armeabi]
Memory              : ۲٫۶۳ GiB (۷۲٫۱۷% used, ۳٫۶۴ GiB max)
Font scale          : 1.0
Locales             : fa-IR-u-fw-sat-mu-celsius

======= APP INFO =======
Package             : dev.patrickgold.florisboard.beta
Name                : FlorisBoard Beta
Version             : 0.4.0-beta02 (94)
Build type          : beta
Build commit hash   : cf7f6f5fe2594738a05482de2435aa3ca869a23b
Java heap memory    : ۲۰٫۷۸ MiB (۱۰٫۸۲% used, ۱۹۲٫۰۰ MiB max)
Native heap memory  : ۲۶٫۲۸ MiB (۸۶٫۳۵% used, ۳۰٫۴۳ MiB max)

======= FEATURE CONFIG =======
Smartbar enabled            : true
Suggestions enabled         : false
Inline autofill enabled     : true
Glide enabled               : false
Internal clipboard enabled  : false

1716502561043.stacktrace
java.lang.ClassCastException: dev.patrickgold.florisboard.lib.ext.ExtensionComponentName cannot be cast to java.lang.String
	at androidx.compose.foundation.lazy.grid.LazyGridMeasureKt$measureLazyGrid$5.invoke(SourceFile:39)
	at androidx.compose.foundation.lazy.grid.LazyGridMeasureKt$measureLazyGrid$5.invoke(SourceFile:3)
	at dev.patrickgold.florisboard.app.settings.theme.EditRuleDialogKt$EditCodeValueDialog$3$1.invoke(SourceFile:21)
	at androidx.collection.ScatterSet$toString$1.invoke(SourceFile:98)
	at androidx.compose.foundation.gestures.TapGestureDetectorKt$detectTapAndPress$2$1.invokeSuspend(SourceFile:134)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
	at kotlin.ResultKt.resume(SourceFile:79)
	at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(SourceFile:100)
	at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(SourceFile:33)
	at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(SourceFile:17)
	at androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImpl.dispatchPointerEvent(SourceFile:51)
	at androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImpl.onPointerEvent-H0pRuoY(Unknown Source:30)
	at androidx.compose.foundation.AbstractClickablePointerInputNode.onPointerEvent-H0pRuoY(Unknown Source:4)
	at androidx.compose.foundation.AbstractClickableNode.onPointerEvent-H0pRuoY(Unknown Source:4)
	at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(SourceFile:157)
	at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(SourceFile:136)
	at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(SourceFile:136)
	at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(SourceFile:136)
	at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(SourceFile:136)
	at androidx.compose.ui.input.pointer.HitPathTracker.dispatchChanges(SourceFile:30)
	at androidx.compose.ui.input.pointer.PointerInputEventProcessor.process-BIzXfog(SourceFile:122)
	at androidx.compose.ui.platform.AndroidComposeView.sendMotionEvent-8iAsVTc(SourceFile:79)
	at androidx.compose.ui.platform.AndroidComposeView.handleMotionEvent-8iAsVTc(SourceFile:214)
	at androidx.compose.ui.platform.AndroidComposeView.dispatchTouchEvent(SourceFile:76)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3123)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2804)
	at android.view.View.dispatchPointerEvent(View.java:15928)
	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:7247)
	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:7037)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6435)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6492)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6458)
	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:6623)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6466)
	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:6680)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6439)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6492)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6458)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6466)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6439)
	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:9436)
	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:9387)
	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:9356)
	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:9562)
	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:267)
	at android.os.MessageQueue.nativePollOnce(Native Method)
	at android.os.MessageQueue.next(MessageQueue.java:335)
	at android.os.Looper.loopOnce(Looper.java:162)
	at android.os.Looper.loop(Looper.java:294)
	at android.app.ActivityThread.main(ActivityThread.java:8190)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@ddc78e9, androidx.compose.runtime.BroadcastFrameClock@eca96e, StandaloneCoroutine{Cancelling}@977d80f, AndroidUiDispatcher@675c09c]

@alr86 alr86 added the bug A bug report label May 23, 2024
@lm41 lm41 added the bug-confirmed A confirmed and reproducible bug report label May 24, 2024
@lm41 lm41 mentioned this issue May 31, 2024
@lm41 lm41 linked a pull request Jun 14, 2024 that will close this issue
@lm41 lm41 self-assigned this Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report bug-confirmed A confirmed and reproducible bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants