[ 
https://issues.apache.org/jira/browse/CAMEL-21621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Diesler updated CAMEL-21621:
-----------------------------------
    Summary: camel-jbang - cannot use k8s-httpclient-vertx in shutdown hook  
(was: camel-jbang - cannot use k8sclient-vertx in shutdown hook)

> camel-jbang - cannot use k8s-httpclient-vertx in shutdown hook
> --------------------------------------------------------------
>
>                 Key: CAMEL-21621
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21621
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>            Priority: Major
>
> {code}
> Exception in thread "Camel Thread #7 - CamelShutdownInterceptor" 
> java.lang.RuntimeException: java.lang.IllegalStateException: Client is closed
>       at 
> org.apache.camel.dsl.jbang.core.commands.kubernetes.KubernetesRun.lambda$installShutdownHook$10(KubernetesRun.java:514)
>       at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: java.lang.IllegalStateException: Client is closed
>       at 
> io.vertx.core.http.impl.HttpClientImpl.checkClosed(HttpClientImpl.java:405)
>       at 
> io.vertx.core.http.impl.HttpClientImpl.doRequest(HttpClientImpl.java:281)
>       at 
> io.vertx.core.http.impl.HttpClientImpl.request(HttpClientImpl.java:191)
>       at 
> io.fabric8.kubernetes.client.vertx.VertxHttpRequest.consumeBytes(VertxHttpRequest.java:124)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to