]
Nick Boldt commented on JBDS-4175:
----------------------------------
I've also caused a set of Use constraint violations to occur... something in one of
the three installs above (Openshift v3, Seam, or SpringIDE) installed
/home/nboldt/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64/plugins/javax.servlet_3.1.0.v201410161800.jar
which conflicts with
/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/plugins/javax.servlet-api_3.1.0.jar
{code}
./eclipse -vmargs -Dosgi.resolver.usesMode=strict
...
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to
resolve resource org.eclipse.jgit.pgm [osgi.identity;
osgi.identity="org.eclipse.jgit.pgm"; type="osgi.bundle";
version:Version="4.5.0.201609210915-r"] 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.
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.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to
resolve resource org.jboss.tools.livereload.core [osgi.identity;
osgi.identity="org.jboss.tools.livereload.core"; type="osgi.bundle";
version:Version="1.4.2.v20161103-0923"; 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}
RPM version: NPE after install from Red Hat Central
---------------------------------------------------
Key: JBDS-4175
URL:
https://issues.jboss.org/browse/JBDS-4175
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Bug
Components: central-update, rpm
Environment: RHEL 7.2 with RHSCL repositories available:
* RHSCL 2.3 RC
(
http://download-node-02.eng.bos.redhat.com/rel-eng/RHSCL-2.3-RHEL-7-RC-1....)
* update for RHBZ#1392095
(
http://nest.test.redhat.com/mnt/qa/scratch/vkadlcik/eclipse/repos/rhscl23...)
Reporter: Václav Kadlčík
Assignee: Nick Boldt
Priority: Critical
Fix For: 10.2.0.GA
Attachments: JBDS-4175_logs_first_half.tar.gz,
rh-eclipse46-devstudio10.2.log.20161115-0953.txt, spring-ide-fail-aop.png,
spring-ide-fail-list.png, spring-ide-fail-npe.png,
spring-ide-fail-project-explorer-broken-package-explorer-OK.png, spring-ide-fail.png,
spring-ide-view-fail.png, sw_to_install.txt, workspace.log, wst.xsd.core_diff.png
I installed rh-eclipse46-devstudio-10.2-0.20161111.0219.el7.x86_64.rpm and followed
Nick's scenario [1]. In Red Hat Central, I clicked "Select All" (it found 36
items), then "Install/Update", did all the confirmations, including a restart.
After the restart, Eclipse died on java.lang.NullPointerException. I'm attaching the
workspace log (aside from the NPE, it's full of "Could not resolve
module").
I reproduced the problem several times on two different machines. The update for
RHBZ#1392095 (rh-eclipse46-eclipse-4.6.1-2.4.el7) isn't necessary, it just makes the
reproduction much faster.
Not sure how related it is, but rh-eclipse46 disallows updating packages installed from
RPM [2]. But in the list of software to be installed/updated, I saw, among others, EGit
and Mylyn, which are definitely included in rh-eclipse46-base. In any case, I'm
attaching the list, too.
[1]
https://bugzilla.redhat.com/show_bug.cgi?id=1392095#c6
[2]
https://bugzilla.redhat.com/show_bug.cgi?id=1173024