Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by philipwhiuk
, 1 year ago
com.fsck.k9.mail.MessagingException: Error appending message: sgurrNAS Warning
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference	at java.io.StringReader.(StringReader.java:50)	at android.text.HtmlToSpannedConverter.convert(Html.java:758)	at android.text.Html.fromHtml(Html.java:245)	at android.text.Html.fromHtml(Html.java:219)	at com.fsck.k9.helper.HtmlConverter.htmlToText(HtmlConverter.java:107)	at com.fsck.k9.message.extractors.MessageFulltextCreator.extractText(MessageFulltextCreator.java:52)	at com.fsck.k9.message.extractors.MessageFulltextCreator.createFulltext(MessageFulltextCreator.java:37)	at com.fsck.k9.mailstore.LocalFolder.saveMessage(LocalFolder.java:1292)	at com.fsck.k9.mailstore.LocalFolder$15.doDbWork(LocalFolder.java:1223)	at com.fsck.k9.mailstore.LocalFolder$15.doDbWork(LocalFolder.java:1218)	at com.fsck.k9.mailstore.LockableDatabase.execute(LockableDatabase.java:275)	at com.fsck.k9.mailstore.LocalFolder.appendMessages(LocalFolder.java:1218)	at com.fsck.k9.mailstore.LocalFolder.appendMessages(LocalFolder.java:1145)	at com.fsck.k9.mailstore.LocalFolder$13.doDbWork(LocalFolder.java:1118)	at com.fsck.k9.mailstore.LocalFolder$13.doDbWork(LocalFolder.java:1114)	at com.fsck.k9.mailstore.LockableDatabase.execute(LockableDatabase.java:275)	at com.fsck.k9.mailstore.LocalFolder.storeSmallMessage(LocalFolder.java:1114)	at com.fsck.k9.controller.MessagingController$12.messageFinished(MessagingController.java:1406)	at com.fsck.k9.mail.store.imap.ImapFolder.fetch(ImapFolder.java:770)	at com.fsck.k9.controller.MessagingController.downloadSmallMessages(MessagingController.java:1393)	at com.fsck.k9.controller.MessagingController.downloadMessages(MessagingController.java:1196)	at com.fsck.k9.controller.MessagingController.synchronizeMailboxSynchronous(MessagingController.java:953)	at com.fsck.k9.controller.MessagingController$9.run(MessagingController.java:739)	at com.fsck.k9.controller.MessagingController.runInBackground(MessagingController.java:204)	at com.fsck.k9.controller.MessagingController.access$000(MessagingController.java:115)	at com.fsck.k9.controller.MessagingController$1.run(MessagingController.java:173)	at java.lang.Thread.run(Thread.java:761)