Bug 861037 - Eclipse does not start in rawhide
Summary: Eclipse does not start in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Krzysztof Daniel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-27 11:22 UTC by Krzysztof Daniel
Modified: 2014-01-13 00:27 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-02 07:24:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Krzysztof Daniel 2012-09-27 11:22:27 UTC
Reported by rgrunber. Happens only for 4.2.1-0.x. Works in f17 and f18.

Comment 1 Krzysztof Daniel 2012-09-27 11:26:30 UTC
Initial investigation revealed 

java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.eclipse.e4.ui.css.core.impl.dom.CSSStyleSheetImpl.getParentStyleSheet()Lorg/w3c/dom/stylesheets/StyleSheet;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/eclipse/e4/ui/css/core/impl/dom/CSSStyleSheetImpl, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for interface org/w3c/dom/stylesheets/StyleSheet have different Class objects for the type tImpl.getParentStyleSheet()Lorg/w3c/dom/stylesheets/StyleSheet; used in the signature

Comment 2 Krzysztof Daniel 2012-09-28 11:08:45 UTC
There is an unwanted wiring during bundles resolution here. Many UI
packages required package org.w3.dom.css which was provided by a bundle
in the upstream Eclipse, but is provided by vm SDK in Fedora. The
problem is that it is also provided by javax.xml, and since there are
duplicates, some classes are loaded from javax.xml bundle in some
bundles and others from SDK in other bundles, causing LinkageErrors
and/or class cast exceptions. 
The solution is to remove imports from the UI code to ensure that
javax.xml is not searched during class resolution, and that proper
classes from SDK are used.

Comment 3 Krzysztof Daniel 2012-10-01 07:45:44 UTC
New Eclipse build http://koji.fedoraproject.org/koji/taskinfo?taskID=4545903

Comment 4 Roland Grunberg 2012-10-01 14:16:21 UTC
I've tried out the 4.2.1-0.4 build and can confirm it fixes the issue.


Note You need to log in before you can comment on or make changes to this bug.