diff --git a/src/com/fsck/k9/mail/store/WebDavStore.java b/src/com/fsck/k9/mail/store/WebDavStore.java index 872309400..5ab2ef49d 100644 --- a/src/com/fsck/k9/mail/store/WebDavStore.java +++ b/src/com/fsck/k9/mail/store/WebDavStore.java @@ -741,7 +741,7 @@ public class WebDavStore extends Store if (formAction == null) { // If there is no form action, try using our redirect URL from the initial connection. - if (info.redirectUrl != null && !info.redirectUrl.equals("")) + if (info != null && info.redirectUrl != null && !info.redirectUrl.equals("")) { loginUrl = info.redirectUrl;