We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Injecting beans should be possible.
Injecting a simple bean, leads to kotlin.UninitializedPropertyAccessException.
kotlin.UninitializedPropertyAccessException
BookRequestHandlerTest
Dockerfile
"errorMessage": "lateinit property simpleBean has not been initialized", "errorType": "kotlin.UninitializedPropertyAccessException", "stackTrace": [ "example.micronaut.BookRequestHandler.getSimpleBean(BookRequestHandler.kt:18)", "example.micronaut.BookRequestHandler.execute(BookRequestHandler.kt:21)", "example.micronaut.BookRequestHandler.execute(BookRequestHandler.kt:9)", "io.micronaut.function.aws.MicronautRequestHandler.handleRequest(MicronautRequestHandler.java:128)" ] }``` ### Environment Information - Operating System: Arch Linux - JDK version: 11.0.15 ### Example Application https://github.com/22dasi1bwi/mn-serverless-with-docker-image-example ### Version 3.4.4
The text was updated successfully, but these errors were encountered:
Hey, @sdelamo ! I have struggled with that issue for a long time already. Is there something obvious I'm missing??
Thank you!
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
Injecting beans should be possible.
Actual Behaviour
Injecting a simple bean, leads to
kotlin.UninitializedPropertyAccessException
.Steps To Reproduce
BookRequestHandlerTest
(a @MicronautLambdaTest) is green.Dockerfile
to build an Image.The text was updated successfully, but these errors were encountered: