Closed Bug 1743169 Opened 4 years ago Closed 2 years ago

[@ org.mozilla.geckoview.GeckoResult$UncaughtException: at org.mozilla.geckoview.GeckoResult.dispatchLocked(GeckoResult.java) ] "nativeExtension.id must not be null"

Categories

(GeckoView :: Extensions, defect, P3)

Unspecified
Android
defect

Tracking

(firefox110 affected, firefox111 affected, firefox112 affected, firefox114 affected, firefox115 affected, firefox116 affected)

RESOLVED WONTFIX
Tracking Status
firefox110 --- affected
firefox111 --- affected
firefox112 --- affected
firefox114 --- affected
firefox115 --- affected
firefox116 --- affected

People

(Reporter: sebastian, Unassigned)

References

Details

(Keywords: topcrash, Whiteboard: [fxdroid] [foundation])

Crash Data

This crash started to show up in Fenix 96 Nightly.

java.lang.NullPointerException: nativeExtension.id must not be null
    at mozilla.components.browser.engine.gecko.webextension.GeckoWebExtension.<init>(GeckoWebExtension.kt:1)
    at mozilla.components.browser.engine.gecko.GeckoEngine$$ExternalSyntheticLambda12.onValue
    at org.mozilla.geckoview.GeckoResult.lambda$thenInternal$6(GeckoResult.java:2)
    at org.mozilla.geckoview.GeckoResult.$r8$lambda$CtmBkNQN_okuE2MBIfsimJFUi6Q(GeckoResult.java)
    at org.mozilla.geckoview.GeckoResult$$ExternalSyntheticLambda1.run
    at org.mozilla.geckoview.GeckoResult.lambda$dispatchLocked$7(GeckoResult.java:2)
    at org.mozilla.geckoview.GeckoResult.$r8$lambda$JYfUuhIZf5JetbZ-qCaWvlWcPeE(GeckoResult.java)
    at org.mozilla.geckoview.GeckoResult$$ExternalSyntheticLambda0.run
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5910)
    at java.lang.reflect.Method.invoke(Method.java)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

org.mozilla.geckoview.UncaughtException: java.lang.NullPointerException: nativeExtension.id must not be null
    at org.mozilla.geckoview.GeckoResult.dispatchLocked(GeckoResult.java:4)
    at org.mozilla.geckoview.GeckoResult.completeExceptionally(GeckoResult.java:4)
    at org.mozilla.geckoview.GeckoResult.lambda$thenInternal$6(GeckoResult.java:10)
    at org.mozilla.geckoview.GeckoResult.$r8$lambda$CtmBkNQN_okuE2MBIfsimJFUi6Q(GeckoResult.java)
    at org.mozilla.geckoview.GeckoResult$$ExternalSyntheticLambda1.run
    at org.mozilla.geckoview.GeckoResult.lambda$dispatchLocked$7(GeckoResult.java:2)
    at org.mozilla.geckoview.GeckoResult.$r8$lambda$JYfUuhIZf5JetbZ-qCaWvlWcPeE(GeckoResult.java)
    at org.mozilla.geckoview.GeckoResult$$ExternalSyntheticLambda0.run
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5910)
    at java.lang.reflect.Method.invoke(Method.java)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

We should investigate whether this is related to custom extensions on whether this is a problem in the making that we need to deal with.

Priority: -- → P1
Whiteboard: [geckoview:m97]
Blocks: 1697248
Crash Signature: [@ org.mozilla.geckoview.GeckoResult$UncaughtException: at org.mozilla.geckoview.GeckoResult.dispatchLocked(GeckoResult.java)]

I think this is a case of a corrupted disk/database, no reported crashes since Nov 24th. Let's keep monitoring it but I don't think this is going to be a problem.

The code is in beta and we haven't seen any occurrence of this, so I'm gonna lower the priority.

Priority: P1 → P3
Whiteboard: [geckoview:m97]
Severity: -- → S3

Moving some extension bugs to the GeckoView::Extensions component.

Component: General → Extensions
Crash Signature: [@ org.mozilla.geckoview.GeckoResult$UncaughtException: at org.mozilla.geckoview.GeckoResult.dispatchLocked(GeckoResult.java)] → [@ org.mozilla.geckoview.GeckoResult$UncaughtException: at org.mozilla.geckoview.GeckoResult.dispatchLocked]
Crash Signature: [@ org.mozilla.geckoview.GeckoResult$UncaughtException: at org.mozilla.geckoview.GeckoResult.dispatchLocked] → [@ org.mozilla.geckoview.GeckoResult$UncaughtException: at org.mozilla.geckoview.GeckoResult.dispatchLocked(:728)] [@ org.mozilla.geckoview.GeckoResult$UncaughtException: at org.mozilla.geckoview.GeckoResult.dispatchLocked(GeckoResult.java)] [@ org.mozi…
Summary: NullPointerException: nativeExtension.id must not be null → [@ org.mozilla.geckoview.GeckoResult$UncaughtException: at org.mozilla.geckoview.GeckoResult.dispatchLocked(GeckoResult.java) ] "nativeExtension.id must not be null"

The bug is linked to a topcrash signature, which matches the following criterion:

  • Top 10 AArch64 and ARM crashes on nightly

:amejia, could you consider increasing the severity of this top-crash bug?

For more information, please visit BugBot documentation.

Flags: needinfo?(amejiamarmol)
Keywords: topcrash

Based on the topcrash criteria, the crash signatures linked to this bug are not in the topcrash signatures anymore.

For more information, please visit BugBot documentation.

Keywords: topcrash
Flags: needinfo?(amejiamarmol)

Looks like there was a regression in 108, jumping from 64 crash reports from Fenix 107 to 400+ in Fenix 108.

But the crash volume graph shows a regression starting days before Fenix 113 was released (May 9). AFAICT, all the crash stacks mention org.mozilla.fenix.addons.InstalledAddonDetailsFragment:

https://crash-stats.mozilla.org/report/index/c94ac45d-9f5d-4bb3-9ecd-a27910230611

Caused by: java.lang.NullPointerException
	at org.mozilla.fenix.addons.InstalledAddonDetailsFragment$bindAllowInPrivateBrowsingSwitch$1$1.invoke(InstalledAddonDetailsFragment.kt:26)
	at mozilla.components.feature.addons.AddonManager$setAddonAllowedInPrivateBrowsing$3.invoke(AddonManager.kt:33)
	at mozilla.components.browser.engine.gecko.GeckoEngine$$ExternalSyntheticLambda17.onValue(R8$$SyntheticClass:35)
	at org.mozilla.geckoview.GeckoResult.lambda$thenInternal$6(GeckoResult.java:11)
        ...

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 BugBot documentation.

Keywords: topcrash
Whiteboard: [fxdroid] [foundation]

As this bug contains old generic stacktrace it maybe the case that other stacks are getting aggregated here
Closing in favour of https://bugzilla.mozilla.org/show_bug.cgi?id=1838321

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