search cancel

Unable to run test in 10.7.2 simulator :Error 500 - xstream.converters.ConversionException

book

Article ID: 243401

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Unable to execute few tests in DevTest portal after upgrading to 10.7.2 but able to run the same tests in ITR without any issues. In portal, when the test is run getting  the below error.

Exception: ============================================================================ | Message: Could not stage: Error Initializing Run: Failed calling method ---- Debugging information ---- message : Failed calling method cause-exception : com.thoughtworks.xstream.converters.ConversionException cause-message : Failed calling method method : java.util.Collections$SynchronizedMap.writeObject() ------------------------------- ---------------------------------------------------------------------------- | Trapped Exception: Error Initializing Run: Failed calling method ---- Debugging information ---- message : Failed calling method cause-exception : com.thoughtworks.xstream.converters.ConversionException cause-message : Failed calling method method : java.util.Collections$SynchronizedMap.writeObject() ------------------------------- | Trapped Message:

Failed to run the test 'Receipts_Automation_Test': Error 500 - Failed to get user name. Failed calling method ---- Debugging information ---- message : Failed calling method cause-exception : java.lang.RuntimeException cause-message : null method : java.security.CodeSource.readObject() class : java.security.CodeSource required-type : java.security.CodeSource converter-type : com.thoughtworks.xstream.converters.reflection.SerializableConverter path : /com.itko.lisa.test.TestCase/nodes/com.itko.lisa.utils.WritePropsNode/config/rootNode/children/org.apache.logging.log4j.core.config.Node/object/map/entry/org.apache.logging.log4j.core.config.LoggerConfig/appenders/appenderArray/org.apache.logging.log4j.core.config.AppenderControl/appender/manager/threadFactory/group/parent/threads/java.lang.Thread/contextClassLoader/parent/defaultDomain/codesource/java.security.CodeSource line number : 46394 class[1] : java.security.ProtectionDomain required-type[1] : java.security.ProtectionDomain converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter class[2] : sun.misc.Launcher$ExtClassLoader required-type[2] : sun.misc.Launcher$ExtClassLoader class[3] : sun.misc.Launcher$AppClassLoader required-type[3] : sun.misc.Launcher$AppClassLoader class[4] : java.lang.Thread required-type[4] : java.lang.Thread class[5] : [Ljava.lang.Thread; required-type[5] : [Ljava.lang.Thread; converter-type[2] : com.thoughtworks.xstream.converters.collections.ArrayConverter class[6] : java.lang.ThreadGroup required-type[6] : java.lang.ThreadGroup class[7] : org.apache.logging.log4j.core.util.Log4jThreadFactory required-type[7] : org.apache.logging.log4j.core.util.Log4jThreadFactory class[8] : org.apache.logging.log4j.core.appender.rolling.RollingFileManager required-type[8] : org.apache.logging.log4j.core.appender.rolling.RollingFileManager class[9] : org.apache.logging.log4j.core.appender.RollingFileAppender required-type[9] : org.apache.logging.log4j.core.appender.RollingFileAppender class[10] : org.apache.logging.log4j.core.config.AppenderControl required-type[10] : org.apache.logging.log4j.core.config.AppenderControl class[11] : [Lorg.apache.logging.log4j.core.config.AppenderControl; required-type[11] : [Lorg.apache.logging.log4j.core.config.AppenderControl; class[12] : org.apache.logging.log4j.core.config.AppenderControlArraySet required-type[12] : org.apache.logging.log4j.core.config.AppenderControlArraySet class[13] : org.apache.logging.log4j.core.config.LoggerConfig required-type[13] : org.apache.logging.log4j.core.config.LoggerConfig class[14] : java.util.concurrent.ConcurrentHashMap required-type[14] : java.util.concurrent.ConcurrentHashMap converter-type[3] : com.thoughtworks.xstream.converters.collections.MapConverter class[15] : org.apache.logging.log4j.core.config.Loggers required-type[15] : org.apache.logging.log4j.core.config.Loggers class[16] : org.apache.logging.log4j.core.config.Node required-type[16] : org.apache.logging.log4j.core.config.Node class[17] : java.util.ArrayList required-type[17] : java.util.ArrayList converter-type[4] : com.thoughtworks.xstream.converters.collections.CollectionConverter class[18] : org.apache.logging.log4j.core.config.properties.PropertiesConfiguration required-type[18] : org.apache.logging.log4j.core.config.properties.PropertiesConfiguration class[19] : com.itko.lisa.utils.WritePropsNode required-type[19] : com.itko.lisa.utils.WritePropsNode class[20] : com.itko.lisa.test.TestCase required-type[20] : com.itko.lisa.test.TestCase version : 1.4.18 --

Cause

Defect.

Environment

Release : 10.7.2

Component : DevTest Application Test

Resolution

If the same issue is seen by anyone, please open a ticket and refer DE536958 and request for the patch.