JProfiler的断言失败
问题描述:
我试图发起的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.
是否有人可以解释它们是从什么以及如何解决这些问题?
谢谢!
答
你缺少参考agent.jar中:
-Xbootclasspath/p:/opt/jprofiler/bin/agent.jar
与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