Repository navigation
Labels
area/dist/quarkusQuarkus distribution — packaging, container images, server config (kc.sh)Quarkus distribution — packaging, container images, server config (kc.sh)kind/bugCategorizes a PR related to a bugCategorizes a PR related to a bugpriority/importantMust be worked on very soonMust be worked on very soonrelease/26.6.3release/26.7.0team/cloud-nativeteam/continuous-deliveryteam/core-authnteam/core-clientsteam/core-iamteam/core-protocolsteam/core-sharedteam/production-readinessteam/security
Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
dist/quarkus
Describe the bug
It seems that since this change #48733, the Keycloak is broken when running tests with embedded undertow in the old testsuite. For example those steps:
mvn clean install -DskipTests=true
cd testsuite/integration-arquillian/tests/base/
mvn clean install -Dtest=UserInfoTest
Fails with:
...
Caused by: java.lang.NullPointerException: Cannot read field "features" because the return value of "org.keycloak.common.Profile.getInstance()" is null
at org.keycloak.common.Profile.isFeatureEnabled(Profile.java:520)
at org.keycloak.services.resteasy.ResteasyKeycloakApplication.<init>(ResteasyKeycloakApplication.java:52)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.jboss.resteasy.core.ConstructorInjectorImpl.constructOutsideRequest(ConstructorInjectorImpl.java:203)
... 58 more
Version
Keycloak main (from 2026-05-18)
Regression
- The issue is a regression
Expected behavior
Tests working
Actual behavior
Not possible to run the tests ind the arquillian testsuite with embedded undertow
How to Reproduce?
- See description
Anything else?
No response
Metadata
Metadata
Assignees
Labels
area/dist/quarkusQuarkus distribution — packaging, container images, server config (kc.sh)Quarkus distribution — packaging, container images, server config (kc.sh)kind/bugCategorizes a PR related to a bugCategorizes a PR related to a bugpriority/importantMust be worked on very soonMust be worked on very soonrelease/26.6.3release/26.7.0team/cloud-nativeteam/continuous-deliveryteam/core-authnteam/core-clientsteam/core-iamteam/core-protocolsteam/core-sharedteam/production-readinessteam/security
Type
Fields
No fields configured for bug.
Activity
shawkins commentedon May 18, 2026
I'll address this.
fix: making the embedded resteasy server work again
fix: making the embedded resteasy server work again
11 remaining items
fix: making the embedded resteasy server work again