Bug 59199 NPE in JavaDocView
java.lang.NullPointerException at org.eclipse.jdt.internal.ui.infoviews.JavadocView.findSelectedJavaEle ment(JavadocView.java:417) at org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView$2.run(Abstract InfoView.java:406) java.lang.NullPointerException at org.eclipse.jdt.internal.ui.infoviews.JavadocView.findSelectedJavaEle ment(JavadocView.java:417) at org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView$2.run(Abstract InfoView.java:406)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/JavadocView.java
IJavaElement je= (IJavaElement)input;
		String javadocHtml= null;
		if (je.getElementType() == IJavaElement.COMPILATION_UNIT) {
			try {
				javadocHtml= getJavadocHtml(((ICompilationUnit)je).getTypes());
			} catch (JavaModelException ex) {
				return null;
			}
		} else
			javadocHtml= getJavadocHtml(new IJavaElement[] { je });
		return javadocHtml;
	}
	/*
	 * @see AbstractInfoView#setInput(Object)
	 */
	protected void setInput(Object input) {
		String javadocHtml= (String)input;
		
		if (fIsUsingBrowserWidget) {
			fBrowser.setText(javadocHtml);
		} else {
			fPresentation.clear();
			Rectangle size=  fText.getClientArea();
			
			try {
				javadocHtml= fPresenter.updatePresentation(getSite().getShell().getDisplay(), javadocHtml, fPresentation, size.width, size.height);
			} catch (IllegalArgumentException ex) {
				
				return;
			}