You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The native image should be built successfully without errors. The application should work seamlessly with micronaut-langchain4j dependencies in the native image environment.
Actual Behaviour
The native image build fails with an error indicating that kotlin.coroutines.intrinsics.CoroutineSingletons was unintentionally initialized during the image build process.
Error: Classes that should be initialized at run time got initialized during image building: kotlin.coroutines.intrinsics.CoroutineSingletons was unintentionally initialized at build time. To see why kotlin.coroutines.intrinsics.CoroutineSingletons got initialized use --trace-class-initialization=kotlin.coroutines.intrinsics.CoroutineSingletons To see how the classes got initialized, use --trace-class-initialization=kotlin.coroutines.intrinsics.CoroutineSingletons
Steps To Reproduce
Create a Micronaut application using the Micronaut CLI.
Add the micronaut-langchain4j dependencies to the project.
Expected Behavior
The native image should be built successfully without errors. The application should work seamlessly with micronaut-langchain4j dependencies in the native image environment.
Actual Behaviour
The native image build fails with an error indicating that kotlin.coroutines.intrinsics.CoroutineSingletons was unintentionally initialized during the image build process.
Error: Classes that should be initialized at run time got initialized during image building: kotlin.coroutines.intrinsics.CoroutineSingletons was unintentionally initialized at build time. To see why kotlin.coroutines.intrinsics.CoroutineSingletons got initialized use --trace-class-initialization=kotlin.coroutines.intrinsics.CoroutineSingletons To see how the classes got initialized, use --trace-class-initialization=kotlin.coroutines.intrinsics.CoroutineSingletons
Steps To Reproduce
mvn package -Dpackaging=docker-native
Environment Information
Operating system: Ubuntu 22.04
JDK: Java(TM) SE Runtime Environment Oracle GraalVM 21.0.6+8.1
Example Application
No response
Version
4.7.3
The text was updated successfully, but these errors were encountered: