Greetings,
I have selected more than 1000 testcases for testing purpose and put entry
into STAX Job under which entire testing process is written. When I have
tried to run the STAX Job with the help of STAXMon.jar then I got the
exception at the compilation time. The occurred exception is given under the
<Snip>...</End> section.
These type of exception doesn't occur in case of selecting less than nearly
1000 test cases for testing purpose.
Please provide the solution for this.
1000 test cases is not exact. It varies between 900 to 1100.
<Snip>
Traceback (innermost last):
(no code object) at line 0
java.lang.ClassFormatError: Invalid method Code length 66159 in class
file org/python/pycode/_pyx723
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.python.core.BytecodeLoader2.loadClassFromBytes(BytecodeLoader2.java)
at org.python.core.BytecodeLoader.makeClass(BytecodeLoader.java)
at org.python.core.BytecodeLoader.makeCode(BytecodeLoader.java)
at org.python.core.Py.compile_flags(Py.java)
at org.python.core.Py.compile_flags(Py.java)
at org.python.core.Py.compile_flags(Py.java)
at org.python.core.__builtin__.compile(__builtin__.java)
at
com.ibm.staf.service.stax.STAXUtil.compileForPython(STAXUtil.java:193)
at
com.ibm.staf.service.stax.STAXUtil.parseAndCompileForPython(STAXUtil.jav
a:46)
at
com.ibm.staf.service.stax.STAXScriptActionFactory.parseAction(STAXScript
ActionFactory.java:62)
at
com.ibm.staf.service.stax.STAXParser.parse(STAXParser.java:89)
at com.ibm.staf.service.stax.STAX.execute(STAX.java:1294)
at com.ibm.staf.service.stax.STAX.handleExecute(STAX.java:1227)
at com.ibm.staf.service.stax.STAX.acceptRequest(STAX.java:1129)
at
com.ibm.staf.service.STAFServiceHelper.callService(STAFServiceHelper.jav
a:349)
java.lang.ClassFormatError: java.lang.ClassFormatError: Invalid method
Code length 66159 in class file org/python/pycode/_pyx723
EXECUTE file :54:C:\AutomatedTestSystemFiles\STAXJobOnMachineABNISH.xml
TEST
</End>
Please let me know why this exception is occurred? What are the possible
solutions to avoid this situation and running more than 1000 test cases at a
time.
Can we execute 10000 test cases at a time?
With best regards,
Mohammad Shahid Jamal
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users