zishuijing 发表于 2013-3-29 13:18:14

loadrunner测试flex单独执行通过,并发报错

loadrunner测试flex单独执行通过,并发报错
Error: Encoding of AMF message failed. Error is : Exception Occurred while invoking WriteObject method - com.thoughtworks.xstream.XStream$InitializationException: Could not instantiate converter : com.thoughtworks.xstream.converters.extended.DurationConverter : null
        at com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:748)
        at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:680)
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:436)
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:376)
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:314)
        at hp.flex.HPExternalizableWrapper.WriteObject(HPExternalizableWrapper.java:55)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:741)
        ... 5 more
Caused by: javax.xml.datatype.DatatypeConfigurationException: Provider org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl not found
        at javax.xml.datatype.DatatypeFactory.newInstance(DatatypeFactory.java:93)
        at com.thoughtworks.xstream.converters.extended.DurationConverter.<init>(DurationConverter.java:33)
        ... 10 more
Caused by: java.lang.ClassNotFoundException: org/apache/xerces/jaxp/datatype/DatatypeFactoryImpl
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at javax.xml.datatype.FactoryFinder.newInstance(FactoryFinder.java:139)
        at javax.xml.datatype.FactoryFinder.findJarServiceProvider(FactoryFinder.java:291)
        at javax.xml.datatype.FactoryFinder.find(FactoryFinder.java:217)
        at javax.xml.datatype.DatatypeFactory.newInstance(DatatypeFactory.java:87)
        ... 11 more
       
End auto log messages stack.       

jerryaaa 发表于 2013-3-30 10:33:08

底层用的是什么协议呢?

zishuijing 发表于 2015-8-18 09:14:22

flex协议

zishuijing 发表于 2015-8-18 13:40:26

flex协议;
后来发现是loadrunner版本的原因,换了一台机器用lr11.0.0就可以了
页: [1]
查看完整版本: loadrunner测试flex单独执行通过,并发报错