Bug 53201 NPE when re-running newly generated javadoc.xml
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java
if (basePath == null) {
				return null;
			}
			return basePath.append(pathStr);
		}
		return path;
	}
	
	private IContainer[] getSourceContainers(Element element) {
		String sourcePaths= element.getAttribute(SOURCEPATH);
		StringTokenizer tokenizer= new StringTokenizer(sourcePaths, ","); 
		ArrayList res= new ArrayList();
		
		IWorkspaceRoot root= ResourcesPlugin.getWorkspace().getRoot();
		
		while (tokenizer.hasMoreTokens()) {
			IPath path= makeAbsolutePathFromRelative(tokenizer.nextToken().trim());
			if (path != null) {
				IContainer[] containers= root.findContainersForLocation(path);
				for (int i= 0; i < containers.length; i++) {
					res.add(containers[i]);
				}
			}
		}
		return (IContainer[]) res.toArray(new IContainer[res.size()]);
	}
	
	private IJavaElement[] getSelectedElementsFromAnt(Element element) {
		List res= new ArrayList();