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
private Control fControl;
		
		private SelectionProvider fSelectionProvider;
		/**
		 * Creates the action.
		 * 
		 * @param control the widget
		 * @param selectionProvider the selection provider
		 */
		public SelectAllAction(Control control, SelectionProvider selectionProvider) {
			super("selectAll"); 
			Assert.isNotNull(control);
			Assert.isNotNull(selectionProvider);
			fControl= control;
			fSelectionProvider= selectionProvider;
			setText(InfoViewMessages.getString("SelectAllAction.label")); 
			setToolTipText(InfoViewMessages.getString("SelectAllAction.tooltip")); 
			setDescription(InfoViewMessages.getString("SelectAllAction.description")); 
			WorkbenchHelp.setHelp(this, IAbstractTextEditorHelpContextIds.SELECT_ALL_ACTION);
		}
		/**
		 * Selects all in the view.
		 */
		public void run() {
			if (fControl instanceof StyledText)
		        ((StyledText)fControl).selectAll();
			else {
				
				fSelectionProvider.fireSelectionChanged();