From d30854eae722cb5b9c3bdbd04ddf937039abbadc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 13 Dec 2011 15:43:40 +0300 Subject: [PATCH] workaround against crash if article content is null --- src/org/fox/ttrss/ArticleFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/fox/ttrss/ArticleFragment.java b/src/org/fox/ttrss/ArticleFragment.java index cc406e85..1d263fc5 100644 --- a/src/org/fox/ttrss/ArticleFragment.java +++ b/src/org/fox/ttrss/ArticleFragment.java @@ -117,7 +117,7 @@ public class ArticleFragment extends Fragment { cssOverride = ""; } - String articleContent = m_article.content; + String articleContent = m_article.content != null ? m_article.content : ""; Document doc = Jsoup.parse(articleContent);