Service Virtualization

 View Only

 Complex object editor error in ITR

Jump to  Best Answer
Razvan Georgescu's profile image
Razvan Georgescu posted Dec 06, 2023 07:19 PM

Hi again, thanks for the help last time

I have a new issue now and i feel like the weirdest thing is happening to me and I cannot figure it out.

So I do have a **** example of a call which works perfectly in workstation, and can even be deployed.

The issues, seem to be when I'm using ITR to play around workstation, when I automate the execution and make an example call through it.. it works on postman side and after a bit and moving down the steps i get the response BUT on the ITR side a complex object editor error pops up, and what's even more frustrating is that there's nothing I can do do view the logs or click on any steps from the execution history, because that complex object editor error keeps popping up.

I tried deploying this to the VSE also, and that works. So it seems to be only JAVA related on workstation app side, no idea how to fix

Here's the full stack of it

============================================================================
| Exception: 
============================================================================
| Message:     Exception in getAvailableCalls() for  SerialNum=16, of class java.util.ArrayList ****=false iscomp=true array=false value=[TransientResponse{binary=false, body={"status":"SUCCESS","data":{"store":{"book":[{"category":"{{=request_store_book_0_category;/*reference*/}}","author":"{{=request_store_book_0_author;/*Nigel Rees*/}}","title":"{{=request_store_book_0_title;/*Sayings of the Century*/}}","price":{{=request_store_book_0_price;/*8.95*/}}},{"category":"{{=request_store_book_1_category;/*fiction*/}}","author":"{{=request_store_book_1_author;/*Evelyn Waugh*/}}","title":"{{=request_store_book_1_title;/*Sword of Honour*/}}","price":{{=request_store_book_1_price;/*12.99*/}}},{"category":"{{=request_store_book_1_category;/*fiction*/}}","author":"{{=request_store_book_2_author;/*Herman Melville*/}}","title":"{{=request_store_book_2_title;/*Moby Dick*/}}","isbn":"{{=request_store_book_2_isbn;/*0-553-21311-3*/}}","price":{{=request_store_book_2_price;/*8.99*/}}},{"category":"{{=request_store_book_1_category;/*fiction*/}}","author":"{{=request_store_book_3_author;/*J. R. R. Tolkien*/}}","title":"{{=request_store_book_3_title;/*The Lord of the Rings*/}}","isbn":"{{=request_store_book_3_isbn;/*0-395-19395-8*/}}","price":{{=request_store_book_3_price;/*22.99*/}}}],"bicycle":{"color":"{{=request_store_bicycle_color;/*red*/}}","price":{{=request_store_bicycle_price;/*19.95*/}}}}}}, charset=UTF-8, metaData=HTTP-Version=HTTP/1.1&HTTP-Response-Code=200&HTTP-Response-Code-Text=OK&server=uvicorn&content-length=494&content-type=application/json&Date={{=httpNow()}}, transaction=null}]
----------------------------------------------------------------------------
| Trapped Exception: com.thoughtworks.qdox.model.JavaMethod.setParameters([Lcom/thoughtworks/qdox/model/JavaParameter;)V
| Trapped Message:   java.lang.NoSuchMethodError: com.thoughtworks.qdox.model.JavaMethod.setParameters([Lcom/thoughtworks/qdox/model/JavaParameter;)V
----------------------------------------------------------------------------
STACK TRACE
java.lang.NoSuchMethodError: com.thoughtworks.qdox.model.JavaMethod.setParameters([Lcom/thoughtworks/qdox/model/JavaParameter;)V
	at com.itko.util.javadoc.MethodDoc.checkForOldMethodInfoNeed(MethodDoc.java:79)
	at com.itko.util.javadoc.MethodDoc.<init>(MethodDoc.java:33)
	at com.itko.lisa.dynexec.CallAvailable.getMethodInfo(CallAvailable.java:115)
	at com.itko.lisa.dynexec.CallAvailable.toDisplayString(CallAvailable.java:185)
	at com.itko.lisa.dynexec.ComplexObj.getAvailableCalls(ComplexObj.java:389)
	at com.itko.lisa.dynexec.ComplexObjEditor.doAvailableCallList(ComplexObjEditor.java:723)
	at com.itko.lisa.dynexec.ComplexObjEditor.handleSelectionChange(ComplexObjEditor.java:567)
	at com.itko.lisa.dynexec.ComplexObjEditor.renderRealEditor(ComplexObjEditor.java:272)
	at com.itko.lisa.dynexec.ComplexObjEditor.setup(ComplexObjEditor.java:177)
	at com.itko.lisa.dynexec.ComplexObjEditor.setObject(ComplexObjEditor.java:113)
	at com.itko.lisa.dynexec.ComplexObjEditor.setObject(ComplexObjEditor.java:105)
	at com.itko.lisa.dynexec.ViewObjResult.setResult(ViewObjResult.java:90)
	at com.itko.lisa.gui.ViewResultMasterPanel.refresh(ViewResultMasterPanel.java:359)
	at com.itko.lisa.editor.WalkThruPanel.setSelectedNode(WalkThruPanel.java:707)
	at com.itko.lisa.editor.NodeListPanel$2.valueChanged(NodeListPanel.java:185)
	at javax.swing.JList.fireSelectionValueChanged(JList.java:1802)
	at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1816)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
	at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
	at javax.swing.JList.setSelectionInterval(JList.java:2071)
	at javax.swing.plaf.basic.BasicListUI$Handler.adjustSelection(BasicListUI.java:2739)
	at javax.swing.plaf.basic.BasicListUI$Handler.mousePressed(BasicListUI.java:2695)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
	at java.awt.Component.processMouseEvent(Component.java:6536)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6304)
	at java.awt.Container.processEvent(Container.java:2239)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2297)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
	at java.awt.Container.dispatchEventImpl(Container.java:2283)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:733)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
============================================================================


	at com.itko.lisa.dynexec.ComplexObj.getAvailableCalls(ComplexObj.java:416)
	at com.itko.lisa.dynexec.ComplexObjEditor.doAvailableCallList(ComplexObjEditor.java:723)
	at com.itko.lisa.dynexec.ComplexObjEditor.handleSelectionChange(ComplexObjEditor.java:567)
	at com.itko.lisa.dynexec.ComplexObjEditor.renderRealEditor(ComplexObjEditor.java:272)
	at com.itko.lisa.dynexec.ComplexObjEditor.setup(ComplexObjEditor.java:177)
	at com.itko.lisa.dynexec.ComplexObjEditor.setObject(ComplexObjEditor.java:113)
	at com.itko.lisa.dynexec.ComplexObjEditor.setObject(ComplexObjEditor.java:105)
	at com.itko.lisa.dynexec.ViewObjResult.setResult(ViewObjResult.java:90)
	at com.itko.lisa.gui.ViewResultMasterPanel.refresh(ViewResultMasterPanel.java:359)
	at com.itko.lisa.editor.WalkThruPanel.setSelectedNode(WalkThruPanel.java:707)
	at com.itko.lisa.editor.NodeListPanel$2.valueChanged(NodeListPanel.java:185)
	at javax.swing.JList.fireSelectionValueChanged(JList.java:1802)
	at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1816)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
	at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
	at javax.swing.JList.setSelectionInterval(JList.java:2071)
	at javax.swing.plaf.basic.BasicListUI$Handler.adjustSelection(BasicListUI.java:2739)
	at javax.swing.plaf.basic.BasicListUI$Handler.mousePressed(BasicListUI.java:2695)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
	at java.awt.Component.processMouseEvent(Component.java:6536)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6304)
	at java.awt.Container.processEvent(Container.java:2239)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2297)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
	at java.awt.Container.dispatchEventImpl(Container.java:2283)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:733)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Premalatha Gadde's profile image
Broadcom Employee Premalatha Gadde  Best Answer

This issue is being caused because of the inclusion of additional JAR qdox-1.12.1.jar in DevTest_HOME/lib/shared/ folder after an internal framework upgrade in 10.7.2.

As the qdox-1.12.1.jar is not being used in the product, remove it from DevTest_HOME/lib/shared/qdox-1.12.1.jar in Workstation machine and restarting Workstation should resolve the issue.