-
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
BeanArchiveProcessor#build threw an exception: Local name must not be null #43825
Comments
The list is built from
Could you at least share the list of extensions used in your app? |
@rodcheater You can try to build the Quarkus from this branch: https://github.com/mkouba/quarkus/tree/issue-43825 and then use version |
Thanks for your help @mkouba; I was able to diagnose the issue. Turns out the issue was in the Undertow extension and it’s because I had some servlets with Here’s the stacktrace I got; root cause is adding a null servlet class name at line 82 of
|
@rodcheater Thanks for your analysis! It seems that |
Avoids writing a null bean name to the bean archive, which causes a later build failure. Fixes quarkusio#43825
Avoids writing a null bean name to the bean archive, which causes a later build failure. Fixes quarkusio#43825
Avoids writing a null bean name to the bean archive, which causes a later build failure. Fixes quarkusio#43825 (cherry picked from commit df4696b)
Avoids writing a null bean name to the bean archive, which causes a later build failure. Fixes quarkusio#43825 (cherry picked from commit df4696b)
Avoids writing a null bean name to the bean archive, which causes a later build failure. Fixes quarkusio#43825
Describe the bug
I am wanting to migrate a large existing codebase from Tomcat to Quarkus. When I do
./gradlew :quarkusAppPartsBuild
I get this error:I can see from the debugger that the null name comes from the list of additional bean classes, but I don’t know where that list comes from.
How would I go about diagnosing this error?
Expected behavior
The build succeeds.
Actual behavior
The build fails.
How to Reproduce?
I doubt that I could reproduce this outside of my existing codebase, not without knowing what the issue is.
Output of
uname -a
orver
Darwin Rods-MacBook-Pro.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:35:10 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6031 arm64
Output of
java -version
openjdk version "21.0.4" 2024-07-16 OpenJDK Runtime Environment Homebrew (build 21.0.4) OpenJDK 64-Bit Server VM Homebrew (build 21.0.4, mixed mode, sharing)
Quarkus version or git rev
3.15.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.9
Additional information
No response
The text was updated successfully, but these errors were encountered: