Open MattAlp opened 3 weeks ago
Hi @MattAlp,
Thank you for reaching out to us.
It looks like you're using VM Liberica-NIK-23.0.5-1 (build 17.0.12+10-LTS, mixed mode, sharing), which is based on GraalVM CE 17, an outdated version. There's a new release of GraalVM available here. Could you please test with the latest version and let us know how it goes?
Hey @selhagani, I'll have the client experiment with this- they may be constrained to JDK 17 for legacy reasons, will update shortly.
Describe the issue When running a sample app instrumented with the DataDog APM / Profiling agent, NPEs and exceptions are seen in JFR snapshot related code.
Steps to reproduce the issue Please include both build steps as well as run steps
./gradlew clean nativeCompile
using thejava
provided bysdk use java 23.0.5.r17-nik
./build/native/nativeCompile/demo
. After roughly 1-2 minutes, warnings and stack traces should be seen (as attached below).Describe GraalVM and your environment:
More details Warning seen:
Stack trace seen:
I have not been successful in consistently reproducing the NPE, unlike the warning. As it is in
JfrTypeRepository.getClassLoaderId
, it may require a specific class / classloader to trigger.