Project: Tomcat
Bug 51348 Potential NullPointerException in org.apache.catalina.servlets.WebdavServlet at line 1336
Reported: 2011-06-09 08:53:41 | Status: resolved fixed

A WebDAV LOCK_REFRESH request may cause a NullPointerException because of an (IMHO) wrong check at line 1332 in WebdavServlet.java 1056763 2011-01-08 18:56:57Z markt. I suggest line 1332 should be: ... if (toRenew != null) { ...

Files changed in fix:
java/org/apache/catalina/servlets/WebdavServlet.java