Service Virtualization

  • 1.  Error when opening VSM from project created using .mar file

    Posted Apr 16, 2018 01:14 PM
      |   view attached

    Issue: I’m getting the below error when I tried to open the VSM for a newly created project in workstation through the .mar file that has been downloaded from Portal VSE. Am I missing any steps here ?

     

     

    Error Message: Error loading VS Model document: Missing VSE data protocol handler class.

     

    Full track trace:

    ============================================================================
    | Exception:
    ============================================================================
    | Step: data protocol
    ----------------------------------------------------------------------------
    | Message: Missing VSE data protocol handler class.
    ----------------------------------------------------------------------------
    | Trapped Exception: com.sunlifepoc.SunLifeRequestDPH
    | Trapped Message: java.lang.ClassNotFoundException: com.sunlifepoc.SunLifeRequestDPH
    ----------------------------------------------------------------------------
    STACK TRACE
    java.lang.ClassNotFoundException: com.sunlifepoc.SunLifeRequestDPH
    at com.itko.lisa.vse.stateful.common.DataProtocolFilter.getDataProtocolInstance(DataProtocolFilter.java:115)
    at com.itko.lisa.vse.stateful.common.DataProtocolFilter.initialize(DataProtocolFilter.java:296)
    at com.itko.lisa.test.FilterBaseImpl.filterFactory(FilterBaseImpl.java:381)
    at com.itko.lisa.test.FilterBaseImpl.loadFilters(FilterBaseImpl.java:335)
    at com.itko.lisa.test.TestNode.baseInit(TestNode.java:1699)
    at com.itko.lisa.test.TestNode.nodeFactory(TestNode.java:1634)
    at com.itko.lisa.test.TestNode.loadNodes(TestNode.java:1610)
    at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1507)
    at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1346)
    at com.itko.lisa.editor.TestCaseInfo.createTestCase(TestCaseInfo.java:323)
    at com.itko.lisa.editor.TestCaseEditor$1.doCallback(TestCaseEditor.java:305)
    at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)
    at java.lang.Thread.run(Thread.java:745)
    ============================================================================


    at com.itko.lisa.vse.stateful.common.DataProtocolFilter.initialize(DataProtocolFilter.java:299)
    at com.itko.lisa.test.FilterBaseImpl.filterFactory(FilterBaseImpl.java:381)
    at com.itko.lisa.test.FilterBaseImpl.loadFilters(FilterBaseImpl.java:335)
    at com.itko.lisa.test.TestNode.baseInit(TestNode.java:1699)
    at com.itko.lisa.test.TestNode.nodeFactory(TestNode.java:1634)
    at com.itko.lisa.test.TestNode.loadNodes(TestNode.java:1610)
    at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1507)
    at com.itko.lisa.test.TestCase.loadTestCase(TestCase.java:1346)
    at com.itko.lisa.editor.TestCaseInfo.createTestCase(TestCaseInfo.java:323)
    at com.itko.lisa.editor.TestCaseEditor$1.doCallback(TestCaseEditor.java:305)
    at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)
    at java.lang.Thread.run(Thread.java:745)



  • 2.  Re: Error when opening VSM from project created using .mar file
    Best Answer

    Broadcom Employee
    Posted Apr 16, 2018 01:31 PM

    It looks like the model is using a custom DataProtocolHandler named com.sunlifepoc.SunLifeRequestDPH

     

    This would be available in a jar file in the hot deploy folder on the VSE server - which will need to be copied to the hot deploy folder of your workstation before you can open the model



  • 3.  Re: Error when opening VSM from project created using .mar file

    Posted Apr 17, 2018 09:58 AM

    Perfect. It worked. Thank you Prem. Appreciate much!