Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide actionable error message when RESTEasy can't pick Provider constructor #19769

Merged
merged 1 commit into from
Aug 30, 2021

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Aug 30, 2021

This can happen when a provider is registered via a Dynamic Feature.
Unfortunately the error message can not contain the class which causes the problem
because it is not passed into the method, the class itself is not present in fields
which can be accessed at this point and the StackWalker does not have access to parameters

Closes: #19756

…nstructor

This can happen when a provider is registered via a Dynamic Feature.
Unfortunately the error message can not contain the class which causes the problem
because it is not passed into the method, the class itself is not present in fields
which can be accessed at this point and the StackWalker does not have access to parameters

Closes: quarkusio#19756
@gsmet gsmet merged commit bffe6bb into quarkusio:main Aug 30, 2021
@quarkus-bot quarkus-bot bot added this to the 2.3 - main milestone Aug 30, 2021
@gsmet gsmet modified the milestones: 2.3 - main, 2.2.1.Final Aug 30, 2021
@geoand geoand deleted the dynamic-feature-npe branch August 31, 2021 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants