Bug 816036 - Error while uploading sources
Summary: Error while uploading sources
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-fedorapackager
Version: 17
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Severin Gehwolf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 814559 819200 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-25 06:34 UTC by Krzysztof Daniel
Modified: 2014-01-13 00:27 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-05-08 06:20:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Krzysztof Daniel 2012-04-25 06:34:12 UTC
What steps will reproduce the problem?
1. 
2. 
3. 


-- Error Details --
Date: Wed Apr 25 08:32:25 CEST 2012
Message: An internal error occurred during: "Uploading Sources".
Severity: Error
Product: Eclipse Platform 4.2.0.v20120403-1921 (org.eclipse.platform.ide)
Plugin: org.eclipse.core.jobs
Session Data:
eclipse.buildId=I20120417-1000
java.version=1.7.0_b147-icedtea
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

Exception Stack Trace:
java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.http.impl.client.DefaultHttpClient.<init>(Lorg/apache/http/params/HttpParams;)V" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/fedoraproject/eclipse/packager/api/UploadSourceCommand, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, org/apache/http/impl/client/DefaultHttpClient, have different Class objects for the type /http/params/HttpParams;)V used in the signature
	at org.fedoraproject.eclipse.packager.api.UploadSourceCommand.getClient(UploadSourceCommand.java:414)
	at org.fedoraproject.eclipse.packager.api.UploadSourceCommand.checkSourceAvailable(UploadSourceCommand.java:226)
	at org.fedoraproject.eclipse.packager.api.UploadSourceCommand.call(UploadSourceCommand.java:193)
	at org.fedoraproject.eclipse.packager.internal.handlers.UploadHandler$1.run(UploadHandler.java:152)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Comment 1 Severin Gehwolf 2012-04-25 13:12:22 UTC
Chris, which version of httpcomponents* are you using?

$ rpm -qa | grep httpcomponents

Thanks!

Comment 2 Krzysztof Daniel 2012-04-25 14:02:07 UTC
httpcomponents-project-4.1.1-4.fc17.noarch
httpcomponents-core-4.1.4-1.fc18.noarch
httpcomponents-client-4.1.3-2.fc17.noarch

Comment 3 Severin Gehwolf 2012-05-05 16:53:19 UTC
Could it be that this is caused by the fact that httpcompontents* packages do not export * any longer? I could see that o.a.http.imp.client.DefaultHttpClient is not exported anymore. Not sure, though. Perhaps a rebuild of eclipse-fedorapackager fixes this.

Comment 4 Krzysztof Daniel 2012-05-08 06:20:33 UTC
works for me with 0.20 eclipse build (and probably other updated libraries).

Comment 5 Krzysztof Daniel 2012-05-08 06:23:03 UTC
*** Bug 819200 has been marked as a duplicate of this bug. ***

Comment 6 Krzysztof Daniel 2012-05-08 06:24:53 UTC
*** Bug 814559 has been marked as a duplicate of this bug. ***


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