[GH-ISSUE #6913] Bitwarden Android App Crashes with NPE #95767

Closed
opened 2026-05-30 18:18:09 -05:00 by GiteaMirror · 7 comments
Owner

Originally created by @hieblmi on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/bitwarden/android/issues/6913

Steps To Reproduce

Starting the app results in a NPE crashing the app:

type: crash
osVersion: google/oriole/oriole:16/BP4A.251205.006/2026050901:user/release-keys
flags: dev options enabled
package: com.x8bit.bitwarden:21464, targetSdk 36
process: com.x8bit.bitwarden
processUptime: 207 + 277 ms
installer: dev.zapstore.app
java.lang.NullPointerException: Attempt to read from field 'fjc gic.a' on a null object reference in method 'void com.bitwarden.ui.platform.feature.cardscanner.util.CardTextAnalyzerImpl.<init>(com.bitwarden.ui.platform.feature.cardscanner.util.CardDataParser)'
	at com.bitwarden.ui.platform.feature.cardscanner.util.CardTextAnalyzerImpl.<init>(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:31)
	at l95.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:30)
	at u05.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:1388)
	at bq1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:44)
	at bq1.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:9)
	at vs1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:67)
	at b2.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:352)
	at bq1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:44)
	at bq1.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:9)
	at knc.b(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:150)
	at zt1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:311)
	at gm.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:58)
	at bq1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:44)
	at bq1.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:9)
	at knc.b(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:150)
	at mm.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:568)
	at i7b.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:245)
	at bq1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:44)
	at bq1.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:9)
	at knc.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:175)
	at i7b.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:211)
	at bq1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:44)
	at bq1.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:9)
	at gt1.n(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:93)
	at ut1.j(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:37)
	at n67.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:78)
	at ut1.B(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:27)
	at jm.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:86)
	at pl.setOnViewTreeOwnersAvailable(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:7)
	at j7b.b(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:10)
	at j7b.l(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:19)
	at q55.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:23)
	at r55.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:252)
	at jm.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:55)
	at pl.onAttachedToWindow(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:389)
	at android.view.View.dispatchAttachedToWindow(View.java:23294)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3517)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3524)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3524)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3524)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3524)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3524)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3524)
	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3667)
	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3127)
	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10807)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1630)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1639)
	at android.view.Choreographer.doCallbacks(Choreographer.java:1235)
	at android.view.Choreographer.doFrame(Choreographer.java:1164)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1613)
	at android.os.Handler.handleCallback(Handler.java:1070)
	at android.os.Handler.dispatchMessage(Handler.java:125)
	at android.os.Looper.dispatchMessage(Looper.java:333)
	at android.os.Looper.loopOnce(Looper.java:263)
	at android.os.Looper.loop(Looper.java:367)
	at android.app.ActivityThread.main(ActivityThread.java:9332)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837)

Expected Result

The app should not crash on a NPE on startup.

Actual Result

The app crashes with above stack trace on startup

Screenshots or Videos

No response

Additional Context

No response

Build Version

Password Manager 2026.4.1 (21464)

What server are you connecting to?

US

Self-host Server Version

No response

Environment Details

No response

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
Originally created by @hieblmi on GitHub (May 13, 2026). Original GitHub issue: https://github.com/bitwarden/android/issues/6913 ### Steps To Reproduce Starting the app results in a NPE crashing the app: ``` type: crash osVersion: google/oriole/oriole:16/BP4A.251205.006/2026050901:user/release-keys flags: dev options enabled package: com.x8bit.bitwarden:21464, targetSdk 36 process: com.x8bit.bitwarden processUptime: 207 + 277 ms installer: dev.zapstore.app ``` ``` java.lang.NullPointerException: Attempt to read from field 'fjc gic.a' on a null object reference in method 'void com.bitwarden.ui.platform.feature.cardscanner.util.CardTextAnalyzerImpl.<init>(com.bitwarden.ui.platform.feature.cardscanner.util.CardDataParser)' at com.bitwarden.ui.platform.feature.cardscanner.util.CardTextAnalyzerImpl.<init>(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:31) at l95.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:30) at u05.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:1388) at bq1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:44) at bq1.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:9) at vs1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:67) at b2.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:352) at bq1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:44) at bq1.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:9) at knc.b(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:150) at zt1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:311) at gm.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:58) at bq1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:44) at bq1.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:9) at knc.b(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:150) at mm.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:568) at i7b.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:245) at bq1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:44) at bq1.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:9) at knc.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:175) at i7b.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:211) at bq1.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:44) at bq1.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:9) at gt1.n(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:93) at ut1.j(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:37) at n67.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:78) at ut1.B(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:27) at jm.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:86) at pl.setOnViewTreeOwnersAvailable(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:7) at j7b.b(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:10) at j7b.l(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:19) at q55.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:23) at r55.a(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:252) at jm.invoke(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:55) at pl.onAttachedToWindow(r8-map-id-87b6bba903db9d3c226b1cd25836eb133bc473b42c43e0521aeba5cdee6c3c72:389) at android.view.View.dispatchAttachedToWindow(View.java:23294) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3517) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3524) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3524) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3524) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3524) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3524) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3524) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3667) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3127) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10807) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1630) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1639) at android.view.Choreographer.doCallbacks(Choreographer.java:1235) at android.view.Choreographer.doFrame(Choreographer.java:1164) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1613) at android.os.Handler.handleCallback(Handler.java:1070) at android.os.Handler.dispatchMessage(Handler.java:125) at android.os.Looper.dispatchMessage(Looper.java:333) at android.os.Looper.loopOnce(Looper.java:263) at android.os.Looper.loop(Looper.java:367) at android.app.ActivityThread.main(ActivityThread.java:9332) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837) ``` ### Expected Result The app should not crash on a NPE on startup. ### Actual Result The app crashes with above stack trace on startup ### Screenshots or Videos _No response_ ### Additional Context _No response_ ### Build Version Password Manager 2026.4.1 (21464) ### What server are you connecting to? US ### Self-host Server Version _No response_ ### Environment Details _No response_ ### Issue Tracking Info - [ ] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
GiteaMirror added the bugapp:password-manager labels 2026-05-30 18:18:10 -05:00
Author
Owner

@bitwarden-bot commented on GitHub (May 13, 2026):

Thank you for your report! We've added this to our internal board for review.
ID: PM-37238

<!-- gh-comment-id:4438361749 --> @bitwarden-bot commented on GitHub (May 13, 2026): Thank you for your report! We've added this to our internal board for review. ID: [PM-37238](https://bitwarden.atlassian.net/browse/PM-37238) [PM-37238]: https://bitwarden.atlassian.net/browse/PM-37238?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Author
Owner

@pamperer562580892423 commented on GitHub (May 13, 2026):

I think that's the same error message as it occurred here: https://github.com/bitwarden/android/issues/6884

<!-- gh-comment-id:4439356010 --> @pamperer562580892423 commented on GitHub (May 13, 2026): I think that's the same error message as it occurred here: https://github.com/bitwarden/android/issues/6884
Author
Owner

@Krychaz commented on GitHub (May 13, 2026):

Hello,

@hieblmi Can you confirm the installation method of your Bitwarden app?

<!-- gh-comment-id:4440675802 --> @Krychaz commented on GitHub (May 13, 2026): Hello, @hieblmi Can you confirm the installation method of your Bitwarden app?
Author
Owner

@hieblmi commented on GitHub (May 13, 2026):

Hi, it is through zap store, see https://zapstore.dev/apps/com.x8bit.bitwarden

<!-- gh-comment-id:4441181114 --> @hieblmi commented on GitHub (May 13, 2026): Hi, it is through zap store, see https://zapstore.dev/apps/com.x8bit.bitwarden
Author
Owner

@hieblmi commented on GitHub (May 13, 2026):

I think that's the same error message as it occurred here: #6884

Seems like it. It's also from a non-standard AppStore (Obtainium)

<!-- gh-comment-id:4441244595 --> @hieblmi commented on GitHub (May 13, 2026): > I think that's the same error message as it occurred here: [#6884](https://github.com/bitwarden/android/issues/6884) Seems like it. It's also from a non-standard AppStore (Obtainium)
Author
Owner

@diogotcorreia commented on GitHub (May 13, 2026):

This is definitely a duplicate of https://github.com/bitwarden/android/issues/6884
See https://github.com/bitwarden/android/issues/6884#issuecomment-4413765481 for a hot fix.

<!-- gh-comment-id:4444637876 --> @diogotcorreia commented on GitHub (May 13, 2026): This is definitely a duplicate of https://github.com/bitwarden/android/issues/6884 See https://github.com/bitwarden/android/issues/6884#issuecomment-4413765481 for a hot fix.
Author
Owner

@hieblmi commented on GitHub (May 15, 2026):

The latest version fixes the issue, App is working again.

<!-- gh-comment-id:4460891568 --> @hieblmi commented on GitHub (May 15, 2026): The latest version fixes the issue, App is working again.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#95767