ricardozanini opened a new issue, #2001:
URL: https://github.com/apache/incubator-kie-issues/issues/2001

   When setting the path in the property 
`kogito.data-index.ui.path=/the/path/to/ui`, it fails:
   
   ```log
   2025-06-12 16:37:15,756 ERROR [io.qua.run.Application] (main) Failed to 
start application: java.lang.RuntimeException: Failed to start quarkus
        at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
        at io.quarkus.runtime.Application.start(Application.java:101)
        at 
io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:121)
        at io.quarkus.runtime.Quarkus.run(Quarkus.java:77)
        at io.quarkus.runtime.Quarkus.run(Quarkus.java:48)
        at io.quarkus.runtime.Quarkus.run(Quarkus.java:137)
        at io.quarkus.runner.GeneratedMain.main(Unknown Source)
        at 
io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:68)
        at 
io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:36)
   Caused by: java.lang.IllegalArgumentException: root cannot start with '/'
        at 
io.vertx.ext.web.handler.impl.StaticHandlerImpl.setRoot(StaticHandlerImpl.java:710)
        at 
io.vertx.ext.web.handler.impl.StaticHandlerImpl.<init>(StaticHandlerImpl.java:118)
        at io.vertx.ext.web.handler.StaticHandler.create(StaticHandler.java:148)
        at io.vertx.ext.web.handler.StaticHandler.create(StaticHandler.java:136)
        at 
org.kie.kogito.index.service.vertx.IndexRouteRegistrar.lambda$onStart$1(IndexRouteRegistrar.java:55)
        at java.base/java.util.Optional.ifPresent(Optional.java:178)
        at 
org.kie.kogito.index.service.vertx.IndexRouteRegistrar.onStart(IndexRouteRegistrar.java:48)
        at 
org.kie.kogito.index.service.vertx.IndexRouteRegistrar_Observer_onStart_OZ-ClTcDvlWrZ8EP0ThWXIlsckM.notify(Unknown
 Source)
        at 
io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:365)
        at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:347)
        at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:81)
        at 
io.quarkus.arc.runtime.ArcRecorder.fireLifecycleEvent(ArcRecorder.java:163)
        at 
io.quarkus.arc.runtime.ArcRecorder.handleLifecycleEvents(ArcRecorder.java:114)
        at 
io.quarkus.runner.recorded.LifecycleEventsBuildStep$startupEvent1144526294.deploy_0(Unknown
 Source)
        at 
io.quarkus.runner.recorded.LifecycleEventsBuildStep$startupEvent1144526294.deploy(Unknown
 Source)
        ... 9 more
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to