[JBoss JIRA] (JBDS-4191) problem installing atlassian: depends on javax.servlet 3.1.0
by Nick Boldt (JIRA)
Nick Boldt created JBDS-4191:
--------------------------------
Summary: problem installing atlassian: depends on javax.servlet 3.1.0
Key: JBDS-4191
URL: https://issues.jboss.org/browse/JBDS-4191
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Sub-task
Components: central-update, rpm
Affects Versions: 10.2.0.AM3
Reporter: Nick Boldt
springide 3.7.3 depends on slf4j 1.7.2 and javax.servlet 3.1.0
{code}
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/springframework/ide/eclipse/beans/core/model/IProfileAwareBeansComponent)
Caused by: java.lang.NoClassDefFoundError: org/springframework/ide/eclipse/beans/core/model/IProfileAwareBeansComponent
at org.springframework.ide.eclipse.beans.ui.navigator.filters.NonMatchingProfilesFilter.select(NonMatchingProfilesFilter.java:24)
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBDS-4190) problem installing springide: depends on slf4j 1.7.2 and javax.servlet 3.1.0
by Nick Boldt (JIRA)
Nick Boldt created JBDS-4190:
--------------------------------
Summary: problem installing springide: depends on slf4j 1.7.2 and javax.servlet 3.1.0
Key: JBDS-4190
URL: https://issues.jboss.org/browse/JBDS-4190
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Sub-task
Components: central-update, rpm
Affects Versions: 10.2.0.AM3
Reporter: Nick Boldt
problem installing teiid designer: depends on slf4j 1.7.10 (newer version) and javax.servlet 3.1.0 BUNDLE (not package)
{code}
depends on & installs slf4j.api_1.7.10:
* org.teiid.designer.datatools 10.0.2.Final-v20161108-1636-B72 requires org.apache.directory.api.ldap.* & org.apache.directory.api.util
* org.apache.directory.studio.slf4j-eclipselog_2.0.0.v20150618 requires slf4j 1.7.10 (fragment-host)
* org.apache.directory.api.ldap.schema_1.0.0.M30 requires 1.7.10
* org.apache.directory.api.asn1.ber requires 1.7.10
* org.apache.directory.api.ldap.extras.aci requires 1.7.10
depends on and installs javax.servlet:
* org.teiid.designer.modelgenerator.salesforce -> require-bundle javax.servlet;bundle-version="[3.1.0,4.0.0)"
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBDS-4189) problem installing teiid designer: depends on slf4j 1.7.10 (newer version) and javax.servlet 3.1.0 BUNDLE (not package)
by Nick Boldt (JIRA)
Nick Boldt created JBDS-4189:
--------------------------------
Summary: problem installing teiid designer: depends on slf4j 1.7.10 (newer version) and javax.servlet 3.1.0 BUNDLE (not package)
Key: JBDS-4189
URL: https://issues.jboss.org/browse/JBDS-4189
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Sub-task
Components: central-update, rpm
Affects Versions: 10.2.0.AM3
Reporter: Nick Boldt
problem installing teiid designer: depends on slf4j 1.7.10 (newer version) and javax.servlet 3.1.0 BUNDLE (not package)
{code}
depends on & installs slf4j.api_1.7.10:
* org.teiid.designer.datatools 10.0.2.Final-v20161108-1636-B72 requires org.apache.directory.api.ldap.* & org.apache.directory.api.util
* org.apache.directory.studio.slf4j-eclipselog_2.0.0.v20150618 requires slf4j 1.7.10 (fragment-host)
* org.apache.directory.api.ldap.schema_1.0.0.M30 requires 1.7.10
* org.apache.directory.api.asn1.ber requires 1.7.10
* org.apache.directory.api.ldap.extras.aci requires 1.7.10
depends on and installs javax.servlet:
* org.teiid.designer.modelgenerator.salesforce -> require-bundle javax.servlet;bundle-version="[3.1.0,4.0.0)"
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBDS-4183) Installing from an update site into rpm install causes duplicate IUs to be installed - use constraint violations ensue
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4183?page=com.atlassian.jira.plugin.... ]
Nick Boldt commented on JBDS-4183:
----------------------------------
Resolving with https://github.com/jbdevstudio/jbdevstudio-product/commit/04c58575f9dea4f... as the reason this is not longer broken.
> Installing from an update site into rpm install causes duplicate IUs to be installed - use constraint violations ensue
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: JBDS-4183
> URL: https://issues.jboss.org/browse/JBDS-4183
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: rpm
> Affects Versions: 10.2.0.AM3
> Reporter: Nick Boldt
> Priority: Blocker
> Fix For: 10.2.0.GA
>
> Attachments: install-thym.png, rh-eclipse46-devstudio10.2.log.20161116-1226_strict.txt
>
>
> Steps to repro:
> 1. install from latest rpm, eg., 10.2.0.20161116.1342.el7
> 2. open Central > Software/Update, scroll down until you find the *Maven Integration for Eclipse JDT APT (m2e-apt)* connector
> 3. Install it. When prompted to restart, shut down Eclipse and check in your ~/.eclipse folder:
> {code}
> $➔ ll ~/.eclipse/org.eclipse.platform_*_linux_gtk_x86_64/plugins/
> total 36K
> -rw-rw-r-- 1 nboldt nboldt 34K Nov 16 10:54 org.slf4j.api_1.7.2.v20121108-1250.jar
> {code}
> But this plugin is already installed here:
> {code}/opt/rh/rh-java-common/root/usr/share/java/slf4j/slf4j-api.jar
> /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/egit-mylyn/eclipse/plugins/slf4j.api_1.7.4.jar{code}
> So even though the connector install doesn't install any new m2e-apt stuff (it's already installed too):
> {code}
> /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/plugins/org.jboss.tools.maven.apt.ui_1.3.0.201610261805.jar
> /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/plugins/org.jboss.tools.maven.apt.core_1.3.0.201610261805.jar
> /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/features/org.jboss.tools.maven.apt.feature_1.3.0.201610261805
> {code}
> ... the result of this install is to cause use constrain violations and break the devstudio install.
> A bigger problem occurs in JBDS-4150 when installing Thym or Aerogear features, since a second version of org.apache.httpcomponents.httpclient_4.3.6.v201511171540.jar is installed even though there's already one in the /opt/rh/ install footprint.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBDS-4183) Installing from an update site into rpm install causes duplicate IUs to be installed - use constraint violations ensue
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4183?page=com.atlassian.jira.plugin.... ]
Nick Boldt resolved JBDS-4183.
------------------------------
Assignee: Nick Boldt
Resolution: Done
> Installing from an update site into rpm install causes duplicate IUs to be installed - use constraint violations ensue
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: JBDS-4183
> URL: https://issues.jboss.org/browse/JBDS-4183
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: rpm
> Affects Versions: 10.2.0.AM3
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Priority: Blocker
> Fix For: 10.2.0.GA
>
> Attachments: install-thym.png, rh-eclipse46-devstudio10.2.log.20161116-1226_strict.txt
>
>
> Steps to repro:
> 1. install from latest rpm, eg., 10.2.0.20161116.1342.el7
> 2. open Central > Software/Update, scroll down until you find the *Maven Integration for Eclipse JDT APT (m2e-apt)* connector
> 3. Install it. When prompted to restart, shut down Eclipse and check in your ~/.eclipse folder:
> {code}
> $➔ ll ~/.eclipse/org.eclipse.platform_*_linux_gtk_x86_64/plugins/
> total 36K
> -rw-rw-r-- 1 nboldt nboldt 34K Nov 16 10:54 org.slf4j.api_1.7.2.v20121108-1250.jar
> {code}
> But this plugin is already installed here:
> {code}/opt/rh/rh-java-common/root/usr/share/java/slf4j/slf4j-api.jar
> /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/egit-mylyn/eclipse/plugins/slf4j.api_1.7.4.jar{code}
> So even though the connector install doesn't install any new m2e-apt stuff (it's already installed too):
> {code}
> /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/plugins/org.jboss.tools.maven.apt.ui_1.3.0.201610261805.jar
> /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/plugins/org.jboss.tools.maven.apt.core_1.3.0.201610261805.jar
> /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/features/org.jboss.tools.maven.apt.feature_1.3.0.201610261805
> {code}
> ... the result of this install is to cause use constrain violations and break the devstudio install.
> A bigger problem occurs in JBDS-4150 when installing Thym or Aerogear features, since a second version of org.apache.httpcomponents.httpclient_4.3.6.v201511171540.jar is installed even though there's already one in the /opt/rh/ install footprint.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBDS-4184) Can't update/install plugins
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4184?page=com.atlassian.jira.plugin.... ]
Nick Boldt resolved JBDS-4184.
------------------------------
Resolution: Done
Since the scenario described (install BYOE category from snapshots update site) now works, I'm resolving this.
If the issue w/ not being able to discover updates is a problem, please open a new issue. I thought that might be caused by the fact that the RPM install mostly includes PLUGINS in the droplets folder, but it also includes com.jboss.devstudio.core.rpm.feature_10.2.0 which SHOULD be found on the snapshots site and updated.
Suspect the problem is that Eclipse isn't sure if these features are "installed" or "dropped in" and so doesn't have all the correct metadata available. But as I said, I can't figure out how to force the migration wizard to appear on startup... so... unless we can pregenerate the metadata that needs to be generated as part of the rpm install, I don't know what else to guess here.
> Can't update/install plugins
> ----------------------------
>
> Key: JBDS-4184
> URL: https://issues.jboss.org/browse/JBDS-4184
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: rpm
> Affects Versions: 10.2.0.GA
> Environment: RHEL 7
> Reporter: Lukáš Valach
> Assignee: Nick Boldt
> Fix For: 10.2.0.GA
>
> Attachments: installation-does-show-avail-updates-after-migration.png, installation-does-show-installl-after-migration.png, installation-doesn-show-features.png, installation-doesn-show-features2.png, installation-doesn-show-plugins.png, rh-eclipse46-devstudio10.2.log.20161113.1010_update.txt, rh-eclipse46-devstudio10.2.log.20161116.1305_update_2.txt
>
>
> I tried "Check for Updates" in DevStudio 20161116.1305 and 20161113.1010. I used this update site:
> [1] https://devstudio.redhat.com/10.0/snapshots/updates/
> Eclipse was not able to detect any updates (I got "No updates were found" message).
> Then I tried to install plugins using "Install new software".
> Install new software->select Bring Your Own Eclipse->next->restart
> Eclipse didn't detect any problems or conflicts during installation but after restart I got a lot of errors and eclipse didn't start.
> [^rh-eclipse46-devstudio10.2.log.20161116.1305_update_2.txt]
> [^rh-eclipse46-devstudio10.2.log.20161113.1010_update.txt]
> I also noticed there isn't update site [1] by default after installation. I had to add it.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBDS-4150) use constraint violations in Thym/Aerogear
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4150?page=com.atlassian.jira.plugin.... ]
Nick Boldt commented on JBDS-4150:
----------------------------------
PR 71 isn't needed (it's just for a test plugin) but ought to be merged anyway for good housekeeping.
That said, the fixes to add symlinks for upstream rpm deps like slf4j, javax.servlet and httpcomponents.httpclient(.cache) appear to have solved this problem, so resolving.
> use constraint violations in Thym/Aerogear
> ------------------------------------------
>
> 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, thym.test.failures.txt
>
>
> 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)
9 years, 4 months
[JBoss JIRA] (JBDS-4182) loader constraint violation in Cordova
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4182?page=com.atlassian.jira.plugin.... ]
Nick Boldt edited comment on JBDS-4182 at 11/17/16 6:24 PM:
------------------------------------------------------------
As long as you install org.eclipse.thym.feature_2.1.0.201611071511 instead of org.eclipse.thym.feature_2.0.0, this error does not occur.
So, when 2.1.0 is available on live staging or stable Central site, this shouldn't be a problem anymore.
(But if you do accidentally install thym.2.0.0, you need to uninstall it to fix this problem as it will drag in javax.servlet and break things.)
was (Author: nickboldt):
As long as you install org.eclipse.thym.feature_2.1.0.201611071511 instead of org.eclipse.thym.feature_2.0.0, this error does not occur.
So, when 2.1.0 is available on live staging or stable Central site, this shouldn't be a problem anymore.
(But if you do accidentally install thym.2.0.0, you need to uninstall it to fix this problem as it will drag in javax.servlet and break things.
> 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)
9 years, 4 months
[JBoss JIRA] (JBDS-4182) loader constraint violation in Cordova
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4182?page=com.atlassian.jira.plugin.... ]
Nick Boldt resolved JBDS-4182.
------------------------------
Resolution: Done
As long as you install org.eclipse.thym.feature_2.1.0.201611071511 instead of org.eclipse.thym.feature_2.0.0, this error does not occur.
So, when 2.1.0 is available on live staging or stable Central site, this shouldn't be a problem anymore.
(But if you do accidentally install thym.2.0.0, you need to uninstall it to fix this problem as it will drag in javax.servlet and break things.
> 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)
9 years, 4 months
[JBoss JIRA] (JBDS-4180) ClassNotFoundException thrown on devstudio start up
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBDS-4180?page=com.atlassian.jira.plugin.... ]
Rob Stryker commented on JBDS-4180:
-----------------------------------
I think the situation here is more complex than on first sight.
I can't replicate it, but, looking at Tools.java (in org.jboss.tools.common.jdt.debug) will try to load a jdk's tools.jar from either the currently running java, or, an appropriate IVMInstall which are declared in the eclipse preferences.
So if the workspace environment was kinda wonky, it could have us trying to load a tools.jar from a jre (i don't think so?) or it could have added tools.jar to the currently running classpath again despite it already being on the cp... or some other weird wonky stuff.
I've traced through and analyzed the code, and also tried to replicate, but nothing obvious sticks out and no replication. :(
> ClassNotFoundException thrown on devstudio start up
> ---------------------------------------------------
>
> Key: JBDS-4180
> URL: https://issues.jboss.org/browse/JBDS-4180
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: foundation, upstream
> Affects Versions: 10.2.0.GA
> Environment: Fedora 24,
> openjdk version "1.8.0_102"
> OpenJDK Runtime Environment (build 1.8.0_102-b14)
> Reporter: Marián Labuda
> Assignee: Rob Stryker
> Fix For: 10.x
>
>
> When starting latest DevStudio 10.2.0.GA (build ID GA-v20161116-0039-B6472) I get following error in console output
> {code}
> SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
> Noop constructor
> java.lang.ClassNotFoundException: sun.jvmstat.monitor.MonitoredHost
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.eclipse.osgi.internal.framework.ContextFinder.loadClass(ContextFinder.java:132)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.invokeGetMonitoredHost(Tools.java:513)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.validateClassPathAndLibraryPath(Tools.java:365)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.reset(Tools.java:115)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.<init>(Tools.java:82)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.getInstance(Tools.java:73)
> at org.jboss.tools.common.jdt.debug.tools.ToolsCore.getActiveProcessIds(ToolsCore.java:179)
> at org.jboss.tools.jmx.jvmmonitor.internal.tools.JvmAttachHandler.updatesActiveJvms(JvmAttachHandler.java:100)
> at org.jboss.tools.jmx.jvmmonitor.internal.tools.JvmAttachHandler$1.run(JvmAttachHandler.java:78)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
> java.lang.ClassNotFoundException: sun.jvmstat.monitor.MonitoredHost
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.eclipse.osgi.internal.framework.ContextFinder.loadClass(ContextFinder.java:132)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.invokeGetMonitoredHost(Tools.java:513)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.invokeActiveVms(Tools.java:525)
> at org.jboss.tools.common.jdt.debug.tools.ToolsCore.getActiveProcessIds(ToolsCore.java:179)
> at org.jboss.tools.jmx.jvmmonitor.internal.tools.JvmAttachHandler.updatesActiveJvms(JvmAttachHandler.java:100)
> at org.jboss.tools.jmx.jvmmonitor.internal.tools.JvmAttachHandler$1.run(JvmAttachHandler.java:78)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
> {code}
> problem is with openjdk version. With the lates 1.8.0_111 it works.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months