flixclusiveorg / Flixclusive

A TV show and movie player application.
MIT License
392 stars 36 forks source link

NullPointerException at getHomeRecommendations #107

Closed rhenwinch closed 4 months ago

rhenwinch commented 4 months ago

Steps to reproduce

  1. Let android put the app to sleep mode or just minimize the app while on home screen
  2. Come back to the app

Expected behavior

Should just reload the home recommendations

Actual behavior

App crashes

Crash logs (or stack trace)

java.lang.NullPointerException at com.flixclusive.domain.home.HomeItemsProviderUseCase.getHomeRecommendations(HomeItemsProviderUseCase.kt:276) at com.flixclusive.domain.home.HomeItemsProviderUseCase.access$getHomeRecommendations(HomeItemsProviderUseCase.kt:44) at com.flixclusive.domain.home.HomeItemsProviderUseCase$invoke$1.invokeSuspend(HomeItemsProviderUseCase.kt:100) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)

Flixclusive version

pre-release

Android version

SDK 29

Device

emulator

Other details

No response

Acknowledgements