eclipse-platform / eclipse-platform/eclipse.platform

Javadoc in external Window

Open
#1,751 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
165
Forks
174
Avg merge
2d 8h
Merged PRs (30d)
22

Description

Latest Eclipse for win64, using builtin JRE

For this builtin jre I have set the javadoc location to al local zip file.

![Image](https://github.com/user-attachments/assets/cab390e3-8d73-4c4e-9d68-d0bd3f0979f9)

I can display the javadoc contents inside of eclipse. But when I select "show in external window" this error is logged:

`!ENTRY org.eclipse.help.base 4 0 2025-02-26 10:37:33.552
!MESSAGE An exception occurred while launching help. Check the log at P:\Eclipse\Workspace\.metadata\.log
!STACK 0
java.net.MalformedURLException: no protocol: /jar:file:/P:/Java/jdk-21.0.4_doc-all.zip!/docs/api/java.base/java/util/ArrayList.html
at java.base/java.net.URL.(URL.java:772)
at java.base/java.net.URL.(URL.java:654)
at java.base/java.net.URL.(URL.java:590)
at org.eclipse.help.ui.internal.DefaultHelpUI$ExternalWorkbenchBrowser.displayURL(DefaultHelpUI.java:98)
at org.eclipse.help.internal.base.HelpDisplay.displayHelpURL(HelpDisplay.java:202)
at org.eclipse.help.internal.base.HelpDisplay.displayHelpResource(HelpDisplay.java:107)
at org.eclipse.help.ui.internal.DefaultHelpUI.displayHelpResource(DefaultHelpUI.java:290)
at org.eclipse.ui.internal.help.WorkbenchHelpSystem.displayHelpResource(WorkbenchHelpSystem.java:735)
at org.eclipse.help.ui.internal.views.ReusableHelpPart.showExternalURL(ReusableHelpPart.java:1346)
at org.eclipse.help.ui.internal.views.BrowserPart$3.lambda$0(BrowserPart.java:217)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.help.ui.internal.views.BrowserPart$3.run(BrowserPart.java:215)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:474)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:581)
at org.eclipse.jface.action.ActionContributionItem.lambda$5(ActionContributionItem.java:454)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4404)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1173)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4202)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3790)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1042)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:663)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:570)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:178)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:668)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:605)
at org.eclipse.equinox.launcher.Main.run(Main.java:1481)
`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.