Skip to content

Fix NPE in QuarkusLocaleResolver#303

Open
jpraet wants to merge 1 commit intomainfrom
feature/quarkus-test
Open

Fix NPE in QuarkusLocaleResolver#303
jpraet wants to merge 1 commit intomainfrom
feature/quarkus-test

Conversation

@jpraet
Copy link
Contributor

@jpraet jpraet commented Feb 17, 2026

When not running in a container (e.g. unit test), then QuarkusLocaleResolver
throws java.lang.NullPointerException:
Cannot invoke "io.quarkus.arc.ArcContainer.requestContext()"
because the return value of "io.quarkus.arc.Arc.container()" is null

@jpraet jpraet requested a review from a team February 17, 2026 13:43
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant