We need your entire error and out log to be able to determine why you could not wrap the method.

If you're using Java 7 there's a known problem with wrapping which can be identified by the following prior error:

10/31/11 1:27:20 PM (process grinder01-0): Java VM does not support class retransformation, DCR unavailable
10/31/11 1:27:20 PM (process grinder01-0): instrumentation agents: NO INSTRUMENTER COULD BE LOADED

and here is a possible fix kindly given to me by Philip (one of the core devs of The Grinder), but which I haven't had time to test yet:

The other possibility is to revert to Java 6, assuming you can.


On 8 November 2011 17:23, shiva <> wrote:
Hello All,

I am a newbee to grinder tool and trying to run this first time. I think I am able to run the Agent and started console. I see below error in the error logs.

Java exception initialising test script
    logTest = test1.wrap(grinder.logger.output)
    File "C:\grinder-3.4\mygrinder\.\USLT629-file-store\current\", line 16, in <module>
Caused by: net.grinder.script.NotWrappableTypeException: Failed to wrap <bound method net.grinder.engine.process.ExternalLogger.output of net.grinder.engine.process.ExternalLogger@c25ffa>
    at net.grinder.engine.process.instrumenter.MasterInstrumenter.createInstrumentedProxy(
    at net.grinder.engine.process.TestData.createProxy(
    at net.grinder.script.Test.wrap(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.python.core.PyReflectedFunction.__call__(
    at org.python.core.PyReflectedFunction.__call__(
    at org.python.core.PyObject.__call__(
    at org.python.core.PyObject.__call__(
    at org.python.core.PyMethod.__call__(
    at org.python.pycode._pyx0.f$0(C:\grinder-3.4\mygrinder\.\USLT629-file-store\current\
    at org.python.pycode._pyx0.call_function(C:\grinder-3.4\mygrinder\.\USLT629-file-store\current\
    at org.python.core.Py.runCode(
    at org.python.core.__builtin__.execfile_flags(
    at org.python.util.PythonInterpreter.execfile(
    at net.grinder.engine.process.jython.JythonScriptEngine.initialise(
    at net.grinder.engine.process.WorkerProcessEntryPoint.main(

Can some one please help me fixing this issue?

Siva Srimakurti

RSA(R) Conference 2012
Save $700 by Nov 18
Register now
grinder-use mailing list