From: Mahesh M. <mah...@ya...> - 2008-04-17 09:43:36
|
All of a sudden Marathon 1.0 has started throwing the following NoClassDefFoundError: java.lang.NoClassDefFoundError: org/python/parser/ast/exprType at org.python.parser.JJTPythonGrammarState.<init>(Unknown Source) at org.python.parser.PythonGrammar.<init>(Unknown Source) at org.python.parser.PythonGrammar.<init>(Unknown Source) at org.python.core.parser.parse(Unknown Source) at org.python.core.Py.compile_flags(Unknown Source) at org.python.core.Py.compile_flags(Unknown Source) at org.python.util.PythonInterpreter.exec(PythonInterpreter.java) at net.sourceforge.marathon.runtime.python.PythonScript.clearModuleDefinitions(PythonScript.java:272) at net.sourceforge.marathon.runtime.python.PythonScript.loadScript(PythonScript.java:182) at net.sourceforge.marathon.runtime.python.PythonScript.<init>(PythonScript.java:164) at net.sourceforge.marathon.runtime.JavaRuntime.createScript(JavaRuntime.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at net.ladypleaser.rmilite.impl.RemoteInvocationHandlerImpl.invoke(RemoteInvocationHandlerImpl.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Due to this error the application was not getting launched. To resolve this error we downloaded the latest jython.jar from sourceforge and replaced the old jar with the new jar. Now, the NoClassDefFoundError got resolved and we could launch the application. However, as soon as the application got launched a new error was thrown, as given below: Exception in thread "Python Playback Thread" Traceback (innermost last): File "C:\users\my_project\marathon\marathon.jar\libpy/marathon/playback.py", line 25, in execTest File "C:\users\my_project\marathon\marathon.jar\libpy/marathon/results.py", line 14, in callprotected File "C:\users\my_project\bvt\TestCases\Add_Entry_term_rel.py", line 8, in test File "C:\users\my_project\marathon\marathon.jar\libpy/marathon/playback.py", line 41, in window File "C:\users\my_project\marathon\Support\jython-2.1\Lib\javaos.py", line 32, in ? File "C:\users\my_project\marathon\Support\jython-2.1\Lib\re.py", line 7, in ? File "C:\users\my_project\marathon\Support\jython-2.1\Lib\sre.py", line 17, in ? File "C:\users\my_project\marathon\Support\jython-2.1\Lib\sre_compile.py", line 15, in ? AssertionError: SRE module mismatch --------------------------------- Bollywood, fun, friendship, sports and more. You name it, we have it. |