Closed Bug 1923445 Opened 1 year ago Closed 1 year ago

Crash in [@ java.lang.NullPointerException: at android.security.KeyStore.contains(KeyStore.java)] in mozilla.components.lib.dataprotect.KeyStoreWrapper

Categories

(Firefox for Android :: Logins, defect, P5)

Unspecified
Android
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox132 --- affected
firefox133 --- affected

People

(Reporter: cpeterson, Unassigned)

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/ecb22f4e-c43f-434a-beb0-447050241004

Low volume crash, about 60 crash reports from just 4 users. All the (4) users are on Android 23, 24, or 25.

Exception: java.lang.NullPointerException
Message: Attempt to invoke interface method 'int android.security.IKeystoreService.exist(java.lang.String, int)' on a null object reference

Top 10 frames:

0  android.security.KeyStore  contains  KeyStore.java:210
1  android.security.keystore.AndroidKeyStoreSpi  isPrivateKeyEntry  AndroidKeyStoreSpi.java:829
2  android.security.keystore.AndroidKeyStoreSpi  engineGetKey  AndroidKeyStoreSpi.java:92
3  java.security.KeyStore  getKey  KeyStore.java:825
4  mozilla.components.lib.dataprotect.KeyStoreWrapper  getKeyFor  Keystore.kt:16
5  mozilla.components.lib.dataprotect.Keystore  getKey  Keystore.kt:5
6  mozilla.components.lib.dataprotect.Keystore  <init>  Keystore.kt:13
7  mozilla.components.lib.dataprotect.SecurePreferencesImpl23$keystore$2  invoke  SecureAbove22Preferences.kt:14
8  kotlin.SynchronizedLazyImpl  getValue  LazyJVM.kt:21
9  mozilla.components.lib.dataprotect.SecurePreferencesImpl23  getString  SecureAbove22Preferences.kt:5

Since the crash volume is low (less than 15 per week), the severity is downgraded to S3. Feel free to change it back if you think the bug is still critical.

For more information, please visit BugBot documentation.

Severity: S2 → S3

Closing because no crashes reported for 12 weeks.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.