2010-09-23 88 views
2

我試圖發起的JProfiler 6遠程模式,並得到以下錯誤:JProfiler的斷言失敗

JProfiler> Protocol version 28 
JProfiler> Using JVMTI 
JProfiler> JVMTI version 1.1 detected. 
JProfiler> 64-bit library 
JProfiler> Listening on port: 8849. 
JProfiler> Instrumenting native methods. 
JProfiler> Can retransform classes. 
JProfiler> Native library initialized 
JProfiler> VM initialized 
JProfiler> Waiting for a connection from the JProfiler GUI ... 
JProfiler> Using dynamic instrumentation 
JProfiler> Time measurement: elapsed time 
JProfiler> CPU profiling enabled 
Assertion failed: (agentClassLocal), function initReferences, file /Users/hannes/buildsys/jprofiler/build/src/c/agent/shared/LiveProfilingSession.cpp, line 95. 

是否有人可以解釋它們是從什麼以及如何解決這些問題?

謝謝!

+0

與64位Sun JVM熱點在Linux x64系統中安裝的JProfiler 6.2.2或6.2.3時,我得到一個非常類似的錯誤: java:/home/hannes/buildsys/jprofiler/build/src/c/agent/shared/LiveProfilingSession.cpp:102:void LiveProfiling :: initReferences(JNIEnv *):聲明'controllerClassLocal'失敗。 - 你有沒有找到解決辦法? – 2011-07-05 17:33:34

回答

1

你缺少參考agent.jar中:

-Xbootclasspath/p:/opt/jprofiler/bin/agent.jar