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
- download crc and set it up (have ~/.crc folder filled with correct content, crc setup command is called)
- Open Eclipse + JBT, Open Preferences and go to JBoss Runtime Detection
- Add ~/.crc path
- 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