Error handling selection change Exception in getAvailableCalls while running VS in ITR mode (qdox.model)
search cancel

Error handling selection change Exception in getAvailableCalls while running VS in ITR mode (qdox.model)

book

Article ID: 238699

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

When we are running VS in ITR mode getting below error pop ups.


----------------------------------------------------------------------------
| 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.setSelectedIndex(JList.java:2216)
 at com.itko.lisa.editor.NodeListPanel.moveList(NodeListPanel.java:551)
 at com.itko.lisa.editor.WalkThruPanel.executeNextNode(WalkThruPanel.java:1045)
 at com.itko.lisa.editor.NodeListPanel$3.run(NodeListPanel.java:228)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
 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.awt.EventQueue.dispatchEvent(EventQueue.java:728)
 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)
============================================================================

Environment

Release : 10.7.2

Component : DevTest Workstation

Cause

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.

Resolution

Since this JAR is not being used in the product, remove LISA_HOME/lib/shared/qdox-1.12.1.jar in Workstation and Server installations and restart all DevTest components.