[jbosstools-issues] [JBoss JIRA] (JBDS-4182) loader constraint violation in Cordova

Lukáš Valach (JIRA) issues at jboss.org
Wed Nov 23 05:20:00 EST 2016


     [ https://issues.jboss.org/browse/JBDS-4182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Valach closed JBDS-4182.
------------------------------


Verified in 10.2-0.20161122.1925.el7 (this rpm includes org.eclipse.thym.feature_2.1.0.201611071511). I am able to import Hybrid Mobile Project. Registry catalog works fine.

> loader constraint violation in Cordova
> --------------------------------------
>
>                 Key: JBDS-4182
>                 URL: https://issues.jboss.org/browse/JBDS-4182
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: aerogear-hybrid, build, rpm
>    Affects Versions: 10.2.0.AM3
>         Environment: Installed:
> {code}
> I#➔  dnf info rh-eclipse46-devstudio | grep -i Installed -A5
> Installed Packages
> Name        : rh-eclipse46-devstudio
> Arch        : x86_64
> Epoch       : 0
> Version     : 10.2
> Release     : 0.20161116.1342.el7
> {code}
> On Fedora 24 w/ JDK 8.
>            Reporter: Nick Boldt
>            Assignee: Gorkem Ercan
>            Priority: Blocker
>             Fix For: 10.2.0.GA
>
>         Attachments: use-constraint.cordova.png
>
>
> Trying to run the *Hybrid Mobile Project* quickstart, after fix in JBDS-4150 (PR https://github.com/eclipse/thym/pull/71 applied):
> Steps to reproduce:
> {code}
> central > software/update > JBoss Hybrid Mobile Tools + Cordovasim > install; restart
> Help > install > /path/to/thym/repository/target/repository
> Help > check for updates > install new thym stuff > restart 
> click 'hybrid mobile project' quickstart
> {code}
> Error thrown:
> !use-constraint.cordova.png! 
> {code}
> Error retrieving the Cordova plug-in registry catalog
> loader constraint violation: when resolving method 
> "org.apache.http.impl.client.cache.CachingHttpClient.<init>(Lorg/apache/http/client/HttpClient;
> Lorg/apache/http/client/cache/ResourceFactory;Lorg/apache/http/client/cache/HttpCacheStorage;
> Lorg/apache/http/impl/client/cache/CacheConfig;)V" 
> the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class, 
> org/eclipse/thym/core/plugin/registry/CordovaPluginRegistryManager, and the class loader (instance of 
> org/eclipse/osgi/internal/loader/EquinoxClassLoader) for the method's defining class, 
> org/apache/http/impl/client/cache/CachingHttpClient, have different Class objects for the type 
> org/apache/http/client/HttpClient used in the signature 
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list