IClasspathContainer classpathContainer = JavaCore.getClasspathContainer(entry.getPath(), javaProject);
if (classpathContainer != null && !(classpathContainer instanceof JREContainer)) {
IClasspathEntry[] classpathEntries = classpathContainer.getClasspathEntries();
for (IClasspathEntry iClasspathEntry : classpathEntries) {
IPath path = iClasspathEntry.getPath();
<BUG>if (path != null && path.toFile().exists()) {
classPath.add(path.toOSString());</BUG>
}
}
}

IClasspathContainer classpathContainer = JavaCore.getClasspathContainer(entry.getPath(), javaProject);
if (classpathContainer != null && !(classpathContainer instanceof JREContainer)) {
IClasspathEntry[] classpathEntries = classpathContainer.getClasspathEntries();
for (IClasspathEntry iClasspathEntry : classpathEntries) {
IPath path = iClasspathEntry.getPath();
if (isValidPath(path)) {
classPath.add(path.toOSString());
