Bug #1394

RCP: 0.7.7beta2 Ubuntu1204_32, No browser

Added by Serge Heiden over 4 years ago. Updated over 4 years ago.

Status:New Start date:06/12/2015
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Commands Spent time: -
Target version:TXM 0.7.7

Description

No browser available and no preference allows to select one.

Consequence:
  • no home page
  • no Edition
  • no Description
  • no Help pages
  • etc.

The editor window displays an error message:

and this stacktrace:

No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
    at org.eclipse.swt.SWT.error(SWT.java:4467)
    at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:2067)
    at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:685)
    at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
    at org.eclipse.ui.internal.browser.BrowserViewer.<init>(BrowserViewer.java:224)
    at org.eclipse.ui.internal.browser.WebBrowserEditor.createPartControl(WebBrowserEditor.java:78)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:141)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:99)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:327)
    at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:888)
    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:869)

and the console displays:

Ouverture de l'édition de GRAAL
** Échec de chargement de l'édition de GRAAL
** Erreur : OpenBrowser.java: openEdition, l.181 -> java.lang.ClassCastException: org.eclipse.ui.internal.ErrorEditorPart cannot be cast to org.txm.rcpapplication.editors.TXMBrowser

browser.jpg (95.1 kB) Serge Heiden, 06/12/2015 04:57 pm

History

#1 Updated by Serge Heiden over 4 years ago

#2 Updated by Serge Heiden over 4 years ago

  • Description updated (diff)

Also available in: Atom PDF