You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/04/25 08:01:00 UTC

[jira] [Assigned] (CAMEL-23363) camel-platform-http-main - NPE if you enable healt-check but lack JAR

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

Claus Ibsen reassigned CAMEL-23363:
-----------------------------------

    Assignee: Claus Ibsen

> camel-platform-http-main - NPE if you enable healt-check but lack JAR
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-23363
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23363
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>    Affects Versions: 4.18.1, 4.19.0, 4.20.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.18.3, 4.21.0
>
>
> {code:java}
> 2026-04-21 14:40:30.942 ERROR 1 --- [ntloop-thread-0] io.vertx.ext.web.RoutingContext          : Unhandled exception in router
> java.lang.NullPointerException: Cannot invoke "org.apache.camel.health.HealthCheckRegistry.getExposureLevel()" because "registry" is null
> 	at org.apache.camel.component.platform.http.main.ManagementHttpServer$2.handle(ManagementHttpServer.java:605) ~[camel-platform-http-main-4.18.1.jar:4.18.1]
> 	at org.apache.camel.component.platform.http.main.ManagementHttpServer$2.handle(ManagementHttpServer.java:597) ~[camel-platform-http-main-4.18.1.jar:4.18.1]
> 	at io.vertx.ext.web.impl.BlockingHandlerDecorator.lambda$handle$0(BlockingHandlerDecorator.java:48) ~[vertx-web-4.5.25.jar:4.5.25]
> 	at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$5(ContextImpl.java:205) ~[vertx-core-4.5.25.jar:4.5.25]
> 	at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:270) ~[vertx-core-4.5.25.jar:4.5.25]
> 	at io.vertx.core.impl.ContextImpl$1.execute(ContextImpl.java:221) ~[vertx-core-4.5.25.jar:4.5.25]
> 	at io.vertx.core.impl.WorkerTask.run(WorkerTask.java:56) ~[vertx-core-4.5.25.jar:4.5.25]
> 	at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:81) ~[vertx-core-4.5.25.jar:4.5.25]
> 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
> 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
> 	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.130.Final.jar:4.1.130.Final]
> 	at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] {code}



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