-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Describe the bug
The Agroal - DB connection pool in the Dev UI is empty when using MSSQL.
(obviously the db does work, however it just never shows in this view)

Expected behavior
If I switch to PostgreSQL it does show it immediately in the Agroal - DB connection pool in the Dev UI

Actual behavior
No response
How to Reproduce?
Create a fresh Quarkus App with Rest, Hibernate and the MSSQL JDBC Driver
Start the app and open the Dev UI and navigate to the Agroal - DB connection pool
You will also see the following stack trace in the console:
2025-09-11 14:38:15,406 ERROR [io.qua.dev.run.jso.JsonRpcCodec] (executor-thread-1) Error in JsonRPC Call: java.lang.NullPointerException: Cannot invoke "io.agroal.api.AgroalDataSource.getConfiguration()" because "ads" is null
at io.quarkus.agroal.runtime.dev.ui.DatabaseInspector.isAllowedDatabase(DatabaseInspector.java:445)
at io.quarkus.agroal.runtime.dev.ui.DatabaseInspector.getTables(DatabaseInspector.java:134)
at io.quarkus.agroal.runtime.dev.ui.DatabaseInspector_ClientProxy.getTables(Unknown Source)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.quarkus.devui.runtime.comms.JsonRpcRouter.lambda$invoke$12(JsonRpcRouter.java:346)
at io.smallrye.mutiny.unchecked.UncheckedSupplier.lambda$toSupplier$0(UncheckedSupplier.java:41)
at io.smallrye.context.impl.wrappers.SlowContextualSupplier.get(SlowContextualSupplier.java:21)
at io.smallrye.mutiny.operators.uni.builders.UniCreateFromItemSupplier.subscribe(UniCreateFromItemSupplier.java:28)
at io.smallrye.mutiny.operators.AbstractUni.subscribe(AbstractUni.java:35)
at io.smallrye.mutiny.operators.uni.UniRunSubscribeOn.lambda$subscribe$0(UniRunSubscribeOn.java:27)
at io.quarkus.vertx.core.runtime.VertxCoreRecorder$15.runWith(VertxCoreRecorder.java:645)
at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2651)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2630)
at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1622)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1589)
at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:11)
at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:11)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1583)
Output of uname -a
or ver
Darwin Willem-Jans-MacBook-Pro.local 24.6.0 Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:40 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6041 arm64
Output of java -version
openjdk version "21.0.8" 2025-07-15 LTS
Quarkus version or git rev
3.26.3
Build tool (ie. output of mvnw --version
or gradlew --version
)
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Additional information
I think this has never really worked for MSSQL (and I failed to create a bug report earlier for it)