Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

IllegalStateException: Display already acquired #2240

Closed
cpeterso opened this issue Mar 4, 2019 · 1 comment
Closed

IllegalStateException: Display already acquired #2240

cpeterso opened this issue Mar 4, 2019 · 1 comment

Comments

@cpeterso
Copy link
Contributor

cpeterso commented Mar 4, 2019

A Fenix crash report from the Google Play Console suggests that GeckoEngineView.render() is calling GeckoView.setSession() when it has already acquired a display:

https://searchfox.org/mozilla-central/rev/92d11a33250a8e368c8ca3e962e15ca67117f765/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java#1802

Caused by: java.lang.IllegalStateException: 
  at org.mozilla.geckoview.GeckoSession.acquireDisplay (GeckoSession.java:6)
  at org.mozilla.geckoview.GeckoView.setSession (GeckoView.java:17)
  at org.mozilla.geckoview.GeckoView.setSession (GeckoView.java:4)
  at mozilla.components.browser.engine.gecko.GeckoEngineView.render (GeckoEngineView.kt:5)
  at mozilla.components.feature.session.EngineViewPresenter.renderSession$feature_session_release (EngineViewPresenter.kt:1)
  at mozilla.components.feature.session.EngineViewPresenter.start (EngineViewPresenter.kt:5)
  at mozilla.components.feature.session.SessionFeature.start (SessionFeature.kt:1)
  at mozilla.components.support.base.feature.ViewBoundFeatureWrapper.start$support_base_release (ViewBoundFeatureWrapper.kt:1)
  at mozilla.components.support.base.feature.LifecycleBinding.start (ViewBoundFeatureWrapper.kt:1)
  at java.lang.reflect.Method.invoke (Native Method)
  at androidx.lifecycle.ClassesInfoCache$MethodReference.invokeCallback (ClassesInfoCache.java:4)

┆Issue is synchronized with this Jira Task

@pocmo
Copy link
Contributor

pocmo commented Mar 5, 2019

It looks like this was an issue in Fenix and was fixed here:

@pocmo pocmo closed this as completed Mar 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants