Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoSuchMethodError when calling jfr2flame with jdk 8 #839

Closed
maozhu1123 opened this issue Nov 9, 2023 · 1 comment
Closed

java.lang.NoSuchMethodError when calling jfr2flame with jdk 8 #839

maozhu1123 opened this issue Nov 9, 2023 · 1 comment

Comments

@maozhu1123
Copy link

maozhu1123 commented Nov 9, 2023

Environment: async-profiler v2.9 & jdk 8

> java -cp converter.jar jfr2flame --cpu java_profile.jfr test.html
Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
        at one.jfr.JfrReader.<init>(JfrReader.java:78)
        at jfr2flame.main(jfr2flame.java:257)

> java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

@apangin
Copy link
Collaborator

apangin commented Nov 9, 2023

The problem is known and has been fixed already. I'm closing the issue as a duplicate of #772

@apangin apangin closed this as completed Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants