Detailed Release Notes - Release Android - 3.9.2 (12/04/2024)
  • 05 Dec 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Detailed Release Notes - Release Android - 3.9.2 (12/04/2024)

  • Dark
    Light

Article summary

Overview

Android Crash Scenario Fix: Changed lifecycle owner for a fragment result listener within EventContainerFragment which could have caused a crash under specific circumstances

No Sensitive Dependencies related to this release (see: 3.9.0 for latest version)


Crash Scenario Fix

  • Description of crash below:
  • Pick up if your app is experiancing this crash on Andoird

Fatal Crash Occurring. New to this release and rapidly on the rise. We just put this release out and on only 1000 users we are seeing almost 3000 crashes related to this.

Fatal Exception: java.lang.IllegalStateException: Can't access the Fragment View's LifecycleOwner for EventsContainerFragment{79cfe8e} (1493c6fc-f293-4b54-9e82-300b73ebb4a3 id=0x7f0b039b) when getView() is null i.e., before onCreateView() or after onDestroyView()
       at androidx.fragment.app.Fragment.getViewLifecycleOwner(Fragment.java:385)
       at com.ticketmaster.tickets.eventlist.EventsContainerFragment.setupFragmentResult(EventsContainerFragment.kt:326)
       at com.ticketmaster.tickets.eventlist.EventsContainerFragment.setup(EventsContainerFragment.kt:92)
       at com.ticketmaster.tickets.eventlist.EventsContainerFragment.access$setup(EventsContainerFragment.kt:53)
       at com.ticketmaster.tickets.eventlist.EventsContainerFragment$loadUser$1.invokeSuspend(EventsContainerFragment.kt:77)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
       at android.os.Handler.handleCallback(Handler.java:958)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:230)
       at android.os.Looper.loop(Looper.java:319)
       at android.app.ActivityThread.main(ActivityThread.java:9063)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:588)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)

Was this article helpful?