Login | Register
My pages Projects Community openCollabNet

Discussions > users > "Invalid method Code length ...." on test replay

maxq
Discussion topic

Back to topic list

"Invalid method Code length ...." on test replay

Author knobi
Full name Martin Knoblauch
Date 2006-01-18 02:12:41 PST
Message Hi,

 when replaying a test-recording I get the following Java trace.
apparently something is to big. If I strip down the recording to just
one or two HTTP request, evwerything is fine. Questions:

- has this be seen before
- are there known limits to the size of maxq recordings (this was just
a small test :-)
- any ideas on a fix/workaround

 I am using jdk 1.5.0_05 on Fedora FC4.

Cheers
Martin


[mknoblau@l15833 maxq-0.98]$ bin/maxq -r test1.py
Jan 18, 2006 11:05:51 AM com.bitmechanic.maxq.Main runTests
INFO: Running: test1.py
Traceback (innermost last):
  (no code object) at line 0
java.lang.ClassFormatError: Invalid method Code length 86531 in class
file org/python/pycode/_pyx0
        at java.lang.ClassLoade​r.defineClass1(Nativ​e Method)
        at java.lang.ClassLoade​r.defineClass(ClassL​oader.java:620)
        at
org.python.core.Byte​codeLoader2.loadClas​sFromBytes(BytecodeL​oader2.java)
        at
org.python.core.Byte​codeLoader.makeClass​(BytecodeLoader.java​)
        at org.python.core.Byte​codeLoader.makeCode(​BytecodeLoader.java)​
        at org.python.core.Py.c​ompile_flags(Py.java​)
        at org.python.core.Py.c​ompile_flags(Py.java​)
        at org.python.core.__bu​iltin__.execfile_fla​gs(__builtin__.java)​
        at
org.python.util.Pyth​onInterpreter.execfi​le(PythonInterpreter​.java)
        at com.bitmechanic.maxq​.Main.runTests(Main.​java:209)
        at com.bitmechanic.maxq​.Main.main(Main.java​:143)

java.lang.ClassFormatError: java.lang.ClassFormatError: Invalid method
Code length 86531 in class file org/python/pycode/_pyx0
[mknoblau@l15833 maxq-0.98]$

--------------------​--------------------​--------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de
Attachments

« Previous message in topic | 1 of 2 | Next message in topic »

Messages

Show all messages in topic

"Invalid method Code length ...." on test replay knobi Martin Knoblauch 2006-01-18 02:12:41 PST
     Re: [maxq-users] "Invalid method Code length ...." on test replay oliverbock Oliver Bock 2006-01-18 13:41:44 PST
Messages per page: