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

The app crashes when pressing the buttons at the bottom left. crashes for no reason sometimes #16

Closed
Wjxfi opened this issue Oct 23, 2022 · 11 comments

Comments

@Wjxfi
Copy link

Wjxfi commented Oct 23, 2022

FATAL EXCEPTION: main
Process: com.xinto.mauth, PID: 8590
java.lang.IllegalArgumentException: Empty key
at javax.crypto.spec.SecretKeySpec.(SecretKeySpec.java:96)
at j8.b.b(SourceFile:54)
at j8.b.a(Unknown Source:16)
at q8.e.d(SourceFile:39)
at q8.i.j(SourceFile:53)
at y8.a.p(Unknown Source:8)
at o9.i0.run(Unknown Source:100)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8261)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Suppressed: o5.e: [t1{Cancelling}@542b61f, Dispatchers.Main]

miui 13.0.5 android 12 api 31

@X1nto
Copy link
Owner

X1nto commented Oct 24, 2022

Can you try removing and re-adding the accounts? I think it happens because you added an account with an empty secret (which shouldn't happen since the app has detection mechanisms for that)

@Wjxfi
Copy link
Author

Wjxfi commented Oct 24, 2022

When I click on any place it crashes, I can not remove the account. before I created the account buttons worked except for the bottom left

(It crashes at the bottom left before adding an account)

@Wjxfi
Copy link
Author

Wjxfi commented Oct 24, 2022

the secret is not empty, but not in English

@X1nto
Copy link
Owner

X1nto commented Oct 24, 2022

That's weird, why would the secret not be in English? It should be a BASE-64 encoded string. That's probably why the app is crashing.

@X1nto
Copy link
Owner

X1nto commented Oct 24, 2022

Also, what's the version that you're using? It would be great if you provided crash logs for when you press the bottom left buttons (that shouldn't crash the app, because currently they're in the "inactive" state)

@Wjxfi
Copy link
Author

Wjxfi commented Oct 24, 2022

The logs are the same, so there is no point in sending them again. I wrote that the crashes occurred before the account was created, at the bottom left. now after creating the account crashes everywhere, not just at the bottom left

f-droid latest

@X1nto
Copy link
Owner

X1nto commented Oct 24, 2022

The logs are the same, so there is no point in sending them again. I wrote that the crashes occurred before the account was created, at the bottom left. now after creating the account crashes everywhere, not just at the bottom left

I don't understand why the app would crash when clicking on the bottom left icons if those icons literally do nothing. I would suggest reinstalling the app

@Wjxfi
Copy link
Author

Wjxfi commented Oct 24, 2022

I deleted all the app data and it works again. i checked, the problem is a non english secret. no more errors on the bottom left before creating an account, i tried to repeat, this is an isolated incident. i think you need to disallow non english secrets

@X1nto
Copy link
Owner

X1nto commented Oct 24, 2022

I deleted all the app data and it works again. i checked, the problem is a non english secret. no more errors on the bottom left before creating an account, i tried to repeat, this is an isolated incident. i think you need to disallow non english secrets

That's a great idea, although secrets should not be in English in the first place. I'll add a check for that

@X1nto X1nto closed this as completed Oct 24, 2022
@Wjxfi
Copy link
Author

Wjxfi commented Oct 24, 2022

please tell me how to create a backup, import a backup, use the 3 bottom left buttons

@X1nto
Copy link
Owner

X1nto commented Oct 24, 2022

please tell me how to create a backup, import a backup, use the 3 bottom left buttons

That functionality is not yet available

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

2 participants