3.2 and 4.0 compatibility?

Questions about YourKit Java Profiler
Post Reply
smartin
Posts: 1
Joined: Thu Jan 27, 2005 7:27 pm

3.2 and 4.0 compatibility?

Post by smartin »

A snapshot was created running Linux in a VM on windows laptop using yourkit 3.2. I tried to load it using 4.0 build 516 on a powerbook OS X 10.3.7. The gui error I got was "not a valid snapshot file" Are 3.2 and 4.0 compatible? Any ideas about this problem?

% ./yjp.sh
----------
assertion failed
java.lang.Throwable
at com.yourkit.g.c.a(a:96)
at com.yourkit.c.b.a.a.<init>(a:6)
at com.yourkit.c.r.a(a:59)
at com.yourkit.c.r.char(a:55)
at com.yourkit.c.b.a.e.<init>(a:26)
at com.yourkit.c.b.a.f.try(a:750)
at com.yourkit.c.b.a.f.<init>(a:780)
at com.yourkit.c.b.c.<init>(a:142)
at com.yourkit.c.n.a(a:194)
at com.yourkit.e.y$1.a(a:7)
at com.yourkit.ui.d$b.run(a:17)
----------
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Post by Anton Katilin »

Snapshots from versions 3.2 and 4.0 are not compatible. To be able to support new features such as Java 5.0 JVMTI support or wall and thread times in CPU snapshots, we have dramatically changed format of snapshot files.

The message you found in console is an internal debug message, not an error, and normally should be printed to log only. It will be corrected in the next build.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Post by Anton Katilin »

... And the message will clearly say that snapshot is of an old unsupported format, instead of saying that it is invalid.
Post Reply