Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
-
OC4J - Oracle Internet Application Server 10.1.2
Click 1.4RC1
Description
servletContext.getResourcePaths(dirPath) in processDirectory can return null - on Tomcat 5 this seems not to happend but on OC4J container it does. According to the Java API doc for getResourcePaths: "a Set containing the directory listing, or null if there are no resources in the web application whose path begins with the supplied path". This is a Blocker for us.
private void processDirectory(String dirPath, List fileList) {
Set resources = servletContext.getResourcePaths(dirPath);
// TODO: hw: fix
if (resources == null)
for (Iterator i = resources.iterator(); i.hasNext() {
String resource = (String) i.next();
.....