diff --git a/net/discovery/src/main/java/de/danoeh/antennapod/net/discovery/ItunesTopListLoader.java b/net/discovery/src/main/java/de/danoeh/antennapod/net/discovery/ItunesTopListLoader.java index 0bfc5a863..5fa48458e 100644 --- a/net/discovery/src/main/java/de/danoeh/antennapod/net/discovery/ItunesTopListLoader.java +++ b/net/discovery/src/main/java/de/danoeh/antennapod/net/discovery/ItunesTopListLoader.java @@ -58,8 +58,9 @@ public class ItunesTopListLoader { List suggestedPodcasts, List subscribedFeeds, int limit) { Set subscribedPodcastsSet = new HashSet<>(); for (Feed subscribedFeed : subscribedFeeds) { - String subscribedTitle = subscribedFeed.getTitle().trim() + " - " + subscribedFeed.getAuthor().trim(); - subscribedPodcastsSet.add(subscribedTitle); + if (subscribedFeed.getTitle() != null && subscribedFeed.getAuthor() != null) { + subscribedPodcastsSet.add(subscribedFeed.getTitle().trim() + " - " + subscribedFeed.getAuthor().trim()); + } } List suggestedNotSubscribed = new ArrayList<>(); for (PodcastSearchResult suggested : suggestedPodcasts) {