Project

General

Profile

Actions

Feature #382

closed

Необходимо проверять наличие Firefox

Added by Alexey Demakov over 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
08/13/2010
Due date:
% Done:

0%

Estimated time:
Published in build:
0.13.123

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)

Actions #1

Updated by Alexey Demakov over 13 years ago

Для использования Firefox в Eclipse вместо установки XULRunner достаточно скопировать xulrunner.exe в папку с установленным Firefox и запустить из этой папки xulrunner.exe -register-global

Actions #2

Updated by Alexey Khoroshilov over 13 years ago

  • Target version set to 58
Actions #3

Updated by Alexey Demakov about 13 years ago

  • Tracker changed from Task to Feature
Actions #4

Updated by Alexey Demakov about 13 years ago

  • Target version deleted (58)
Actions #5

Updated by Alexey Khoroshilov about 13 years ago

  • translation missing: en.field_position deleted (154)
  • translation missing: en.field_position set to 155
Actions #6

Updated by Alexey Demakov almost 13 years ago

  • Assignee deleted (Yuriy Shekochihin)
Actions #7

Updated by Yuriy Shekochihin over 12 years ago

  • Status changed from New to Resolved

Сейчас если нет мозиллы будем пробовать WEBKIT, если и его нет, то берем что есть (а есть обычно в такой ситуации IE)

Actions #8

Updated by Alexey Demakov over 12 years ago

  • Published in build set to 0.13.123
Actions #9

Updated by Alexey Demakov over 12 years ago

  • Assignee set to Alexey Demakov
Actions #10

Updated by Alexey Demakov over 12 years ago

  • Target version set to 0.13
Actions #11

Updated by Viktoria Kopach over 12 years ago

  • Status changed from Resolved to Verified
  • Assignee changed from Alexey Demakov to Alexey Khoroshilov
Actions #12

Updated by Alexey Khoroshilov over 11 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF