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

Reactive resteasy native exception #392

Closed
snowdrop-bot opened this issue Aug 3, 2021 · 0 comments
Closed

Reactive resteasy native exception #392

snowdrop-bot opened this issue Aug 3, 2021 · 0 comments
Assignees
Labels
7 - Community development upstream/closed The issue has been closed in the upstream repository

Comments

@snowdrop-bot
Copy link
Collaborator

Describe the bug

When running reactive resteasy in native mode and accessing an endpoint with insufficient right a forbidden exception is thrown and is catched by io.quarkus.resteasy.reactive.server.runtime.exceptionmappers.ForbiddenExceptionMapperthat throws an exception

Expected behavior

This should work flowlessly

Actual behavior

An exception is thrown with following :

Caused by: java.lang.InstantiationException: Type io.quarkus.resteasy.reactive.server.runtime.exceptionmappers.ForbiddenExceptionMapper can not be instantiated reflectively as it does not have a no-parameter constructor or the no-parameter constructor has not been added explicitly to the native image.
`

Quarkus version : 1.13.0.Final


quarkusio#16211


$upstream:16211$

@snowdrop-bot snowdrop-bot added the upstream/closed The issue has been closed in the upstream repository label Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7 - Community development upstream/closed The issue has been closed in the upstream repository
Projects
None yet
Development

No branches or pull requests

2 participants