Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-4321

Unable to start Devstudio without -clean after install of any stuff from RH Central

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 11.3.0.GA
    • 10.4.0.AM2
    • build, rpm
    • None
    • devex #130 April 2017
    • 20
    • Hide

      1) Clean and start Devstudio

      rm -fr ~/.eclipse
      scl enable rh-eclipse46 bash
      cd /opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
      d="Without_clean_test"
      ./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
      

      2) Install something (FindBugs in my case), after install click "Restart - No" and close Devstudio

      3) Start Devstudio without -clean

      ./eclipse -consolelog -console -debug -data /tmp/wksp-${d} -vmargs -Dosgi.resolver.usesMode=strict | tee -a /tmp/rh-eclipse46-devstudio$(cat .pkgs/Devstudio).log.${d}_strict.txt
      
      Show
      1) Clean and start Devstudio rm -fr ~/.eclipse scl enable rh-eclipse46 bash cd /opt/rh/rh-eclipse46/root/usr/lib64/eclipse/ d= "Without_clean_test" ./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 2) Install something (FindBugs in my case), after install click "Restart - No" and close Devstudio 3) Start Devstudio without -clean ./eclipse -consolelog -console -debug -data /tmp/wksp-${d} -vmargs -Dosgi.resolver.usesMode=strict | tee -a /tmp/rh-eclipse46-devstudio$(cat .pkgs/Devstudio).log.${d}_strict.txt
    • Workaround Exists
    • Hide

      Start eclipse with -clean parameter.

      Show
      Start eclipse with -clean parameter.
    • NEW

    Description

      When I install something from Red Hat Central and then start Devstudio without -clean then I get this error:

      !ENTRY org.eclipse.e4.ui.workbench 4 0 2017-03-23 07:51:22.689
      !MESSAGE Unable to load resource platform:/plugin/org.eclipse.platform/LegacyIDE.e4xmi
      !STACK 0
      java.lang.NullPointerException
      

      There are multiple errors but this one seems to be common for multiple items.

      And this window appear:

      There is easy workaround but user won't start Devstudio with -clean and many of them could be upset.

      Please see the log: rh-eclipse46-devstudio10.4-0.20170320.0955.el7.log.Without_clean_test_strict.txt There is what I got when I installed FindBugs. I put some comments there so you can find sections installation/start without clean/start with clean.

      CC: psrna vkadlcik

      Attachments

        Issue Links

          Activity

            People

              jmaury@redhat.com Jeff MAURY
              lvalach_jira Lukáš Valach (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: