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 due to pinunlock activity #3353

Closed
rei-zero246 opened this issue Aug 28, 2024 · 3 comments · Fixed by #3369
Closed

Crash due to pinunlock activity #3353

rei-zero246 opened this issue Aug 28, 2024 · 3 comments · Fixed by #3369
Assignees
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Critical Prevents work, causes data loss and/or has no workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems z-Crash

Comments

@rei-zero246
Copy link

rei-zero246 commented Aug 28, 2024

Steps to reproduce

  1. Open the app.
  2. Watch it open and close.

Outcome

What did you expect?

The app to open.

What happened instead?

It crashed.

type: crash
osVersion: google/husky/husky:14/AP2A.240805.005/2024082200:user/release-keys
package: io.element.android.x:40005010
process: io.element.android.x
processUptime: 920 + 492 ms
installer: com.android.packageinstaller

java.lang.RuntimeException: Unable to start activity ComponentInfo{io.element.android.x/io.element.android.features.lockscreen.impl.unlock.activity.PinUnlockActivity}: java.lang.IllegalStateException: Unable to find bindings for io.element.android.features.lockscreen.impl.unlock.di.PinUnlockBindings
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4004)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4184)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)
	at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:231)
	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:152)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:93)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2602)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8623)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
	at com.android.internal.os.ExecInit.main(ExecInit.java:50)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)
Caused by: java.lang.IllegalStateException: Unable to find bindings for io.element.android.features.lockscreen.impl.unlock.di.PinUnlockBindings
	at kotlin.LazyKt__LazyJVMKt.bindings(SourceFile:10)
	at io.element.android.features.lockscreen.impl.unlock.activity.PinUnlockActivity.onCreate(SourceFile:9)
	at android.app.Activity.performCreate(Activity.java:9013)
	at android.app.Activity.performCreate(Activity.java:8991)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1531)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3986)
	... 15 more

Your phone model

Pixel 8 Pro

Operating system version

Android 14

Application version and app store

Element X 0.5.1

Homeserver

No response

Will you send logs?

Yes

Are you willing to provide a PR?

Yes

@rei-zero246 rei-zero246 added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Aug 28, 2024
@ZingyAwesome
Copy link

I'm having the same error after enabling screen lock on Element X (0.5.1, installed via Obtanium).
I had to clear the app storage, sign in again and not enable screen lock to stop the crashes.

@bmarty bmarty self-assigned this Aug 30, 2024
@bmarty
Copy link
Member

bmarty commented Aug 30, 2024

Thanks for reporting. I can repro on debug build, investigating.

@bmarty bmarty added S-Critical Prevents work, causes data loss and/or has no workaround O-Occasional Affects or can be seen by some users regularly or most users rarely z-Crash labels Aug 30, 2024
@bmarty
Copy link
Member

bmarty commented Aug 30, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Critical Prevents work, causes data loss and/or has no workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems z-Crash
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants