Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8450

[SW] Service discovery - Index 1 out of bounds for length 1

    XMLWordPrintable

Details

    • 2022 Week 50-02 (from Dec 12), 2023 Week 03-05 (from Jan 16)
    • Moderate

    Description

      If user accidentaly sets a system properties to values like `kubernetes:` the following issue will happen: 

       

      Service Discovery has failed: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
      	at org.kie.kogito.addons.quarkus.k8s.parser.KubeURI.<init>(KubeURI.java:50) 

      In addition, it would be nice to print the property name and value that is failing to give hints to the user about what is wrong.

       

       

      Attachments

        Activity

          People

            rhn-support-fspolti Filippe Spolti
            rhn-support-fspolti Filippe Spolti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: