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
*/
		public void removeSelectionChangedListener(ISelectionChangedListener listener) {
			fListeners.remove(listener);
		}
		/*
		 * @see org.eclipse.jface.viewers.ISelectionProvider#setSelection(org.eclipse.jface.viewers.ISelection)
		 */
		public void setSelection(ISelection selection) {
			
		}
	}
	/*
	 * @see AbstractInfoView#internalCreatePartControl(Composite)
	 */
	protected void internalCreatePartControl(Composite parent) {
		fIsUsingBrowserWidget= JavaPlugin.getDefault().getPreferenceStore().getBoolean(PREF_BROWSER_WIDGET_IN_JAVADOC_VIEW);
		
		if (fIsUsingBrowserWidget) {
			try {
				fBrowser= new Browser(parent, SWT.NONE);
			} catch (SWTError er) {
				/* The Browser widget throws an SWTError if it fails to
				 * instantiate properly. Application code should catch
				 * this SWTError and disable any feature requiring the
				 * Browser widget.
				 * Platform requirements for the SWT Browser widget are available
				 * from the SWT FAQ web site. 
				 */
				fIsUsingBrowserWidget= false;
				String title= InfoViewMessages.getString("JavadocView.error.noBrowser.title");