-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Resteasy tries to instantiate abstract classes since Quarkus 3.3 #41376
Labels
area/resteasy-classic
kind/bug
Something isn't working
triage/needs-feedback
We are waiting for feedback.
Milestone
Comments
Thanks for reporting. The attached reproducer does not work at all unfortunately... It does not seem to be a properly configured Quarkus application |
In any case, #41465 fixes the issue |
geoand
added a commit
that referenced
this issue
Jun 26, 2024
Ignore abstract jakarta.ws.rs.core.Application classes
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Jun 26, 2024
Fixes: quarkusio#41376 (cherry picked from commit 26da21a)
holly-cummins
pushed a commit
to holly-cummins/quarkus
that referenced
this issue
Jul 31, 2024
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Aug 14, 2024
Fixes: quarkusio#41376 (cherry picked from commit 26da21a)
danielsoro
pushed a commit
to danielsoro/quarkus
that referenced
this issue
Sep 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/resteasy-classic
kind/bug
Something isn't working
triage/needs-feedback
We are waiting for feedback.
Describe the bug
I use an abstract base class for the Rest Application class in an common library, Quarkus 3.3 is suddenly trying to instantiate this class, Quarkus 3.2 is working as intended.
As a workaround, set
quarkus.resteasy.ignore-application-classes
totrue
Expected behavior
Resteasy should not try to instantiate abstract classes and simply ignore them.
Actual behavior
Resteasy tries to instantiate an abstract class, failing with an exception at startup:
How to Reproduce?
Output of
uname -a
orver
Linux tuxsgaming 6.9.5-1-default #1 SMP PREEMPT_DYNAMIC Tue Jun 18 07:38:24 UTC 2024 (c9c2e24) x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "21.0.3" 2024-04-16 OpenJDK Runtime Environment (build 21.0.3+9-suse-1.1-x8664) OpenJDK 64-Bit Server VM (build 21.0.3+9-suse-1.1-x8664, mixed mode, sharing)
Quarkus version or git rev
3.3.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.8 Maven home: /usr/share/maven Java version: 21.0.3, vendor: N/A, runtime: /usr/lib64/jvm/java-21-openjdk-21 Default locale: de_DE, platform encoding: UTF-8 OS name: "linux", version: "6.9.5-1-default", arch: "amd64", family: "unix"
Additional information
No response
The text was updated successfully, but these errors were encountered: