Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-4182

loader constraint violation in Cordova

XMLWordPrintable

      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:

      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
      

      Error thrown:

      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 
      

              gercan@redhat.com Gorkem Ercan (Inactive)
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: