snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Reactive resteasy native exception #392

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

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


https://github.com/quarkusio/quarkus/issues/16211


$upstream:16211$