]
Nick Boldt commented on JBDS-4175:
----------------------------------
With the latest CI build, I can no longer reproduce the javax.annotation problem.
javax.servlet problem CAN be reproduced.
Explanation:
in
-> content.xml, we have:
{code}
<unit id='org.eclipse.wst.server.preview'
version='1.1.400.v201606081655'>
<update id='org.eclipse.wst.server.preview'
range='[0.0.0,1.1.400.v201606081655)' severity='0'/>
...
<requires size='9'>
...
<required namespace='osgi.bundle' name='javax.servlet'
range='[2.6.0,4.0.0)'/>{code}
So, we need to get this fixed in upstream wtp:
NPE/broken functionality/cannot start after install from Red Hat
Central into rh-eclipse46-devstudio
----------------------------------------------------------------------------------------------------
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
Fix For: 10.3.0.AM2
Attachments: JBDS-4175_logs_first_half.tar.gz,
devstudio-is-major-feature-groups-to-test.png, install-all-the-categorized-features.png,
install-integration-stack-441cr1.png, install-springide383-correctly.png,
install-springide383-create-mvc-project-done.png,
install-springide383-create-mvc-project.png,
integration-stack-install-everything-some-deps-are-old-neon.1-versions.png,
integration-stack-install-everything-some-deps-are-old-neon.1-versions_option2.png,
rh-eclipse46-devstudio10.2.log.20161115-0953.txt,
rh-eclipse46-devstudio10.2.log.20161118-1112_strict.txt, slf4j-error.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, springide382.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
(copied from comment below to make it sticky)
Results of installing first half of the items in Central:
||Item||Result||Description or Errors||
|Android_Development_Tools|(/)||
|JBoss_Hybrid_Mobile_Tools|(/)||
|AngularJS_for_Web_Tools|(x)|IllegalStateException: BundleContext, NullPointerException|
|JBoss_Arquillian_Tools|(/)||
|JBoss_Forge_Tools|(/)||
|JBoss_OpenShift_2_Tools|(x)|BundleException|
|JBoss_OpenShift_3_Tools|(x)|BundleException|
|JBoss_Portlet_Tools|(x)|BundleException, NullPointerException, eclipse didn't
start|
|JBoss_Seam_Tools|(x)|BundleException, NullPointerException, eclipse didn't start|
|JBoss_Tools_LiveReload|(x)|BundleException|
|JST_Server|(x)|BundleException|
|Spring_IDE|(x)|BundleException, NullPointerException, eclipse didn't start|
|Atlassian_Connector|(x)|BundleException, loader constraint violation|
|Eclipse_EGit_Mylyn_Support|(x)|BundleException|
|Subclipse_SVNKit|(/)|First attempt failed due to SocketTimeoutException but second
passed|
|Subclipse_SVNKit_Mylyn_Support|(x)|BundleException|
|Eclipse_Checkstyle|(x)|NullPointerException|
All logs [^JBDS-4175_logs_first_half.tar.gz].