-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Describe the bug
Native Build fails with io.confluent:kafka-streams-avro-serde to v7.8.0
With newer Version then 7.5.1 Quarkus Native Build fails.
Error: An object of type 'org.apache.avro.reflect.ReflectData$AllowNull' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
Expected behavior
Native Build works with every io.confluent:kafka-streams-avro-serde version
Actual behavior
Qurkus Native Build show this Error
Error: An object of type 'org.apache.avro.reflect.ReflectData$AllowNull' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
How to Reproduce?
- Start buildNative with io.confluent:kafka-streams-avro-serde greater then 7.5.1
- Build fails
Output of uname -a
or ver
No response
Output of java -version
Java version: 21.0.2+13
Mandrel or GraalVM version (if different from Java)
GraalVM CE 21.0.2+13.1
Quarkus version or git rev
3.17.7
Build tool (ie. output of mvnw --version
or gradlew --version
)
Gradle 8.12
Additional information
No response