-
Notifications
You must be signed in to change notification settings - Fork 1k
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
NullPointerException on startup #1831
Comments
it's a bug, thank you for your report. Its very similar indeed to the linked one. @ryanjbaxter can you add the bug label please? I will see how to fix it.. |
I was litterally just looking at this issue :). Seems like you were just ahead of me |
yeah, its the same dependency thing we had in the past in the linked issue. In
so we register a "null" but later try to do something with that one. I will take a look closer on it in the upcoming days |
Describe the bug
I have updated my java microservices (Java 17, Boot: 3.1.0, Cloud: 2022.0.2) to the latest available version of Spring Boot (3.4.1) and Spring Cloud (2024.0.0) and to Java 21. The spring application works fine locally and with my docker-compose test configuration. Deployed on Kubernetes it fails to startup with the following error:
Sample
This is a sample of a spring cloud gateway webflux application. I've included both Dockerfile and k8s manifests to test it.
demo.zip
Linked issues
This issues it is probably related to #1654.
The text was updated successfully, but these errors were encountered: