Unable to start profiles with latest Java 1.8 and 2022.x+

Questions about YourKit Java Profiler
Locked
jperovic
Posts: 1
Joined: Wed May 31, 2023 2:12 pm

Unable to start profiles with latest Java 1.8 and 2022.x+

Post by jperovic »

Hi,

My team has successfully used YK profiler to attach to running process in production and analyze performance issues. Several people in our team have the following versions:

- YourKit-JavaProfiler-2020.9-b424
- YourKit-JavaProfiler-2022.9-b183

In the past, we managed to start our app with 2020.9 and 2022.9 agents. However, since last Java upgrade from 1.8.0-312 to 1.8.0-372, we can *only* start the app using 2020.9 agent. When we set 2022.9 agent, the application fails to start.

Yesterday, I attempted to download the latest version (2023.5-b224), hoping to get it running but that did not go so well. The application still fails to start.

The only remote hint I managed to obtain was a message:
[YourKit Java Profiler 2023.5-b224] Log file: /home/server/.yjp/log/server-1657047.log
FATAL ERROR in native method: Instance field not found in JNI get/set field operations

On the first glance, the YJP log file does not reveal any issues.

Is this some known issue? Is there a workaround to this?

If I can add some more info, please don't hesitate to ask!
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Unable to start profiles with latest Java 1.8 and 2022.x+

Post by Vladimir Kondratyev »

This is not a known issue. Please send entire /home/server/.yjp/log/server-1657047.log to [email protected].

Best regards,
Vladimir Kondratyev
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Unable to start profiles with latest Java 1.8 and 2022.x+

Post by Vladimir Kondratyev »

Please also specify which Linux (version and architecture) you are using. We want to test exactly your Java version (1.8.0-372).

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Locked