Skip to content

[GR-41952] NPE in thread "Performance data" when using JFR on JDK19 #5258

@fniephaus

Description

@fniephaus

When building a JDK19-based GraalVM from current master, a simple JFR example fails with a NPE in thread "Performance data":

$ $GRAALVM_HOME/bin/native-image --enable-monitoring -m jdk.httpserver
$ ./jdk.httpserver -XX:+FlightRecorder -XX:StartFlightRecording="filename=recording.jfr"
Binding to loopback by default. For all interfaces use "-b 0.0.0.0" or "-b ::".
Serving /home/fniephaus/dev/tmp/jwebserver and subdirectories on 127.0.0.1 port 8000
URL http://127.0.0.1:8000/
Exception in thread "Performance data" java.lang.NullPointerException: [no exception stack trace available because exception is thrown from code that must be allocation free]

Could you take a look at this please, @roberttoyonaga?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions