https://bugzilla.redhat.com/show_bug.cgi?id=1309687
Bug ID: 1309687
Summary: Undeclared uses constraints of Apache HttpComponent
bundle cause linkage error at runtime
Product: Fedora
Version: 23
Component: eclipse
Assignee: akurtako(a)redhat.com
Reporter: andreas.sewe(a)codetrails.com
QA Contact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com, andjrobins(a)gmail.com,
eclipse-sig(a)lists.fedoraproject.org,
jerboaa(a)gmail.com, krzysztof.daniel(a)gmail.com,
mat.booth(a)redhat.com, rgrunber(a)redhat.com
External Bug ID: Eclipse Project 488006
Description of problem:
Version-Release number of selected component (if applicable):
1:4.5.1-1.fc23
How reproducible:
Always.
Steps to Reproduce:
1. Install "Eclipse" (version 1:4.5.1-1.fc23) from "Software"
2. Start Eclipse
3. Help > Install New Software "Code Recommenders for Java Developers" from
pre-configured update site <
http://download.eclipse.org/releases/mars>
4. Restart Eclipse
5. Try to open Code Recommenders "Model Repositories" view (it is not there, as
bundles for Code Recommenders" are not resolved. This is the *first* problem
6. Start Eclipse with "-clean" option
7. Try to open Code Recommenders "Model Repositories" view again
Actual results:
An error dialog appear: loader constraint violation in interface itable
initialization: when resolving method
"org.apache.http.message.AbstractHttpMessage.getHeaders(Ljava/lang/String;)[Lorg/apache/http/Header;"
the class loader (instance of
org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class,
org/apache/http/client/methods/AbstractExecutionAwareRequest, and the class
loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) for
interface org/apache/http/HttpMessage have different Class objects for the type
[Lorg/apache/http/Header; used in the signature
Expected results:
The "Model Repositories" view opens and (in the background) a download of the
model repository index for is started. Once finished, the view shows 4.5.76
known coordinates for the "mars" model repository.
Additional info:
More details on what the OSGi bundle headers look like can be found in the bug
I filled with the Eclipse Orbit project [1], although they are not the ones who
distribute bundles with faulty Export-Package headers (i.e., headers without
uses constraints).
FWIW, the symptoms seem to be very similar to those of Bug 807044.
[1] <
https://bugs.eclipse.org/bugs/show_bug.cgi?id=488006>
--
You are receiving this mail because:
You are on the CC list for the bug.