AnsweredAssumed Answered

Hi All, I am trying to create virtual service with attached Rrpairs, copybooks , mapping file . I am getting below error while creating virtual services .

Question asked by RohanDoshi on Oct 26, 2015
Latest reply on Apr 9, 2018 by RajaGanapathy

Hi All, I am trying to create virtual service with attached Rrpairs, copybooks , mapping file . I am getting below error while creating virtual services .  I am getting "no data" after applying protocol and selecting mapping file and path for copybooks . attached word doc is what i am doing exactly .

Also I have attached my files (RR pairs, copybooks , mapping files.) I hv created copybooks manually . Please check if mapping file is correct .

 

Please advice .

 

java.lang.RuntimeException: payload

at com.itko.lisa.vse.stateful.protocol.copybook.CopybookDataProtocol.updateRequest(CopybookDataProtocol.java:187)

at com.itko.lisa.vse.stateful.protocol.copybook.CopybookDataProtocol.updateRequest(CopybookDataProtocol.java:127)

at com.itko.lisa.vse.stateful.protocol.Marker.getTransaction(Marker.java:148)

at com.itko.lisa.vse.stateful.protocol.TransactionLine$Line.next(TransactionLine.java:172)

at com.itko.lisa.vse.stateful.protocol.TransactionLine$Line.next(TransactionLine.java:128)

at com.itko.lisa.vse.stateful.recorder.TrafficMerger.getNextTransaction(TrafficMerger.java:477)

at com.itko.lisa.vse.stateful.recorder.TrafficMerger.loadStatelessTransactions(TrafficMerger.java:431)

at com.itko.lisa.vse.stateful.recorder.TrafficMerger.populateTraffic(TrafficMerger.java:121)

at com.itko.lisa.vse.stateful.recorder.TrafficMerger.populateTraffic(TrafficMerger.java:97)

at com.itko.lisa.vse.stateful.recorder.RecordingSession.storeRecordedTransactions(RecordingSession.java:935)

at com.itko.lisa.vse.stateful.recorder.BuildProgressPanel$Worker.run(BuildProgressPanel.java:414)

at java.lang.Thread.run(Unknown Source)

Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: payload

at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:56)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)

at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:45)

at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)

at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133)

at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)

at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1052)

at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1036)

at com.thoughtworks.xstream.XStream.fromXML(XStream.java:912)

at com.thoughtworks.xstream.XStream.fromXML(XStream.java:903)

at com.itko.util.copybook.xstream.XStreamer.fromXML(XStreamer.java:57)

at com.itko.util.copybook.MappingHelper.<init>(MappingHelper.java:203)

at com.itko.util.copybook.MappingHelper.getInstance(MappingHelper.java:82)

at com.itko.util.copybook.PayloadProcessor.getPayloadMapping(PayloadProcessor.java:763)

at com.itko.util.copybook.PayloadProcessor.rawPayloadToXML(PayloadProcessor.java:178)

at com.itko.util.copybook.PayloadProcessor.rawPayloadToXML(PayloadProcessor.java:156)

at com.itko.lisa.vse.stateful.protocol.copybook.CopybookDataProtocol.updateRequest(CopybookDataProtocol.java:169)

... 11 more

Outcomes