JVMTI error err=112(JVMTI_ERROR_WRONG_PHASE) in Sampling.cpp

Questions about YourKit Java Profiler
Post Reply
dimitri
Posts: 5
Joined: Mon Mar 21, 2005 8:09 pm

JVMTI error err=112(JVMTI_ERROR_WRONG_PHASE) in Sampling.cpp

Post by dimitri »

Hello, thank you for the tool.

I use the YourKit Java with eclipse under SUN JRE 1.5.0_01,
OS Windows ME

The profiling is activated by the program start
(startup with CPU sampling),

the snapshot has to be saved after the end of the program execution
(Capture CPU snapshot on exit).

I get an error message in the eclipse console window.
What could it mean? Should I simply ignore it?

------------- Error Message--------

[YourKit Java Profiler 4.0.1] CPU snapshot is saved to C:\Dimitri\JavaPro\Profiling\shutdown.cpu
ERROR: JVMTI error err=112(JVMTI_ERROR_WRONG_PHASE) in Sampling.cpp:38
Picked up JAVA_TOOL_OPTIONS: -agentlib:yjpagent=sampling,onexit=cpu,dir=YJPQUOTED433a5c44696d697472695c4a61766150726f5c50726f66696c696e67,sessionname=YJPQUOTED467265654d696e645f696e746567726174696f6e20286c61756e636865642066726f6d2045636c6970736529

----------End Error Message--------
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Is this crash reproducible in your environment? It would be really helpful if you provide us small Java sample which allow to isolate the problem.

Regards,
Vladimir Kondratyev
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Post by Anton Katilin »

Thanks again for the report.

The bug is fixed. Please download the latest available build at http://www.yourkit.com/download (YourKit Java Profiler 4.0.3)

Best regards,
Anton
Post Reply