-
-
Notifications
You must be signed in to change notification settings - Fork 202
Closed
Labels
status/triage/completedAutomatic triage completedAutomatic triage completedstatus/triage/manualManual triage in progressManual triage in progresstype/bugSomething isn't workingSomething isn't working
Milestone
Description
Issue submitter TODO list
- I've looked up my issue in FAQ
- I've searched for an already existing issues here
- I've tried running
main-labeled docker image and the issue still persists there - I'm running a supported version of the application which is listed here
Describe the bug (actual behavior)
After upgrading to 70eeb5f, we noticed the following exception navigating to our Kafka Connect Cluster
From my tests, it seems that f2fabd3 is the first version that introduced this issue
2025-09-15 07:02:10,120 ERROR [reactor-http-epoll-1] o.s.b.a.w.r.e.AbstractErrorWebExceptionHandler: [7c74d8bc-217] 500 Server Error for HTTP GET "/api/clusters/IPC1/connectors"
java.lang.ClassCastException: class io.kafbat.ui.model.FullConnectorInfoDTO cannot be cast to class java.lang.Comparable (io.kafbat.ui.model.FullConnectorInfoDTO is in unnamed module of loader org.springframework.boot.loader.launch.LaunchedClassLoader @696b52bc; java.lang.Comparable is in module java.base of loader 'bootstrap')
at java.base/java.util.Comparators$NaturalOrderComparator.compare(Comparators.java:47)
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
*__checkpoint ⇢ Handler io.kafbat.ui.controller.KafkaConnectController#getAllConnectors(String, String, ConnectorColumnsToSortDTO, SortOrderDTO, ServerWebExchange) [DispatcherHandler]
*__checkpoint ⇢ io.kafbat.ui.config.CorsGlobalConfiguration$$Lambda/0x0000000100cf9ef8 [DefaultWebFilterChain]
*__checkpoint ⇢ io.kafbat.ui.config.ReadOnlyModeFilter [DefaultWebFilterChain]
*__checkpoint ⇢ io.kafbat.ui.config.CustomWebFilter [DefaultWebFilterChain]
*__checkpoint ⇢ AuthorizationWebFilter [DefaultWebFilterChain]
*__checkpoint ⇢ ExceptionTranslationWebFilter [DefaultWebFilterChain]
*__checkpoint ⇢ LogoutWebFilter [DefaultWebFilterChain]
*__checkpoint ⇢ ServerRequestCacheWebFilter [DefaultWebFilterChain]
*__checkpoint ⇢ SecurityContextServerWebExchangeWebFilter [DefaultWebFilterChain]
*__checkpoint ⇢ ReactorContextWebFilter [DefaultWebFilterChain]
*__checkpoint ⇢ HttpHeaderWriterWebFilter [DefaultWebFilterChain]
*__checkpoint ⇢ ServerWebExchangeReactorContextWebFilter [DefaultWebFilterChain]
*__checkpoint ⇢ org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain]
*__checkpoint ⇢ HTTP GET "/api/clusters/IPC1/connectors" [ExceptionHandlingWebHandler]Expected behavior
The Kafka Connect view works as expected. It does not fail with an exception
Your installation details
Steps to reproduce
- Navigate to the Kafka Connect view for any cluster using 70eeb5f
- Observe how the view is not rendered and that the exception above is shown in the logs
Additional context
The last known working version I tested is 4eb8973
Changelog: 4eb8973...f2fabd3
Metadata
Metadata
Assignees
Labels
status/triage/completedAutomatic triage completedAutomatic triage completedstatus/triage/manualManual triage in progressManual triage in progresstype/bugSomething isn't workingSomething isn't working
Projects
Status
Done