Service Virtualization

 View Only

Error While Staging Test Case

  • 1.  Error While Staging Test Case

    Posted Mar 06, 2015 09:08 AM

    I am getting below error when i stage test case to coordinator running in server. Could you please help me on this?

    Note: In local it's running without any error

     

    Error Message:

    Exception initializing test: No such field com.itko.lisa.test.TestCase.docRoot

    ---- Debugging information ----

    field               : docRoot

    class               : com.itko.lisa.test.TestCase

    required-type       : com.itko.lisa.test.TestCase

    converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter

    path                : /com.itko.lisa.test.TestCase/docRoot

    line number         : 103

    version             : null

    -------------------------------

     

    Stack Trace:

    com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: No such field com.itko.lisa.test.TestCase.docRoot

    ---- Debugging information ----

    field               : docRoot

    class               : com.itko.lisa.test.TestCase

    required-type       : com.itko.lisa.test.TestCase

    converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter

    path                : /com.itko.lisa.test.TestCase/docRoot

    line number         : 71

    version             : null

    -------------------------------

      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.determineType(AbstractReflectionConverter.java:453)

      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:294)

      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:234)

      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)

      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)

      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)

      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)

      at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)

      at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)

      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1052)

      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1036)

      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:912)

      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:903)

      at com.itko.util.SerialBox.readResolve(SerialBox.java:140)

      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.invokeReadResolve(Unknown Source)

      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)

      at java.io.ObjectInputStream.readObject0(Unknown Source)

      at java.io.ObjectInputStream.readObject(Unknown Source)

      at com.itko.activemq.command.ActiveMQObjectMessage.getObject(ActiveMQObjectMessage.java:184)

      at com.itko.lisa.net.MessageHandler.getObjectFromMessageSerialize(MessageHandler.java:240)

      at com.itko.lisa.net.MessageHandler.getObjectFromMessage(MessageHandler.java:113)

      at com.itko.lisa.net.Transactor.transact(Transactor.java:114)

      at com.itko.lisa.net.ClientBase.transact(ClientBase.java:323)

      at com.itko.lisa.net.ClientBase.invokeMethod(ClientBase.java:238)

      at com.itko.lisa.net.ClientBase.invokeMethod(ClientBase.java:212)

      at com.itko.lisa.net.TestCoordinatorClient.getTestCase(TestCoordinatorClient.java:53)

      at com.itko.lisa.gui.TestRunPanel.setup(TestRunPanel.java:579)

      at com.itko.lisa.gui.TestRunPanel.commonInit(TestRunPanel.java:174)

      at com.itko.lisa.gui.TestRunPanel.crankUpTest(TestRunPanel.java:154)

      at com.itko.lisa.gui.TestRunPanel.<init>(TestRunPanel.java:110)

      at com.itko.lisa.gui.LisaMainPanelSwing.showCoordinator(LisaMainPanelSwing.java:780)

      at com.itko.lisa.gui.StageTestSupport.stage(StageTestSupport.java:326)

      at com.itko.lisa.gui.LisaMainPanelSwing.createTestMonitorImp(LisaMainPanelSwing.java:762)

      at com.itko.lisa.gui.LisaMainPanelBase.createTestMonitor(LisaMainPanelBase.java:889)

      at com.itko.lisa.gui.ProjectTreePanel.stageTest(ProjectTreePanel.java:2027)

      at com.itko.lisa.gui.ProjectTreePanel.access$2200(ProjectTreePanel.java:203)

      at com.itko.lisa.gui.ProjectTreePanel$17.doFileAction(ProjectTreePanel.java:1971)

      at com.itko.lisa.gui.ProjectTreePanel$FileAction.doFileAction(ProjectTreePanel.java:2412)

      at com.itko.lisa.gui.ProjectTreePanel$FileAction.actionPerformed(ProjectTreePanel.java:2408)

      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

      at javax.swing.AbstractButton.doClick(Unknown Source)

      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)

      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)

      at java.awt.Component.processMouseEvent(Unknown Source)

      at javax.swing.JComponent.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.dispatchEventImpl(Unknown Source)

      at java.awt.EventQueue.access$200(Unknown Source)

      at java.awt.EventQueue$3.run(Unknown Source)

      at java.awt.EventQueue$3.run(Unknown Source)

      at java.security.AccessController.doPrivileged(Native Method)

      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

      at java.awt.EventQueue$4.run(Unknown Source)

      at java.awt.EventQueue$4.run(Unknown Source)

      at java.security.AccessController.doPrivileged(Native Method)

      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

      at java.awt.EventQueue.dispatchEvent(Unknown Source)

      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

      at java.awt.EventDispatchThread.pumpEventsForFilter(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)

     

    In Workstation log i am able to see below message:

    2015-03-06 14:02:41,425Z (09:02) [AWT-EventQueue-0] WARN  com.itko.lisa.gui.ProjectTreePanel - Unable to delete temporary mari file