aaronoe/Cinematic

App crash when on poor network connectivity scenarios while changing from the Movie list to the TV Show list or vice versa

Opened this issue · 0 comments

Hi, we found a bug that crashes the app if there is a poor internet connection. This happens whenever we change from the main movie list to the main TV show list and the other way around. After doing this, the app crashes because the showErrorMessage calls the context of the activity that was loaded, bot the activity is destroyed when changing to the other activity, so context becomes null, causing something like a NullPointerException in the method “Utilities.isOnline()”.