Bug 56550 NPE when pressing Next on first Javadoc export page
3.0 M8 I exported Javadoc for a class (checked the rt.jar on page 2). When exporting the next time I cannot go to page 2 and get an NPE in .log: !ENTRY org.eclipse.ui 4 4 Mrz 29, 2004 12:59:36.205 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 Mrz 29, 2004 12:59:36.215 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.ui.javadocexport.JavadocStandardWizardPage.getCheckedReferences(JavadocStandardWizardPage.java:250) at org.eclipse.jdt.internal.ui.javadocexport.JavadocStandardWizardPage.updateHRefList(JavadocStandardWizardPage.java:412) at org.eclipse.jdt.internal.ui.javadocexport.JavadocStandardWizardPage.setVisible(JavadocStandardWizardPage.java:393) at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:957) at org.eclipse.jface.wizard.WizardDialog.access$1(WizardDialog.java:938) at org.eclipse.jface.wizard.WizardDialog$3.run(WizardDialog.java:927) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84) at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:925) at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:682) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:314) at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:413) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2578) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2256) at org.eclipse.jface.window.Window.runEventLoop(Window.java:670) at org.eclipse.jface.window.Window.open(Window.java:650) at org.eclipse.ui.actions.ExportResourcesAction.run(ExportResourcesAction.java:162) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:550) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:502) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:435) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2578) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2256) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1562) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:267) at org.eclipse.core.launcher.Main.run(Main.java:692) at org.eclipse.core.launcher.Main.main(Main.java:676)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
private Button fButton;
		private String fFlag;
		private boolean fShowFlag;
		public FlaggedButton(Composite composite, String message, GridData gridData, String flag, boolean show) {
			fFlag= flag;
			fShowFlag= show;
			fButton= createButton(composite, SWT.CHECK, message, gridData);
			fButtonsList.add(this);
			setButtonSettings();
		}
		public Button getButton() {
			return fButton;
		}
		public String getFlag() {
			return fFlag;
		}
		public boolean show() {
			return fShowFlag;
		}
		private void setButtonSettings() {
			fButton.setSelection(!(fStore.getBoolean(fFlag) ^ fShowFlag));
		}
	} 
	private class ListAdapter implements IListAdapter {