-
Bug
-
Resolution: Done
-
Critical
-
1.31.0.Final
-
False
-
None
-
False
-
---
-
---
-
-
When working on a regular SW application, we can sometimes see this ERROR in the log:
2022-12-14 09:43:07,719 ERROR [org.kie.kog.add.qua.k8s.par.KubeURI] (main) the provided URI kubernetes is not valid
2022-12-14 09:43:07,719 ERROR [org.kie.kog.add.qua.k8s.KubeDiscoveryConfigSourceInterceptor] (main) 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)
The ERROR scares users since there's no indication of what is failing. Which provided URI kubernetes is not valid?
I couldn't find in my project a single valid kubernetes URI in my application properties, which is simple and has only one property defined:
quarkus.devservices.enabled=false
You can see a reproducer in this PR (see the integration-tests module): https://github.com/kiegroup/kogito-runtimes/pull/2689
- relates to
-
KOGITO-8351 Add Camel Routes integration to Serverless Workflow
- Resolved