Bug 31905 Package Explorer serious drawing problem
I have Windows 2000, JDK 1.4.0_01, Eclipse 2.1 M5 build. For no apparent reason, the package explorer seems to lose its mind for particular sections of the heirarchy. I am able to expand and collapse the tree and interact with it just fine. But certain sections become invisible and the only remedy is to restart eclipse. Please see the attached image. This has happend twice now, and I have no idea why.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java
ICompilationUnit cu= (ICompilationUnit) element.getAncestor(IJavaElement.COMPILATION_UNIT);
						if (cu != null) {
							ISourceReference ref= (type == IJavaElement.COMPILATION_UNIT) ? null : (ISourceReference) element;
							
							if (cu.isWorkingCopy()) {
								
								return getErrorTicksFromWorkingCopy((ICompilationUnit) cu.getOriginalElement(), ref);
							}
							return getErrorTicksFromMarkers(cu.getResource(), IResource.DEPTH_ONE, ref);
						}
						break;
					default:
				}
			} else if (obj instanceof IResource) {
				return getErrorTicksFromMarkers((IResource) obj, IResource.DEPTH_INFINITE, null);
			}
		} catch (CoreException e) {
			if (e instanceof JavaModelException) {
				if (((JavaModelException) e).isDoesNotExist()) {
					return 0;
				}
			}
			JavaPlugin.log(e);
		}
		return 0;
	}
	private int getErrorTicksFromMarkers(IResource res, int depth, ISourceReference sourceElement) throws CoreException {
		if (res == null || !res.isAccessible()) {
			return 0;
		}