Fix possible NPE.

This commit is contained in:
Jesse Vincent 2010-12-19 01:52:40 +00:00
parent 14f0b7faf4
commit 0f7fc33544
1 changed files with 1 additions and 1 deletions

View File

@ -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;