Let android put the app to sleep mode or just minimize the app while on home screen
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
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
Steps to reproduce
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