Closed Bug 1812627 Opened 3 years ago Closed 3 years ago

Crash in [@ java.lang.IllegalStateException: at org.mozilla.fenix.theme.FirefoxThemeKt$localFirefoxColors$1.invoke(FirefoxTheme.kt:9)]

Categories

(Firefox for Android :: General, defect, P1)

All
Android
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox109 --- unaffected
firefox110 --- unaffected
firefox111 + fixed

People

(Reporter: amejia, Assigned: harrisono)

References

Details

(Keywords: crash, regression, topcrash)

Crash Data

Attachments

(1 file)

Sentry nightly https://sentry.io/organizations/mozilla/issues/3896386581/events/bb4807e4d2254e80a618fed00a2e5b20/?project=6295546

java.lang.IllegalStateException: No FirefoxColors provided
    at org.mozilla.fenix.theme.FirefoxThemeKt$localFirefoxColors$1.invoke(FirefoxTheme.kt:9)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:21)
    at androidx.compose.runtime.LazyValueHolder.getValue(ValueHolders.kt:3)
    at androidx.compose.runtime.ComposerImpl.consume(Composer.kt:39)
    at org.mozilla.fenix.compose.button.RadioButtonKt.RadioButton(RadioButton.kt:167)
    at org.mozilla.fenix.perf.ProfilerReusableComposableKt.ProfilerLabeledRadioButton(ProfilerReusableComposable.kt:351)
    at org.mozilla.fenix.perf.ProfilerStartDialogFragment$StartCard$1.invoke(ProfilerStartDialogFragment.kt:403)
    at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:8)
    at org.mozilla.fenix.perf.ProfilerReusableComposableKt$ProfilerDialogueCard$1.invoke(ProfilerReusableComposable.kt:37)
    at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:8)
    at androidx.compose.material.SurfaceKt$Surface$1.invoke(Surface.kt:216)
    at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:8)
    at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:32)
    at androidx.compose.material.SurfaceKt.Surface-F-jzlyU(Surface.kt:431)
    at androidx.compose.material.CardKt.Card-F-jzlyU(Card.kt:123)
    at org.mozilla.fenix.perf.ProfilerReusableComposableKt.ProfilerDialogueCard(ProfilerReusableComposable.kt:78)
    at org.mozilla.fenix.perf.ProfilerStartDialogFragment.access$StartCard(ProfilerStartDialogFragment.kt:68)
    at org.mozilla.fenix.perf.ProfilerStartDialogFragment$StartProfileDialog$2.invoke(ProfilerStartDialogFragment.kt:57)
    at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:8)
    at androidx.compose.ui.window.AndroidDialog_androidKt$Dialog$dialog$1$1$1$2.invoke(AndroidDialog.android.kt:40)
    at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:8)
    at androidx.compose.ui.window.AndroidDialog_androidKt.access$DialogLayout(AndroidDialog.android.kt:205)
    at androidx.compose.ui.window.AndroidDialog_androidKt$Dialog$dialog$1$1$1.invoke(AndroidDialog.android.kt:52)
    at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:8)
    at androidx.compose.ui.window.DialogLayout.Content(AndroidDialog.android.kt:23)
    at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:31)
    at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:8)
    at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:32)
    at androidx.compose.ui.platform.CompositionLocalsKt.ProvideCommonCompositionLocals(CompositionLocals.kt:334)
    at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:41)
    at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:8)
    at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:32)
    at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt.ProvideAndroidCompositionLocals(AndroidCompositionLocals.android.kt:548)
    at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$3.invoke(Wrapper.android.kt:35)
    at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:8)
    at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:32)
    at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:173)
    at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:8)
    at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:37)
    at androidx.compose.runtime.SnapshotStateKt.observeDerivedStateRecalculations
    at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:122)
    at androidx.compose.runtime.ComposerImpl.composeContent$runtime_release(Composer.kt:14)
    at androidx.compose.runtime.CompositionImpl.composeContent(Composition.kt:18)
    at androidx.compose.runtime.Recomposer.composeInitial$runtime_release(Recomposer.kt:45)
    at androidx.compose.runtime.ComposerImpl$CompositionContextImpl.composeInitial$runtime_release(Composer.kt:10)
    at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:13)
    at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:72)
    at androidx.compose.ui.platform.AndroidComposeView.setOnViewTreeOwnersAvailable(AndroidComposeView.android.kt:12)
    at androidx.compose.ui.platform.WrappedComposition.setContent(Wrapper.android.kt:13)
    at androidx.compose.ui.platform.WrappedComposition.onStateChanged(Wrapper.android.kt:30)
    at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.java:15)
    at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.java:95)
    at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:37)
    at androidx.compose.ui.platform.AndroidComposeView.onAttachedToWindow(AndroidComposeView.android.kt:140)
    at android.view.View.dispatchAttachedToWindow(View.java:22468)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3686)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3695)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3695)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3695)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3695)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3544)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2991)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10665)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1301)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1309)
    at android.view.Choreographer.doCallbacks(Choreographer.java:923)
    at android.view.Choreographer.doFrame(Choreographer.java:852)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1283)
    at android.os.Handler.handleCallback(Handler.java:942)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:226)
    at android.os.Looper.loop(Looper.java:313)
    at android.app.ActivityThread.main(ActivityThread.java:8741)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Possible introduced on https://github.com/mozilla-mobile/fenix/pull/28515/

Harrison are you familiar with the crash?

Flags: needinfo?(hoglesby)

Crash report: https://crash-stats.mozilla.org/report/index/eac2108a-099c-44ac-8c00-35bbe0230126

Is this crash a regression or a new crash signature in 111? I don't see any crash reports from earlier versions.

Crash Signature: [@ java.lang.IllegalStateException: at org.mozilla.fenix.theme.FirefoxThemeKt$localFirefoxColors$1.invoke(FirefoxTheme.kt:9)]

I think it's a new crash that was possibly introduced on https://github.com/mozilla-mobile/fenix/pull/28515/

taking a look, this might be a regression caused by the changes to the Selectable Chip

Flags: needinfo?(hoglesby)
Assignee: nobody → hoglesby
Status: NEW → ASSIGNED
Keywords: crash, regression
Summary: Crash: IllegalStateException: No FirefoxColors provided ProfilerReusableComposableKt → Crash in [@ java.lang.IllegalStateException: at org.mozilla.fenix.theme.FirefoxThemeKt$localFirefoxColors$1.invoke(FirefoxTheme.kt:9)]
Rank: 111
Priority: P3 → P1

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

  • Top 10 AArch64 and ARM crashes on nightly

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(hoglesby)
Keywords: topcrash

The bug is marked as tracked for firefox111 (nightly). However, the bug still has low severity.

:cpeterson, could you please increase the severity for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(hoglesby)
Flags: needinfo?(cpeterson)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: