Service Virtualization

 View Only
  • 1.  Custom Filter causing Error in Data Protocol Filter

    Posted Sep 04, 2017 03:48 AM
      |   view attached

    Hi ,


    I have created a custom filter to export a LASTRESRESPONE (xml format) to Excel file. It is working fine as filter but it is creating problem in using Data Protocol Filter.

    I am unable to open the Data Protocol Filter while custom filter jar is in bin folder.  Once I remove the jar from bin. filter is working fine as expected.


    Please help me in understanding what I am missing in custom filter.


    Getting below error in workstation.log:

    [ProcDlgThreadCallbk@7c93585c] ERROR com.itko.lisa.editor.AssertControllerBase - Cannot discover custom parameters
    java.lang.NoClassDefFoundError: eu/vahlas/json/schema/JSONSchemaProvider
     at java.lang.Class.getDeclaredConstructors0(Native Method)
     at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
     at java.lang.Class.getConstructor0(Unknown Source)
     at java.lang.Class.newInstance(Unknown Source)
     at com.itko.lisa.editor.AssertControllerBase.calcParametersForNewType(
     at com.itko.lisa.editor.AssertControllerBase.setType(
     at com.itko.lisa.editor.Intersections.makeControllerForTcClass(
     at com.itko.lisa.editor.Intersections.preloadControllers(
     at com.itko.lisa.editor.Intersections.<init>(
     at com.itko.lisa.editor.AssertControllerBase.<clinit>(
     at com.itko.lisa.editor.TestCaseInfo.initFromTestCase(
     at com.itko.lisa.editor.TestCaseInfo.initFromScratchTestCase(
     at com.itko.lisa.editor.TestCaseInfo.<init>(
     at com.itko.lisa.editor.TestCaseInfo.createTestCaseInfo(
     at com.itko.lisa.editor.TestCaseEditor$2.doCallback(
     at com.itko.util.swing.panels.ProcessingDialog$
     at Source)
    Caused by: java.lang.ClassNotFoundException: eu.vahlas.json.schema.JSONSchemaProvider
     at$ Source)
     at$ Source)
     at Method)
     at Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     ... 17 more


    PFA complete log file.


    zip   2 KB 1 version

  • 2.  Re: Custom Filter causing Error in Data Protocol Filter

    Broadcom Employee
    Posted Sep 04, 2017 11:10 PM

    Hi Dinesh,

        Can you please try by copying this custom jar to Devtest_home/lib/shared folder and restart the workstation. 



    Srikanth Gajawada

  • 3.  Re: Custom Filter causing Error in Data Protocol Filter

    Posted Sep 06, 2017 02:53 PM



    It is working fine now, there is a issue with the custom protocol code.




    Dinesh Kumar