-
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
Random javax.enterprise.inject.IllegalProductException: Normal scoped producer method may not return null
#27423
Comments
/cc @evanchooly, @geoand |
@kimdv : Can you please try with the latest https://github.com/quarkusio/quarkus/releases/tag/2.12.0.CR1 ? We fixed related bugs that should already solve this case. |
It looks like it have been fixed! Thanks 🚀 |
@phillip-kruger
|
@mkouba any thoughts? |
I'm not sure but it could be a use case similar to the one I described in #27229 (comment), i.e. the |
Indeed it might be the same. Can you try |
Describe the bug
We randomly get
2022-08-22 16:04:20,174 ERROR [io.sma.graphql] (vert.x-eventloop-thread-0) SRGQL012000: Data Fetching Error: javax.enterprise.inject.IllegalProductException: Normal scoped producer method may not return null: io.quarkus.vertx.http.runtime.CurrentVertxRequest.getCurrent()
in our service.We cannot see a pattern. We just retry the request and it then succeeds. 🤷♂️
We run it in docker images on a kubernetes cluster if that helps.
We also use GraphQL
Expected behavior
Not getting exception
Actual behavior
Random crashes when accessing
RouteContext
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.11.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
Stacktrace
The text was updated successfully, but these errors were encountered: