mirror of
https://github.com/bitwarden/android.git
synced 2026-03-17 18:43:11 -05:00
Android App Crashes when User Logs In #1123
Closed
opened 2025-11-26 22:39:35 -06:00 by GiteaMirror
·
14 comments
No Branch/Tag Specified
main
sdlc/sdk-update
PM-25654-preview-attachment
cx/android-architect-agent
cx/fix-suppress-max-line-length-in-testing-skill
PM-30130-remove-archive-feature-flag
tooling/improve-review-workflow
premium-upgrade/PM-33510-billing-manager
llm/add-resolving-sdk-updates-skill
premium-upgrade/PM-33509-billing-repository
premium-upgrade/PM-33508-billing-api-service
QA-1523/sanity-test-saucelabs
release/2026.3-rc48
PM-24380/flight-recorder-redact-hostname
PM-26577-app-links-support
PM-26896-autofill-fix
release/2026.2-rc47
PM-32714/fallback-to-web-vault-host
pr-6572
PM-28834/setting-app-layout-horizonos
release/2026.2-rc46
release/2026.1-rc45
PM-30644/added-logs-for-debug
PM-30644/quicktile-nav-not-showing-migration
minor-gradle-updates
release/2026.1-rc42
release/2026.1-rc44
release/2026.1-rc43
PM-28834/set-landscape-on-horizonos-devices
context-rules
devclarity/update-code-review-command
PM-20026/force-ltr-passwords-and-codes
release/2025.12-rc41
cmcg/testCoverage
PM-29014/talkback-support-for-passwords
release/2025.12-rc40
BRE-1305/publish_test
accept-user-certs
autofill-permissions
release/2025.11-rc39
PM-22479/check-all-certificates-validate-asset-links
release/2025.10-rc38
agalles/android-latest
optimize-test-workflows
tier2-test-sharding
retro-agent
PM-27001/skip-account-selection-only-one-exists-cxp
release/2025.10-rc37
agalles/test-1118
release/2025.10-rc36
PM-20593-token-refresh
QA-1126b/adding-native-sanity-test
release/2025.9-rc35
pm-25933/sdk-update-password
release/2025.9-rc34
release/2025.8-rc33
agalles/20250821-release
debug-release-issues
pm-24249-allow-automated-prs-for-sdk-updates
release/2025.8-rc32
release/WORKFLOW-TEST-2025.8-rc28
agalles/20250807release
release/2025.07-rc25
release/hotfix-v2025.7.0-bwa
pm-23311/export-vault-policy-bypass
release/2025.07-rc24
authenticator-pm-sync-flags-issue
ps/implement-sdk-repository-example
release/hotfix-v2025.6.0-bwpm
release/2025.06-rc21
agalles/automate-android-fastlane-patch
release/2025.05-rc20
release/2025.04-rc19
languages/basque
release/2025.03-rc19
update-readme
qrcode/feature
innovation/archive/pm-19153-archive-items
qrcode/2-ui-fields
qrcode/1-page
hold-on-biometric-prompt-alternative
release-notes-process
release/2025.02-rc16
bwa-monorepo
PM-8223/new-device-verification-ux-improvements
pm-18451/exempt-from-policies
test-bwa
cs-workaround-linked-0-copy
release/2025.01-rc15
release/2025.01-rc14
release/2024.12-rc13
pm-16670/sync-leave-notice
821
PM-16695/backport-lean-more-new-device-verification
km/15084-testing
release/hotfix-v2024.11.7
release/2024.11-rc1
pm-11304/collection-add-item-button
PM-14241/disabling-logs-app-crash
poc/offline-editing
new-version-calc
pm-11649/expired-link-services
pm-6702/add-feature-flag
pm-6702/email-verification-feature
pm-9933/marketing-copy-update
pm-6702/registration-flows
update-templates
pm-6701/email-verification-selfhost-registration
v2026.2.1-bwpm
v2026.2.1-bwa
v2026.2.0-bwpm
v2026.2.0-bwa
v2026.1.1-bwa
v2026.1.1-bwpm
temp-test
v2026.1.0-bwpm
v2026.1.0-bwa
v2025.12.1-bwa
v2025.12.1-bwpm
v2025.12.0-bwa
v2025.12.0-bwpm
v2025.11.1-bwpm
v2025.11.1-bwa
v2025.11.0-bwpm
v2025.11.0-bwa
v2025.10.1-bwa
v2025.10.1-bwpm
v2025.10.0-bwa
v2025.10.0-bwpm
v2025.9.1-bwa
v2025.9.1-bwpm
v2025.9.0-bwa
v2025.9.0-bwpm
v2025.8.1-bwa
v2025.8.1-bwpm
v2025.8.0-bwa
v2025.8.0-bwpm
v2025.7.2-bwa
v2025.7.2-bwpm
v2025.7.1-bwa
v2025.7.1-bwpm
v2025.7.0-bwa
v2025.7.0-bwpm
v2025.6.1-bwpm
v2025.6.0-bwa
v2025.6.0-bwpm
v2025.1.0-bwa
v2025.5.0-bwa
v2025.5.0-bwpm
v2025.5.999
2025.4.0
v2025.4.0
untagged-4731eaadac73f3dfbbb8
v2025.3.0
v2025.2.0
untagged-815a165c5d70ffe75bc7
v2025.1.2
v2025.1.1
v2025.1.0
v2024.12.0
untagged-5a76b6392a4c8998c63a
v2024.11.7
v2024.11.6
v2024.11.5
v2024.11.4
v2024.11.3
v2024.11.2
v2024.11.1
v2024.11.0
v2024.10.2
v2024.10.1
v2024.10.0
v2024.9.0
v2024.8.1
v2024.8.0
v2024.7.3
v2024.7.2
v2024.7.1
v2024.7.0
v2024.6.1
v2024.6.0
v2024.5.1
v2024.4.1
v2024.4.2
v2024.4.0
v2024.3.3
v2024.3.1
v2024.3.0
v2024.2.1
v2024.2.0
v2024.1.1
v2024.1.0
v2023.12.0
v2023.10.0
v2023.9.2
maui-single-project-android
v2023.9.1
v2023.9.0
v2023.8.0
v2023.7.0
v2023.5.0
v2023.4.0
v2023.3.2
v2023.3.1
v2023.3.0
v2023.2.0
v2023.1.0
v2022.11.0
v2022.10.0
v2022.9.1
v2022.9.0
v2022.8.0
v2022.6.2
v2022.6.1
v2022.6.0
v2022.05.0
v2.18.0
v2.17.0
v2.16.4
v2.16.3
v2.16.2
v2.16.1
v2.15.0
v2.14.2
v2.14.1
v2.14.0
v2.13.0
v2.12.0
v2.11.3
v2.11.2
v2.11.1
v2.11.0
v2.10.0
v2.9.1
v2.9.0
v2.8.2
v2.8.1
v2.8.0
v2.7.2
v2.7.0
v2.6.1
v2.6.0
v2.5.6
v.2.5.5
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.3.1
v2.3.0
v2.2.8
v2.2.7
v2.2.6
v2.2.2
v2.2.1
v2.2.0
v2.1.2
v2.1.0
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v1.22.1
v1.22.0
v1.21.0
v1.20.0
v1.19.0
v1.18.1
v1.18.0
v1.17.0
v1.16.0
v1.15.2
v1.15.1
v1.15.0
v1.14.4
v1.14.1
v1.14.0
v1.13.0
v1.12.2
v1.12.1
v1.12.0
v1.11.1
v1.11.0
v1.10.0
v1.9.0
v1.8.1
v1.8.0
v1.7.0
v1.6.5
v1.6.1
v1.6.0
v1.5.1
v1.5.0
v1.4.4
v1.4.3
v1.4.0
v1.3.0
v1.2.1
v1.2.0
v1.1.0
v1.0.0
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/android#1123
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Nailik on GitHub (Oct 20, 2020).
Originally assigned to: @mpbw2 on GitHub.
Hi,
Device:
Xiaomi Mi A3
Android 10 (all updates installed)
Version 2.6.1
When I try to click on Log In or use the Button on the Keyboard i see following in logcat:
On Another Phone (Mi Mix 2, Android 10, Lineage Os it's working)
Current Solution for Enduser:
when you have a custom server set "https://url.domain.de"
You need to add the Port and the error is gone like "https://url.domain.de:6266"
Edit
After 1 successful Login the App keeps crashing when trying to login ...
@crazymind1337 commented on GitHub (Oct 28, 2020):
Same here. After adding my selfhosted server it works. But after locking and trying to unlock again it keeps crashing.
Android 10, Samsung Galaxy 20 FE.
Edit: If logout and relogin to my server I am able to work with app until I lock.
@sesipod commented on GitHub (Oct 31, 2020):
Same here 😥
Poco x3 NFC
First login is fine - try to unlock the vault to use it with an app it crashes. The only way I have gotten it to work is to logout fully for every auto fill.
So there is only the crash issue when using an unlock pin or using the master password to unlock the vault.
Using your master password to login each time ( not from locked ) is no problem.
@Nailik commented on GitHub (Oct 31, 2020):
Maybe this is related to my issue on the chrome plugin recently. When I want to login it says wrong password and I have to fully logout before I can login again.
Should be fixed asap....
@sesipod commented on GitHub (Oct 31, 2020):
--------- beginning of crash
10-31 15:06:17.699 5895 5895 E AndroidRuntime: FATAL EXCEPTION: main
10-31 15:06:17.699 5895 5895 E AndroidRuntime: Process: com.x8bit.bitwarden, PID: 5895
10-31 15:06:17.699 5895 5895 E AndroidRuntime: android.runtime.JavaProxyThrowable: System.Exception: PBKDF2 iteration minimum is 5000.
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at Bit.Core.Services.CryptoService.MakeKeyAsync (System.String password, System.String salt, System.Nullable
1[T] kdf, System.Nullable1[T] kdfIterations) [0x00087] in <16b257e23b0d4535bc2f69f0b571f8e9>:010-31 15:06:17.699 5895 5895 E AndroidRuntime: at Bit.App.Pages.LockPageViewModel.SubmitAsync () [0x0078a] in <948e6adef7d049bf9ff84ebb9084fa59>:0
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at Bit.App.Pages.LockPage.<Unlock_Clicked>b__17_1 () [0x00067] in <948e6adef7d049bf9ff84ebb9084fa59>:0
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) [0x00000] in <74bfc0608a2a4b1cb730a27370b59f01>:0
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at Android.App.SyncContext+<>c__DisplayClass2_0.b__0 () [0x00000] in <3490c8702e6540b09381d2f1477448bb>:0
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in <3490c8702e6540b09381d2f1477448bb>:0
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00008] in <3490c8702e6540b09381d2f1477448bb>:0
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.51(intptr,intptr)
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at mono.java.lang.RunnableImplementor.n_run(Native Method)
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:30)
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:883)
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at android.os.Looper.loop(Looper.java:224)
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7565)
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
10-31 15:06:17.699 5895 5895 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
@MilkoKA commented on GitHub (Nov 6, 2020):
Same here. login to my selfhosted server it works.
on Samsung S8 Android 9 first login is fine.
unlock with Masterpassword - crash
enter Pin in settings - crash
switching to fingerprints it works
on Samsung S7 no problems with Pin to unlock
@Nailik commented on GitHub (Nov 6, 2020):
I downloaded master and installed on my device. Problem is that the server is sending sth like "loading" and this crashes everything.
Server response:
"<!DOCTYPE HTML>\n<html manifest=\"\">\n<head>\n\t<meta charset=\"UTF-8\">\n\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\">\n\t<title>Title</title>\n\t<link href=\"/scripts/sencha-touch-2.4.1/resources/css/cupertino.css?v=25426\" rel=\"stylesheet\" type=\"text/css\">\n\t<link href=\"mobile/ui/style.css?v=25426\" rel=\"stylesheet\" type=\"text/css\">\n\t<link rel=\"shortcut icon\" href=\"webman/favicon.ico?v=25426\">\n\t<script type=\"text/javascript\" src=\"webapi/entry.cgi?api=SYNO.Core.Desktop.SessionData&version=1&method=getjs_mobile&SynoToken=\"></script>\n\t<script type=\"text/javascript\" src=\"/scripts/sencha-touch-2.4.1/touch.js?v=25426\"></script>\n\t<script src=\"webapi/entry.cgi?api=SYNO.Core.Desktop.JSUIString&version=1&method=getjs&lang=enu&v=25426\"></script>\n\t<script src=\"webapi/entry.cgi?api=SYNO.Core.Desktop.UIString&version=1&method=getjs&lang=enu&v=25426\"></script>\n\t<script src=\"webapi/entry.cgi?api=SYNO.Core.Desktop.Defs&version=1&method=getjs&v=25426&SynoToken=\"></script>\n\t<script type=\"text/javascript\" src=\"mobile/ui/mobile.js?v=25426\"></script>\n\t<script type=\"text/javascript\" src=\"/synoSDSjslib/webapierrorcode.js?v=25426\"></script>\n\t\n</head>\n<body class=\"syno-mobile-body\">\n\t<div class=\"x-mask x-loading-mask syno-mask\" id=\"syno-mobile-preinit-mask\" style=\"width:100%; height: 100%;\">\n\t\t<div class=\"syno-mask-ct\" id=\"syno-mask-ct\">\n\t\t\t<div class=\"syno-mask-inner\" id=\"syno-mask-loading\">\n\t\t\t\t<div class=\"syno-loading-icon\"></div>\n\t\t\t\t<div class=\"syno-message x-mask-message syno-mask-message\">Loading...</div>\n\t\t\t</div>\n\t\t\t<div id=\"syno-non-admin-redirect\" style=\"visibility: hidden;\">\n\t\t\t\t<div class=\"syno-upper-part\"><span id=\"syno-non-admin-redirect-desc\"></span></div>\n\t\t\t\t<div class=\"syno-lower-part\"><a id=\"syno-non-admin-redirect-button\" class=\"x-syno-button\" href=\"/?forceDesktop=2\"></a></div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</body>\n</html>\n"When you display this e.g. in Chrome you see:
This is maybe related to the server and i'm not sure what the solution here would be.
It occures in
Api ServiceinSendAsyncatJsonConvert.DeserializeObject@mportune-bw and @vincentsalucci can you please have a look?
Could it because of 2-Faktor Auth?It's not 2-Faktor auth. The Problem only appears when there is no Port given in Url of server (see initial post).
But then there appears a second Problem. When you want to login without completely logged out (you don't have to insert email) Then the App throws
PBKDF2 iteration minimum is 5000.atCryptoService.csatMakeKeyAsyncandkdfIterationsis0-> That's the Bug that also appears in the Chrome Extension.
Not Working:

Working:

@NOTORIOUSVR commented on GitHub (Nov 25, 2020):
Same issue here now.
Selfhosted BW
Normal BW app from play store - Pixel 3, Samsung S8, and Samsung Tab8
First login is ok - Vault loads, etc.
Closing/locking app will cause app to cash after entering master password to unlock the vault.
Any fix for this yet? I see this is open since OCT???
@Nailik commented on GitHub (Nov 25, 2020):
Jeah i'm super upset, this is also the reason for the chrome addon to not work. They didn't even take a look at it .. and this is a heavy crash, people can't use their passwords ...
@mportune-bw and @vincentsalucci do you still work on bitwarden, could you take a look?
@NOTORIOUSVR commented on GitHub (Nov 25, 2020):
Oh wow! I didn't even put that together, you're right! This is an issue with the Chrome extension too!
I just thought I was doing something wrong with the password.
Is there a server side update on the docker images maybe that is causing this issue?
@Nailik commented on GitHub (Dec 16, 2020):
So 2 months Ago i posted this HUGE crash that seems to appear on all sort of devices (Android, Chrome Plugin, even IOS) and there has not been any progress yet .. not even a comment about it.
@NOTORIOUSVR commented on GitHub (Dec 16, 2020):
It seems I was able to resolve it by pulling the latest Docker container and moving to the BETA Android app.
Now the Chrome extension and the app work.
I assume there was an issue with my old docker pull, so you might want to try that.
@mpbw2 commented on GitHub (Dec 17, 2020):
Is anyone seeing this crash while using our cloud service? And if you're self-hosted, are you using our latest docker images?
@Nailik commented on GitHub (Dec 20, 2020):
Jeah it's self hosted and on docker, should be Bitwarden_RS Version 1.14.2 but can't update at the moment because you changed alot in the release after this one and therefore the homeasssistant plugin got no update yet.
If you tell me now that it's my fault because i didn't update - a password manager should be bricked when the client updates it's version. At least not without mentioning that there were breaking changes.
Could be an issue about Bitwarden_RS and not your fault. Would be very sorry about opening this issue here.
@djsmith85 commented on GitHub (Mar 11, 2022):
I'm closing this now, as it seems to be related to not officially supported servers or add-ons. If you are still experiencing issues with the supported services, please feel free to re-open this issue and provide any further information that may be helpful in reproducing the problem or helping you further.