Android 5 x86 Crash in [@ java.lang.NullPointerException: at mozilla.appservices.fxaclient.FirefoxAccount.getDevices(fxa_client.kt)] Attempt to invoke virtual method 'long java.util.concurrent.atomic.AtomicLong.decrementAndGet()' on a null object ref
Categories
(Firefox for Android :: Experimentation and Telemetry, defect, P5)
Tracking
()
People
(Reporter: kbrosnan, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Crash Data
Crash report: https://crash-stats.mozilla.org/report/index/7679de6e-290a-4b55-90b1-37ca60221117
Java stack trace:
java.lang.RuntimeException: Unable to create application org.mozilla.fenix.FenixApplication: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.util.concurrent.atomic.AtomicLong.decrementAndGet()' on a null object reference
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4622)
at android.app.ActivityThread.access$1500(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1367)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5320)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.util.concurrent.atomic.AtomicLong.decrementAndGet()' on a null object reference
at mozilla.telemetry.glean.internal.EventMetric.record(glean.kt:8)
at mozilla.telemetry.glean.private.EventMetricType.record(EventMetricType.kt:1)
at org.mozilla.experiments.nimbus.internal.FeatureHolder$value$1.invoke(FeatureHolder.kt:11)
at org.mozilla.experiments.nimbus.internal.FeatureHolder.runBlock(FeatureHolder.kt:2)
at org.mozilla.experiments.nimbus.internal.FeatureHolder.value$default(FeatureHolder.kt:2)
at org.mozilla.fenix.utils.Settings.getMr2022Sections(Settings.kt:3)
at org.mozilla.fenix.utils.Settings.<init>(Settings.kt:183)
at org.mozilla.fenix.components.Components$settings$2.invoke(Components.kt:3)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
at org.mozilla.fenix.components.Components.getSettings(Components.kt:1)
at org.mozilla.fenix.ext.ContextKt.settings(Context.kt:1)
at org.mozilla.fenix.FenixApplication.onCreate(FenixApplication.kt:18)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4619)
... 9 more
Crash involves Nimbus.
| Reporter | ||
Comment 1•3 years ago
|
||
This query requires protected data access. https://crash-stats.mozilla.org/search/?java_stack_trace_raw=~nimbus&signature=%3Djava.lang.RuntimeException%3A%20at%20android.app.ActivityThread.handleBindApplication%28ActivityThread.java%29&product=Fenix&_facets=signature&_sort=-date&_columns=date&_columns=signature&_columns=product&_columns=version&_columns=build_id&_columns=platform#crash-reports
Comment 2•3 years ago
|
||
The bug is linked to a topcrash signature, which matches the following criterion:
- Top 5 AMD64 and x86 crashes on release
:cpeterson, could you consider increasing the severity of this top-crash bug?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Moving to Fenix's "Experimentation and Telemetry" component because this looks like a Nimbus or Glean bug:
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.util.concurrent.atomic.AtomicLong.decrementAndGet()' on a null object reference
at mozilla.telemetry.glean.internal.EventMetric.record(glean.kt:8)
at mozilla.telemetry.glean.private.EventMetricType.record(EventMetricType.kt:1)
at org.mozilla.experiments.nimbus.internal.FeatureHolder$value$1.invoke(FeatureHolder.kt:11)
at org.mozilla.experiments.nimbus.internal.FeatureHolder.runBlock(FeatureHolder.kt:2)
Comment 4•3 years ago
|
||
Christian says this crash is in UniFFI generated code, similar to crash https://github.com/mozilla/application-services/issues/4380.
Comment 5•3 years ago
|
||
97% of these crashes are from x86 or x86_64 devices and running old Android 5.0 or 5.1, so lowering priority to P5.
| Reporter | ||
Comment 6•3 years ago
|
||
The spike is not showing new crashes, the A-C issue 4380 that I filed in August of '21 is the same crash. The signature must have changed in 106.
Comment 7•3 years ago
|
||
Based on the topcrash criteria, the crash signature linked to this bug is not a topcrash signature anymore.
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 8•2 years ago
|
||
Sorry for removing the keyword earlier but there is a recent change in the ranking, so the bug is again linked to a topcrash signature, which matches the following criterion:
- Top 10 AArch64 and ARM crashes on beta
For more information, please visit auto_nag documentation.
Comment 9•2 years ago
|
||
Based on the topcrash criteria, the crash signature linked to this bug is not a topcrash signature anymore.
For more information, please visit auto_nag documentation.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Adding more crash signatures from Android 5 x86 devices.
Comment 11•1 year ago
|
||
[@ java.lang.NullPointerException: at mozilla.appservices.autofill.Store.getAllCreditCards(autofill.kt) ] is another crash signature with the same issue on x86 Android 5 devices.
https://crash-stats.mozilla.org/report/index/631069ae-0964-4fa0-91f9-325960241213
Updated•1 year ago
|
Updated•7 months ago
|
Updated•5 months ago
|
Description
•