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
Describe the bug
When compiling a spring-native app with io.opentelemetry:opentelemetry-bom:1.34.0, an invalid reflect-config.json gives the following error:
[1/8] Initializing... (0.0s @ 0.27GB)
Error: Error parsing reflection configuration in jar:file:[REDACTED]/opentelemetry-api-1.34.0.jar!/META-INF/native-image/io.opentelemetry/opentelemetry-api/reflect-config.json:
first level of document must be an array of class descriptors
Verify that the configuration matches the schema described in the -H:PrintFlags=+ output for option ReflectionConfigurationResources.
Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception
Steps to reproduce
Create a build.gradle.kts file with "io.opentelemetry:opentelemetry-bom:1.33.0". The app builds. Update the BOM version to 1.34.0, the app doesn't build and gives the error above.
Describe the bug
When compiling a spring-native app with
io.opentelemetry:opentelemetry-bom:1.34.0
, an invalid reflect-config.json gives the following error:Steps to reproduce
Create a build.gradle.kts file with "io.opentelemetry:opentelemetry-bom:1.33.0". The app builds. Update the BOM version to 1.34.0, the app doesn't build and gives the error above.
build.gradle.kts file very similar to https://github.com/open-telemetry/opentelemetry-java-examples/blob/bd161f234bac149020b0ede521d83f9ae5f0203d/spring-native/build.gradle.kts#L14
What did you expect to see?
No reflect-config.json or a valid one in the JAR
What did you see instead?
The invalid reflect-config.json file is:
What version and what artifacts are you using?
Artifacts:
opentelemetry-api
Version:
1.34.0
How did you reference these artifacts?
Environment
Compiler:
OS: "Ubuntu 20.04"
Runtime: Same as above
Runtime OS: Same as above
The text was updated successfully, but these errors were encountered: