[jbosstools-issues] [JBoss JIRA] (JBDS-4150) org.eclipse.thym.ui :: Could not load Hybrid Mobile quickstart: NoClassDefFound: org/apache/http/client/cache/HttpCacheStorage
Nick Boldt (JIRA)
issues at jboss.org
Tue Nov 15 15:36:00 EST 2016
[ https://issues.jboss.org/browse/JBDS-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13323232#comment-13323232 ]
Nick Boldt commented on JBDS-4150:
----------------------------------
Can no longer reproduce the 'org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/apache/http/client/cache/HttpCacheStorage)' error as of rpm build 10.2.0.20161115.1706.el7.
However... we're now getting some (new) uses constraint violations for
* org.eclipse.userstorage -> org.apache.httpcomponents.httpclient (4.3.6 vs 4.3.6.v201511171540)
* org.eclipse.epp.mpc.core -> org.apache.httpcomponents.httpclient (4.3.6 vs 4.3.6.v201511171540)
* org.eclipse.jgit.pgm -> javax.servlet(.api) (3.1.0 vs. 3.1.0.v201410161800)
* org.jboss.tools.browsersim.eclipse -> javax.servlet(.api) (3.1.0 vs. 3.1.0.v201410161800)
* org.jboss.tools.browsersim.ui -> javax.servlet(.api) (3.1.0 vs. 3.1.0.v201410161800)
* org.jboss.tools.livereload.core -> javax.servlet.(api) (3.1.0 vs. 3.1.0.v201410161800)
* org.jboss.tools.cordovasim.eclipse -> javax.servlet.(api) (3.1.0 vs. 3.1.0.v201410161800)
{code}
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.userstorage.ui [933]
Unresolved requirement: Require-Bundle: org.eclipse.userstorage; bundle-version="[1.0.0,2.0.0)"; visibility:="reexport"
-> Bundle-SymbolicName: org.eclipse.userstorage; bundle-version="1.0.0.v20161013-0800"; singleton:="true"
org.eclipse.userstorage [932]
No resolution report for the bundle. Bundle was not resolved because of a uses contraint violation.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.eclipse.userstorage [osgi.identity; osgi.identity="org.eclipse.userstorage"; type="osgi.bundle"; version:Version="1.0.0.v20161013-0800"; singleton:="true"] because it is exposed to package 'org.apache.http.client' from resources org.apache.httpcomponents.httpclient [osgi.identity; osgi.identity="org.apache.httpcomponents.httpclient"; type="osgi.bundle"; version:Version="4.3.6.v201511171540"] and org.apache.httpcomponents.httpclient [osgi.identity; osgi.identity="org.apache.httpcomponents.httpclient"; type="osgi.bundle"; version:Version="4.3.6"] via two dependency chains.
org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.browsersim.eclipse [1132]
Unresolved requirement: Require-Bundle: org.jboss.tools.browsersim.ui; bundle-version="3.8.0"
-> Bundle-SymbolicName: org.jboss.tools.browsersim.ui; bundle-version="3.8.2.v20161114-2256"; singleton:="true"
org.jboss.tools.browsersim.ui [1134]
No resolution report for the bundle. Bundle was not resolved because of a uses contraint violation.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.jboss.tools.browsersim.ui [osgi.identity; osgi.identity="org.jboss.tools.browsersim.ui"; type="osgi.bundle"; version:Version="3.8.2.v20161114-2256"; singleton:="true"] because it is exposed to package 'javax.servlet' from resources javax.servlet [osgi.identity; osgi.identity="javax.servlet"; type="osgi.bundle"; version:Version="3.1.0.v201410161800"] and javax.servlet-api [osgi.identity; osgi.identity="javax.servlet-api"; type="osgi.bundle"; version:Version="3.1.0"] via two dependency chains.
{code}
> org.eclipse.thym.ui :: Could not load Hybrid Mobile quickstart: NoClassDefFound: org/apache/http/client/cache/HttpCacheStorage
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBDS-4150
> URL: https://issues.jboss.org/browse/JBDS-4150
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: aerogear-hybrid, build, rhscl, rpm, target-platform
> Affects Versions: 10.2.0.AM2
> Environment: Installed:
> {code}
> Installed Packages
> Name : rh-eclipse46-devstudio
> Arch : x86_64
> Epoch : 0
> Version : 10.2
> Release : 0.20161028.1959.el7
> Size : 371 M
> Repo : @System
> From repo : rh-eclipse46-devstudio-snapshot-10.2
> Summary : Red Hat Developer Studio
> URL : http://developers.redhat.com/products/devstudio/overview/
> License : EPL
> Description : Red Hat Developer Studio.
> {code}
> On Fedora 24 w/ JDK 8.
> Reporter: Nick Boldt
> Assignee: Gorkem Ercan
> Priority: Blocker
> Fix For: 10.2.0.GA
>
> Attachments: hybrid-mobile-quickstart-constraint-violation-ignored-seems-to-work.png, hybrid-mobile-quickstart-constraint-violation.png, jbds4150_irc_log.txt, o.a.httpcomponents.httpclient_rh-eclipse__vs__devstudio_tp.png
>
>
> Trying to run the *Hybrid Mobile Project* quickstart:
> {code}
> Unhandled event loop exception
> org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/apache/http/client/cache/HttpCacheStorage)
> at org.eclipse.swt.SWT.error(SWT.java:4533)
> at org.eclipse.swt.SWT.error(SWT.java:4448)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4528)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4146)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
> Caused by: java.lang.NoClassDefFoundError: org/apache/http/client/cache/HttpCacheStorage
> at org.eclipse.thym.ui.plugins.internal.CordovaPluginSelectionPage.<init>(CordovaPluginSelectionPage.java:99)
> at org.eclipse.thym.ui.plugins.internal.CordovaPluginSelectionPage.<init>(CordovaPluginSelectionPage.java:129)
> at org.eclipse.thym.ui.wizard.project.NewHybridProjectWizard.addPages(NewHybridProjectWizard.java:183)
> at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:585)
> at org.eclipse.jface.window.Window.create(Window.java:426)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1095)
> at org.eclipse.jface.window.Window.open(Window.java:783)
> at org.jboss.tools.central.internal.WizardSupport.openWizard(WizardSupport.java:71)
> at org.jboss.tools.central.editors.GettingStartedHtmlPage$9.run(GettingStartedHtmlPage.java:431)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
> ... 24 more
> Caused by: java.lang.ClassNotFoundException: org.apache.http.client.cache.HttpCacheStorage cannot be found by org.eclipse.thym.core_2.0.0.201607041526
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 35 more
> eclipse.buildId=4.6.1.v20160920-1429
> java.version=1.8.0_65
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
> Command-line arguments: -os linux -ws gtk -arch x86_64 -consolelog -console -debug -data /tmp/wksp-20161101-1105
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list