Community
Participate
Working Groups
Test Case: 0) Have Netscape 4.76 registered as system default browser. 1) Have JRE_LIB of 20020212-I in workspace 2) Context Menu -> Properties: Attach documentation location: 'M:\java\jdk1.2\docs\api\' 3) Verify that Netscape is not running. 4) Context Menu -> Open External Javadoc 5) Observer the error dialog: Cannot find the file 'file:/M:/JAVA/jdk1.2/docs/api/overview-summary.html' ... However, the html file is actually displayed. 6) Close the error dialog. 7) Browse to some other page in Netscape. 8) Do step 4) again. 9) The correct page is displayed w/o an error dialog.
to avoid the browser problem, could we use the HelpViewer as the browser to show the documentation.
fixed > 20020328 now using help. not tested by me: Please reopen and move to help if help has a problem with netscape too
Latest workspace (20020402): I pointed the javadoc to 'http://www.junit.org/junit/javadoc/3.7/'. I got an NPE on presssing Shift-F2 on 'Assert' of its type declaration. ---8<--- java.lang.NullPointerException at org.eclipse.jdt.internal.ui.actions.OpenExternalJavadocAction.openInBrowser (OpenExternalJavadocAction.java:162) at org.eclipse.jdt.internal.ui.actions.OpenExternalJavadocAction.run (OpenExternalJavadocAction.java:118) at org.eclipse.jface.action.Action.runWithEvent(Action.java:590) at org.eclipse.ui.actions.RetargetAction.runWithEvent (RetargetAction.java:143) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent (ActionContributionItem.java:361) at org.eclipse.jface.action.ActionContributionItem.access$0 (ActionContributionItem.java:352) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent (ActionContributionItem.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:637) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1420) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1208) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:755) at org.eclipse.ui.internal.Workbench.run(Workbench.java:738) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:777) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319) at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:14)
help support was not installed. added npe check. tested with netscape under windows, works.