Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-28776

CRC runtime detection does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.30.x
    • 4.26.0.AM1
    • crc
    • None
    • ---

      Description of problem:

      Crc runtime detection in preferences is not working. Throws an error: Unable to initialize some runtime paths.
      All runtime detectors failed to initialize null

      Prerequisites (if any, like setup, operators/versions):

      Eclipse 2022-12 M2 JEE, JBT 4.26.0.AM1, CRC 2.10.2

      Steps to Reproduce

      1. download crc and set it up (have ~/.crc folder filled with correct content, crc setup command is called)
      2. Open Eclipse + JBT, Open Preferences and go to JBoss Runtime Detection
      3. Add ~/.crc path
      4. Click search

      Actual results:

      Searching for runtimes dialog is shown with one record for crc, but empty values (this is where the bug is). accepting such record will result in error.

      Expected results:

      New runtime is added to the servers view.

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

      eclipse.buildId=4.26.0.20221027-1200
      java.version=17.0.4.1
      java.vendor=Eclipse Adoptium
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product org.eclipse.epp.package.jee.product
      Command-line arguments:  -data file:/home/odockal/eclipse-workspace-2022-12-M2-JBT4260AM1/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
      
      org.jboss.tools.runtime.core
      Error
      Mon Nov 21 17:43:48 CET 2022
      All runtime detectors failed to initialize null
      
      

              jmaury@redhat.com Jeff MAURY
              odockal@redhat.com Ondrej Dockal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: