Fixes #32: NPE in SpringLoadedPreProcessor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user