An empty supportedlock element returned from a PROPFIND (<a:supportedlock/> as in IIS for example) causes a NullPointerException at line 176 (getPropertyAsString) of SupportedLockProperty in the webdav client, as the locks value returned is null and there is no guard against this.
An empty lockdiscovery element returned from a PROPFIND (<D:lockdiscovery/> as in Apache for example) causes a NullPointerException at line 236 (getPropertyAsString) of LockDiscoveryProperty in the webdav client, as the locks value returned is null and there is no guard against this.
