Feature #382
closedНеобходимо проверять наличие Firefox
0%
Description
Если XULrunner не зарегистрирован, возникает исключение.
Надо бы в этой ситуации проверять наличие браузера,
в случае отсутствия выдавать информативное сообщение о проблеме,
а если возможно, регистрировать браузер самостоятельно.
!ENTRY org.eclipse.ui 4 0 2010-08-13 13:28:42.515
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTError: No more handles [Could not detect registered XULRunner to use]
at org.eclipse.swt.SWT.error(SWT.java:4109)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:633)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:119)
at com.unitesk.requality.eclipse.editors.browser.ReqDocBrowser.<init>(ReqDocBrowser.java:47)
at com.unitesk.requality.eclipse.editors.browser.ReqMarker.createPartControl(ReqMarker.java:216)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:263)
at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)
at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:192)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:94)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:274)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:344)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:78)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:185)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Updated by Alexey Demakov over 14 years ago
Для использования Firefox в Eclipse вместо установки XULRunner достаточно скопировать xulrunner.exe в папку с установленным Firefox и запустить из этой папки xulrunner.exe -register-global
Updated by Alexey Demakov almost 14 years ago
- Tracker changed from Task to Feature
Updated by Alexey Khoroshilov almost 14 years ago
- translation missing: en.field_position deleted (
154) - translation missing: en.field_position set to 155
Updated by Alexey Demakov over 13 years ago
- Assignee deleted (
Yuriy Shekochihin)
Updated by Yuriy Shekochihin about 13 years ago
- Status changed from New to Resolved
Сейчас если нет мозиллы будем пробовать WEBKIT, если и его нет, то берем что есть (а есть обычно в такой ситуации IE)
Updated by Viktoria Kopach almost 13 years ago
- Status changed from Resolved to Verified
- Assignee changed from Alexey Demakov to Alexey Khoroshilov
Updated by Alexey Khoroshilov about 12 years ago
- Status changed from Verified to Closed