Closed nyko29 closed 1 year ago
Given the NPE is in MyFaces and apparently they don't support Quarkus 3 yet, I'm going to close this one.
Well, there are extremely weird things such as the warn message about: javax.enterprise.util.AnnotationLiteral
and I don't know where it could come from.
I created https://github.com/quarkusio/quarkus/pull/31515 to fix one of the warning but I don't think it's the root of the issue.
Given the NPE is in MyFaces, please report the problem there and if they end up finding out it's a Quarkus issue, we will have more details to fix it.
Ok thanks for the warning. Myfaces doesn't have a public issue tracker to report the problem. But You're right this is not according to the stacktrace the right place for now. I know that https://github.com/melloware is working on migrating myfaces/primefaces/omnifaces to Quarkus 3 so I will wait for stable version of Quarkus 3 and the quarkiverse extensions.
Regards
/cc @melloware for your awareness
Yep i plan on looking into Quarkus3 once I get Quarkus2 fully functional which I am pretty close on having Quarkus2 working in Native Image.
I opened a MyFaces ticket: https://issues.apache.org/jira/browse/MYFACES-4582
Ok thanks. So you have the same problem?
Yes I can reproduce it.
This will be fixed in MyFaces 4.0.1. I got to the bottom of the issue.
Great news, thanks !
OK MyFaces 4.0.1 is now in Maven Central and this issue is resolved for anyone following this thread.
Thanks @melloware. Just gave it a try with the quarkus-primefaces
extension. quarkus-primefaces
uses MyFaces 4.0. So after excluding 4.0 and adding the MyFaces 4.0.1 dependency, it works.
@melloware my bad. It works without any exclusion with quarkus-primefaces
3.13.0. When you generate a project with https://code.quarkus.io, the version is set to 3.12.4 instead of 3.13.0. You might want to update https://code.quarkus.io
Hmmm it should get updated automatically. Oh it might depend on Quarkus version. If you selected 3.0.0 as that is compiled for 3.1.0.
Yes, 3.13.0 is now bundled with the latest Quarkus 3.1 in https://code.quarkus.io
Describe the bug
I have a maven multi module project with several quarkus modules. They communicate between each other with microservices. Quarkus module is using org.apache.myfaces.core.extensions.quarkus and quarkus-omnifaces.
When I launched the quarkus module in dev mode I got the following NPE after the first hot reloading:
Expected behavior
Be able to have a hot reloading working
Actual behavior
When I launch the application in dev mode it works. But, if I modify my code, the hot reloading failed with a NPE (see the stacktrace).
It seems to be something similar to https://github.com/quarkusio/quarkus/issues/8069
How to Reproduce?
No response
Output of
uname -a
orver
ubuntu 22
Output of
java -version
11.0.16
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.0.0.Alpha4
Build tool (ie. output of
mvnw --version
orgradlew --version
)maven 3.8.5
Additional information
No response