Detected an instance of Random/SplittableRandom class in the image heap #40785
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Event Hubs
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
While trying to build a native image for a Quarkus based project, the build is failing with Error: "Detected an instance of Random/SplittableRandom class in the image heap. Instances created during image generation have cached seed values and don't behave as expected."
Exception or Stack Trace
To Reproduce
Steps to reproduce the behavior:
Code Snippet
Snippets from pom.xml
Declaration of Azure EventHub producer :
Expected behavior
Since Azure SDK is compatible with GraalVM, the build should succeed.
Screenshots
N/A
Setup (please complete the following information):
Additional context
The project uses Azure EventHub library to produce messages, running on AWS Lambda function.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: