Community
Participate
Working Groups
Build: 20020411 Description: Opening the web browser view caused a problem, as expected, but the result was an internal error dialog with an invitation to exit the workspace.
We should only be registering this view on Win. Also, seems like lot of people are opening the view outside of the update perspective. Is this something we want to encourage? Suggest we rename this to "Preview Detail" or something that does not imply we have a browser intended for use within Eclipse (even though the view does have a full function browser).
The view has been restructured to not trigger OLE class loading on non-win32 systems. Web Browser is OK to use outside of Update perspective as long as no feature requests are made :-). It is very thin and all the requests are simply passed to the underlying IE5 ActiveX component, so there is very little we can do (both regarding bug fixes and feature requests).
I performed the following steps in build 20020423 in Linux: 1. Close the Resource Perspective 2. Open Java perspective 3. Choose Window -> Show View -> Other -> Web browser and got the following stack trace from an internal error dialog: java.lang.NoClassDefFoundError: org/eclipse/swt/ole/win32/OleControlSite at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java(Compiled Code)) at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:128) at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:157) at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:96) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:116) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:113) at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:45) at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:85) at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:65) at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:46) at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1171) at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:548) at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:530) at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2139) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2136) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2126) at org.eclipse.ui.internal.ShowViewMenu.showOther(ShowViewMenu.java:162) at org.eclipse.ui.internal.ShowViewMenu.access$0(ShowViewMenu.java:147) at org.eclipse.ui.internal.ShowViewMenu$2.run(ShowViewMenu.java:38) at org.eclipse.jface.action.Action.runWithEvent(Action.java:590) 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(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code)) at org.eclipse.ui.internal.Workbench.run(Workbench.java:816) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:643) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:349) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:195) at org.eclipse.core.launcher.Main.run(Main.java:541) at org.eclipse.core.launcher.Main.main(Main.java:396)
Need to move the extension into org.eclipse.update.ui.win32
OLE WebBrowser is now in org.eclipse.update.ui.win32 fragment and does not appear in non-Windows builds.