From: Peter W. <pw...@ad...> - 2004-08-20 06:39:31
|
I thought it would be reasonable to "escalate" this one to the list because a few of us newbies are seeing this same problem. The thread is at: http://sourceforge.net/forum/forum.php?thread_id=1129475&forum_id=152821 The relevant error message is: "RemoteInvocationException: error invoking startApplication: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: java.lang.IllegalStateException: Jython interpreter state not initialized. You need to call PYSystemState.initialize or PythonInterpreter.initialize." This appears when one attempts to start the application under test from the Marathon record/playback application. Any hints as to what that means? --Peter pw...@ad... |
From: Dakshinamurthy K. <tec...@gm...> - 2004-08-20 07:07:20
|
On Thu, 19 Aug 2004 23:39:21 -0700, Peter White <pw...@ad...> wrote: > I thought it would be reasonable to "escalate" this one to the list > because a few of us newbies are seeing this same problem. The thread is > at: http://sourceforge.net/forum/forum.php?thread_id=1129475&forum_id=152821 > I tried Marathon with different options and setting it up for different applications. Unfortunately, I am not able to simulate the problem :( > The relevant error message is: > "RemoteInvocationException: error invoking startApplication: > java.rmi.UnmarshalException: Error unmarshaling return; nested exception > is: java.lang.IllegalStateException: Jython interpreter state not > initialized. You need to call PYSystemState.initialize or > PythonInterpreter.initialize." > > This appears when one attempts to start the application under test from > the Marathon record/playback application. > Can you run marathon with -i option along with the MPF and see what it is printing on the console window (-i option is ignored by Marathon and used only to start Marathon in graphical mode with java instead of javaw). That might throw some light on what is happening. The error happens when an exception is thrown from the application - unfortunately, RMI obsucres the exception message. Hopefully, we can see the message on the console window. |
From: Peter W. <pw...@ad...> - 2004-08-20 07:27:53
|
Here is the trace. Hope that helps. --Peter ----------------------------------------------------------- $ ./marathon.bat -i net.ladypleaser.rmilite.RemoteInvocationException: error invoking startApplicati on: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: java.lang.IllegalStateException: Jython interpreter state not initialize d. You need to call PySystemState.initialize or PythonInterpreter.initialize. at net.ladypleaser.rmilite.RemoteInvocationException.rethrow(RemoteInvoc ationException.java:47) at net.ladypleaser.rmilite.impl.LocalInvocationHandlerImpl.invokeRemote( LocalInvocationHandlerImpl.java:58) at net.ladypleaser.rmilite.impl.LocalInvocationHandlerImpl.invoke(LocalI nvocationHandlerImpl.java:41) at $Proxy1.startApplication(Unknown Source) at net.sourceforge.marathon.runtime.JavaRuntimeLeash.startApplication(Ja vaRuntimeLeash.java:124) at net.sourceforge.marathon.display.Display.startApplicationIfNecessary( Display.java:146) at net.sourceforge.marathon.display.Display.openApplication(Display.java :197) at net.sourceforge.marathon.display.DisplayWindow$11.actionPerformed(Dis playWindow.java:136) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow n Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour ce) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at net.sourceforge.marathon.display.DisplayEventQueue.dispatchEvent(Disp layEventQueue.java:23) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.rmi.UnmarshalException: Error unmarshaling return; nested except ion is: java.lang.IllegalStateException: Jython interpreter state not initialize d. You need to call PySystemState.initialize or PythonInterpreter.initialize. at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at net.ladypleaser.rmilite.impl.RemoteInvocationHandlerImpl_Stub.invoke( Unknown Source) at net.ladypleaser.rmilite.impl.LocalInvocationHandlerImpl.invokeRemote( LocalInvocationHandlerImpl.java:53) ... 31 more Caused by: java.lang.IllegalStateException: Jython interpreter state not initial ized. You need to call PySystemState.initialize or PythonInterpreter.initialize. at org.python.core.InternalTables.createInternalTables(InternalTables.ja va) at org.python.core.PyJavaClass.lookup(PyJavaClass.java) at org.python.core.PyObject.readObject(PyObject.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at java.io.ObjectStreamClass.invokeReadObject(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) ... 35 more caused by: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: java.lang.IllegalStateException: Jython interpreter state not initialize d. You need to call PySystemState.initialize or PythonInterpreter.initialize. at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at net.ladypleaser.rmilite.impl.RemoteInvocationHandlerImpl_Stub.invoke( Unknown Source) at net.ladypleaser.rmilite.impl.LocalInvocationHandlerImpl.invokeRemote( LocalInvocationHandlerImpl.java:53) at net.ladypleaser.rmilite.impl.LocalInvocationHandlerImpl.invoke(LocalI nvocationHandlerImpl.java:41) at $Proxy1.startApplication(Unknown Source) at net.sourceforge.marathon.runtime.JavaRuntimeLeash.startApplication(Ja vaRuntimeLeash.java:124) at net.sourceforge.marathon.display.Display.startApplicationIfNecessary( Display.java:146) at net.sourceforge.marathon.display.Display.openApplication(Display.java :197) at net.sourceforge.marathon.display.DisplayWindow$11.actionPerformed(Dis playWindow.java:136) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow n Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour ce) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at net.sourceforge.marathon.display.DisplayEventQueue.dispatchEvent(Disp layEventQueue.java:23) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.IllegalStateException: Jython interpreter state not initial ized. You need to call PySystemState.initialize or PythonInterpreter.initialize. at org.python.core.InternalTables.createInternalTables(InternalTables.ja va) at org.python.core.PyJavaClass.lookup(PyJavaClass.java) at org.python.core.PyObject.readObject(PyObject.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at java.io.ObjectStreamClass.invokeReadObject(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) ... 35 more Dakshinamurthy Karra wrote: > On Thu, 19 Aug 2004 23:39:21 -0700, Peter White <pw...@ad...> wrote: > >>I thought it would be reasonable to "escalate" this one to the list >>because a few of us newbies are seeing this same problem. The thread is >>at: http://sourceforge.net/forum/forum.php?thread_id=1129475&forum_id=152821 >> > > > I tried Marathon with different options and setting it up for > different applications. Unfortunately, I am not able to simulate the > problem :( > > >>The relevant error message is: >>"RemoteInvocationException: error invoking startApplication: >>java.rmi.UnmarshalException: Error unmarshaling return; nested exception >>is: java.lang.IllegalStateException: Jython interpreter state not >>initialized. You need to call PYSystemState.initialize or >>PythonInterpreter.initialize." >> >>This appears when one attempts to start the application under test from >>the Marathon record/playback application. >> > > > Can you run marathon with -i option along with the MPF and see what it > is printing on the console window (-i option is ignored by Marathon > and used only to start Marathon in graphical mode with java instead of > javaw). That might throw some light on what is happening. > > The error happens when an exception is thrown from the application - > unfortunately, RMI obsucres the exception message. Hopefully, we can > see the message on the console window. > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Marathonman-devel mailing list > Mar...@li... > https://lists.sourceforge.net/lists/listinfo/marathonman-devel |