From: Mahesh M. <mah...@ya...> - 2008-05-05 08:02:48
|
What if my application also includes Jython and the jar has different directory structure than one bundled with Marathon. Which jython.jar will be referenced in this case? Regards, - Mahesh --- On Thu, 17/4/08, Dakshinamurthy Karra <tec...@gm...> wrote: From: Dakshinamurthy Karra <tec...@gm...> Subject: Re: [Marathonman-devel] Marathon 1.0 throwing NoClassDefFoundError To: "Discussions on Marathon development" <mar...@li...> Date: Thursday, 17 April, 2008, 4:53 PM Can you download the latest version and try it out. Marathon bundle includes Jython and I am not sure whether upgrading Jython that way works. -- KD PS: This list is more or less inactive. Please move the discussion to the help forum. On Thu, Apr 17, 2008 at 3:04 PM, Mahesh More <mah...@ya...> wrote: > 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. > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Marathonman-devel mailing list > Mar...@li... > https://lists.sourceforge.net/lists/listinfo/marathonman-devel > -- Dakshinamurthy Karra (http://blog.jaliansystems.com) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Marathonman-devel mailing list Mar...@li... https://lists.sourceforge.net/lists/listinfo/marathonman-devel Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/ |