diff --git a/app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelTabFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelTabFragment.java index 76849d94d70..b3b81b1e1f9 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelTabFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelTabFragment.java @@ -132,8 +132,9 @@ public void handleResult(@NonNull final ChannelTabInfo result) { .getChannelTabLHFactory() .fromQuery(tabHandler.getId(), tabHandler.getContentFilters(), tabHandler.getSortFilter()); - } catch (final ParsingException e) { + } catch (final ParsingException | NullPointerException e) { // silently ignore the error, as the app can continue to function normally + // NPE happens when the service does not have a ChannelTabLHFactory Log.w(TAG, "Could not recreate channel tab handler", e); } }