Snapshot does not open with IO exception

Questions about YourKit Java Profiler
Post Reply
mdskk14
Posts: 2
Joined: Mon May 05, 2025 1:23 pm

Snapshot does not open with IO exception

Post by mdskk14 »

I am trying to collect a CPU Sampling snapshot on YourKit-JavaProfiler-2025.3-b135-x64 with my apps running on JDK 17 and JDK 21

I am using below commands to generate the snapshot

curl -k -X POST https://localhost:10001/yjp/api/v2/startSampling

curl -k -X POST https://localhost:10001/yjp/api/v2/capt ... ceSnapshot

When i try to open the snapshot i run into below error,


perf-yk.snapshot is not a valid snapshot file
"I/O exception: Protocol message had invalid UTF-8"


I validated the chksum and size of the snapshot post copying and they are the same
Vladimir Kondratyev
Posts: 1667
Joined: Tue Aug 10, 2004 7:52 pm

Re: Snapshot does not open with IO exception

Post by Vladimir Kondratyev »

We’ll be happy to investigate this issue. Please send a downloadable link to support@yourkit.com. If the compressed snapshot is no larger than 20 MiB, you may also attach it directly to the email.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Vladimir Kondratyev
Posts: 1667
Joined: Tue Aug 10, 2004 7:52 pm

Re: Snapshot does not open with IO exception

Post by Vladimir Kondratyev »

Please send to support@yourkit.com profiler logs files from ~/.yjp/log directory.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
mdskk14
Posts: 2
Joined: Mon May 05, 2025 1:23 pm

Re: Snapshot does not open with IO exception

Post by mdskk14 »

Thanks for the quick response Vladimir, I have dropped a mail to support@yourkit.com with the snapshot and log details through my official mail.

Thanks,
Krishnakanth
Vladimir Kondratyev
Posts: 1667
Joined: Tue Aug 10, 2004 7:52 pm

Re: Snapshot does not open with IO exception

Post by Vladimir Kondratyev »

Thank you for providing the snapshots. We are currently investigating the issue, and I’ll get back to you as soon as I have further details.

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