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

Qute template records: fix the way the canonical constructor is found #42411

Closed
mkouba opened this issue Aug 8, 2024 · 0 comments · Fixed by #42439
Closed

Qute template records: fix the way the canonical constructor is found #42411

mkouba opened this issue Aug 8, 2024 · 0 comments · Fixed by #42439
Assignees
Labels
area/qute The template engine kind/bug Something isn't working
Milestone

Comments

@mkouba
Copy link
Contributor

mkouba commented Aug 8, 2024

Describe the bug

https://github.com/quarkusio/quarkus/blob/main/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/QuteProcessor.java#L437-L439

May result in:

[error]: Build step io.quarkus.qute.deployment.QuteProcessor#collectCheckedTemplates threw an exception: java.lang.NullPointerException: Cannot invoke "org.jboss.jandex.MethodInfo.parameterTypes()" because "canonicalConstructor" is null

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@mkouba mkouba added the kind/bug Something isn't working label Aug 8, 2024
@mkouba mkouba self-assigned this Aug 8, 2024
@quarkus-bot quarkus-bot bot added the area/qute The template engine label Aug 8, 2024
mkouba added a commit to mkouba/quarkus that referenced this issue Aug 9, 2024
- also fix the problem with compact record constructor
- resolves quarkusio#42411
@mkouba mkouba closed this as completed in c05d0b1 Aug 9, 2024
@quarkus-bot quarkus-bot bot added this to the 3.14 - main milestone Aug 9, 2024
@gsmet gsmet modified the milestones: 3.14.0.CR1, 3.13.3 Aug 19, 2024
gsmet pushed a commit to gsmet/quarkus that referenced this issue Aug 19, 2024
- also fix the problem with compact record constructor
- resolves quarkusio#42411

(cherry picked from commit c05d0b1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/qute The template engine kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants