search cancel

Error loading Test Case document: Error constructing companion from definition

book

Article ID: 257009

calendar_today

Updated On:

Products

CA Application Test

Issue/Introduction

We are unable to Open test case due to below error:

Error loading Test Case document: Error constructing companion from definition 

============================================================================
| Exception: 
============================================================================
| Message:     Error constructing companion from definition 
----------------------------------------------------------------------------
| Trapped Exception: com.itko.lisa.test.PropReaderCompanion
| Trapped Message:   java.lang.ClassNotFoundException: com.itko.lisa.test.PropReaderCompanion
----------------------------------------------------------------------------
STACK TRACE
java.lang.ClassNotFoundException: com.itko.lisa.test.PropReaderCompanion
 at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
 at com.itko.lisa.test.CompanionSupport.factory(CompanionSupport.java:191)
 at com.itko.lisa.test.CompanionSupport.loadCompanions(CompanionSupport.java:83)
 at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1514)
 at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1355)
 at com.itko.lisa.editor.TestCaseInfo.createTestCase(TestCaseInfo.java:303)
 at com.itko.lisa.editor.TestCaseEditor$1.doCallback(TestCaseEditor.java:336)
 at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:195)
 at java.lang.Thread.run(Thread.java:748)
============================================================================


 at com.itko.lisa.test.CompanionSupport.factory(CompanionSupport.java:201)
 at com.itko.lisa.test.CompanionSupport.loadCompanions(CompanionSupport.java:83)
 at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1514)
 at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1355)
 at com.itko.lisa.editor.TestCaseInfo.createTestCase(TestCaseInfo.java:303)
 at com.itko.lisa.editor.TestCaseEditor$1.doCallback(TestCaseEditor.java:336)
 at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:195)
 at java.lang.Thread.run(Thread.java:748)

 

Environment

Release :

Resolution

It looks like your customized companion jars are not included in 10.7.2 version. Please include corresponding jars for the customized companions into Devtest lib folder and restart the components.