I get this error when using grinder with jython 2.5.1
Exception in thread "main" java.lang.VerifyError: class org.python.core.PyJavaClass overrides final method findattr.(Ljava/lang/String;)Lorg/python/core/PyObject;
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at net.grinder.engine.process.jython.JythonScriptEngine.<init>(JythonScriptEngine.java:77)
at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:213)
at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:87)
at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:59)
12/2/09 10:25:37 AM (agent): finished
I'm not sure but I think it is caused in these files where classes try to override that function.
src/net/grinder/engine/process/jython/AbstractInstrumentedPyJavaInstance.java
src/net/grinder/engine/process/jython/InstrumentedPyJavaInstanceForJavaInstances.java
src/net/grinder/engine/process/jython/InstrumentedPyJavaClass.java
src/net/grinder/engine/process/jython/InstrumentedPyInstance.java
src/net/grinder/engine/process/jython/InstrumentedPyReflectedFunction.java
This might not be the only problem though and I'm not sure what will be a good way to get around this given the error in the stack trace.
The Grinder 3.2 does not support Jython 2.5.
This support is likely to be added in The Grinder 3.3.