ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Unable to open .vsm file in Devtest workstation

book

Article ID: 213219

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

When we try to open the vsm in a project in Workstation - it gives the following error

============================================================================
| Exception: 
============================================================================
| Step: Filter
----------------------------------------------------------------------------
| Message: Error creating result 
----------------------------------------------------------------------------
| Trapped Exception: lisa.test.filter.CustomParseFilter
| Trapped Message: java.lang.ClassNotFoundException: com.lisa.test.filter.CustomParseFilter
----------------------------------------------------------------------------
STACK TRACE
java.lang.ClassNotFoundException: com.lisa.test.filter.CustomParseFilter
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.itko.lisa.test.FilterBaseImpl.makeFilter(FilterBaseImpl.java:364)
at com.itko.lisa.test.FilterBaseImpl.filterFactory(FilterBaseImpl.java:383)
at com.itko.lisa.test.FilterBaseImpl.loadFilters(FilterBaseImpl.java:339)
at com.itko.lisa.test.TestNode.baseInit(TestNode.java:1789)
at com.itko.lisa.test.TestNode.nodeFactory(TestNode.java:1724)
at com.itko.lisa.test.TestNode.loadNodes(TestNode.java:1700)
at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1516)
at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1355)
at com.itko.lisa.editor.TestCaseInfo.createTestCase(TestCaseInfo.java:293)
at com.itko.lisa.editor.TestCaseEditor$1.doCallback(TestCaseEditor.java:349)
at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:195)
at java.lang.Thread.run(Thread.java:745)
============================================================================
 

at com.itko.lisa.test.FilterBaseImpl.filterFactory(FilterBaseImpl.java:394)
at com.itko.lisa.test.FilterBaseImpl.loadFilters(FilterBaseImpl.java:339)
at com.itko.lisa.test.TestNode.baseInit(TestNode.java:1789)
at com.itko.lisa.test.TestNode.nodeFactory(TestNode.java:1724)
at com.itko.lisa.test.TestNode.loadNodes(TestNode.java:1700)
at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1516)
at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1355)
at com.itko.lisa.editor.TestCaseInfo.createTestCase(TestCaseInfo.java:293)
at com.itko.lisa.editor.TestCaseEditor$1.doCallback(TestCaseEditor.java:349)
at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:195)
at java.lang.Thread.run(Thread.java:745)

 

Environment

Release : 10.3

Component : CA Service Virtualization

Resolution

It looks like, virtual service (vsm file) which you are trying to open is using custom filter ( com.lisa.test.filter.CustomParseFilter) with-in the vsm.

Because of this, you are getting an error.

    Copy the required jars used by this custom filter to Devtest/lib/shared folder and then verify from workstation.