Service Virtualization

 View Only
  • 1.  Cannot use playback : com.itko.lisa.xstream.converters.ConversionException

    Posted Jul 15, 2019 07:53 AM
    Hello,

    Using DevTest 10.1, when I want to playback I've got the following error : 
    com.itko.lisa.xstream.converters.ConversionException: Could not call java.security.CodeSource.readObject() : null
    ---- Debugging information ----
    message : Could not call java.security.CodeSource.readObject()
    cause-exception : java.lang.RuntimeException
    cause-message : null
    class : com.sun.jndi.ldap.LdapSearchEnumeration
    required-type : com.sun.jndi.ldap.LdapSearchEnumeration
    path : /com.sun.jndi.ldap.LdapSearchEnumeration/acc/context/java.security.ProtectionDomain/codesource/java.security.CodeSource
    line number : 316
    -------------------------------
    at com.itko.lisa.xstream.converters.reflection.SerializationMethodInvoker.callReadObject(SerializationMethodInvoker.java:98)
    at com.itko.lisa.xstream.converters.reflection.SerializableConverter.doUnmarshal(SerializableConverter.java:411)
    [...]
    Caused by: java.lang.RuntimeException
    at com.itko.lisa.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:96)
    at com.itko.lisa.xstream.io.ReaderWrapper.moveDown(ReaderWrapper.java:36)
    [...]


    How can I solve this error ?

    Best regards,

    Benoit


  • 2.  RE: Cannot use playback : com.itko.lisa.xstream.converters.ConversionException

    Posted Jul 18, 2019 07:57 AM
    Hello,

    Any idea ?

    Best regards,

    Benoit


  • 3.  RE: Cannot use playback : com.itko.lisa.xstream.converters.ConversionException

    Broadcom Employee
    Posted Jul 18, 2019 08:02 AM
    Please share some more details about your VS. (Virtual Service),. If possible, please share the VS MAR file and a test case to invoke the same.

    -Sankar

    ------------------------------
    Sankar Natarajan
    Service Virtualization Product Engineering Team
    Broadcom
    ------------------------------



  • 4.  RE: Cannot use playback : com.itko.lisa.xstream.converters.ConversionException

    Posted Jul 19, 2019 09:43 AM
      |   view attached
    Hello,

    You can find in uploaded files the VS MAR file. 
    The error happens when calling method LdapAccessImpl.getResultatsOptimiseFromRacine() with 2 parameters (request id 115 in devtest workstation).

    In order to bypass the problem, I've deleted tag <java.security.CodeSource> from the response. But it's not good because when I have to re-record the service, I have to clean it again from those tags.

    No test case available, I don't know how to do it. Easy to do ?

    Best regards,

    Benoit

    Attachment(s)

    zip
    ldap.map.zip   67 KB 1 version