Bug 37249 Export Javadoc does not give any error when the path to javadoc.exe is bogus
Version: 2.1.0 Build id: 200303272130 I had a bogus path to javadoc.exe in Preferences/Java/Javadoc. When I clicked Finish in the Export/Javadoc wizard, nothing happened. I gave up using the feature until today when I ran accross my bad Preference setting. Obviously, the wizard needed to give the user some kind of error message. (FYI, this happened when I upgraded my set up from Sun's 1.4.1_01 to 1.4.1_02.)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
for (int i= 0; i < roots.length; i++) {
					IPackageFragmentRoot curr= roots[i];
					if (curr.getKind() == IPackageFragmentRoot.K_SOURCE) {
						IResource resource= curr.getResource();
						if (resource != null) {
							IPath p= resource.getLocation();
							if (p != null) {
								res.add(p);
							}
						}
					}
				}
			} catch (JavaModelException e) {
				JavaPlugin.log(e);
			}
		}
		return (IPath[]) res.toArray(new IPath[res.size()]);
	}
	private IPath[] getClassPath(IJavaProject[] javaProjects) {
		ArrayList res= new ArrayList();
		for (int j= 0; j < javaProjects.length; j++) {
			IJavaProject iJavaProject= javaProjects[j];
			try {
				IPath p= iJavaProject.getProject().getLocation();
				if (p == null)
					continue;
				IPath outputLocation= p.append(iJavaProject.getOutputLocation());
				String[] classPath= JavaRuntime.computeDefaultRuntimeClassPath(iJavaProject);
				for (int i= 0; i < classPath.length; i++) {
					String curr= classPath[i];