Fixes #32: NPE in SpringLoadedPreProcessor

This commit is contained in:
Andy Clement
2014-03-06 13:29:59 -08:00
parent 9346b7749b
commit 4bd2f93d71

View File

@@ -509,7 +509,7 @@ public class SpringLoadedPreProcessor implements Constants {
} else if (uristring.startsWith("file:./")) {
file = new File(uristring.substring(7)).getAbsoluteFile();
}
if (file.exists()) {
if (file!=null && file.exists()) {
recovered = true;
}
}