[jbosstools-issues] [JBoss JIRA] (JBDS-4175) NPE/broken functionality/cannot start after install from Red Hat Central into rh-eclipse46-devstudio

Nick Boldt (JIRA) issues at jboss.org
Thu Feb 2 12:10:00 EST 2017


    [ https://issues.jboss.org/browse/JBDS-4175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13357840#comment-13357840 ] 

Nick Boldt commented on JBDS-4175:
----------------------------------

To verify:

* install latest rh-eclipse46-devstudio 10.3 from snapshots repo https://devstudio.redhat.com/10.0/snapshots/rpms/10.3.0/x86_64/
* launch eclipse like this (or similar):
{code}
rm -fr ~/.eclipse
scl enable rh-eclipse46 bash
cd /opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
d=`date +%Y%m%d-%H%M`
./eclipse -consolelog -console -debug -data /tmp/wksp-${d}  -clean -vmargs -Dosgi.resolver.usesMode=strict | tee -a /tmp/rh-eclipse46-devstudio$(cat .pkgs/Devstudio).log.${d}_strict.txt
{code}
* install latest integration stack bits from Help > Install new > http://download.jboss.org/jbosstools/neon/integration/updates/integration-stack/discovery/4.4.1.CR1/ 
* cold restart (shutdown Eclipse and start it up as above, not just the warm restart Eclipse offers. This will more fully unload/reload in-memory stuff.)
* check for problems in the Error view or console log
* install everything from Central (including PMD and Findbugs, and early access stuff. *NOTE:* newer versions of the Integration Stack connectors should already be installed from the step above)
* cold restart (shutdown Eclipse and start it up as above, not just the warm restart Eclipse offers. This will more fully unload/reload in-memory stuff.)
* check for problems in the Error view or console log


> 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.1/compose/Server/x86_64/os/)
>  * update for RHBZ#1392095 (http://nest.test.redhat.com/mnt/qa/scratch/vkadlcik/eclipse/repos/rhscl23z/v02/)
>            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].



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list