AnsweredAssumed Answered

rocessing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)

Question asked by Narasimha23 on Dec 17, 2015

Hi,

 

I am getting below mentioned error in Responder step. Could you please let me know the solution ASAP. Thanks for the support in advance.

 

============================================================================
| com.thoughtworks.xstream.converters.ConversionException:  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)  :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
---- Debugging information ----
message             :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
class               : com.itko.lisa.vse.stateful.model.TransientResponse
required-type       : com.itko.lisa.vse.stateful.model.TransientResponse
converter-type      : com.itko.lisa.vse.stateful.model.converter.TransientResponseConverter
path                : /list/TransientResponse/body/bodyAsString
line number         : 14
class[1]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
version             : 1.4.8
-------------------------------
============================================================================
| Step:        Virtual HTTP Responder
----------------------------------------------------------------------------
| Message:      : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)  :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
---- Debugging information ----
message             :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
class               : com.itko.lisa.vse.stateful.model.TransientResponse
required-type       : com.itko.lisa.vse.stateful.model.TransientResponse
converter-type      : com.itko.lisa.vse.stateful.model.converter.TransientResponseConverter
path                : /list/TransientResponse/body/bodyAsString
line number         : 14
class[1]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
version             : 1.4.8
-------------------------------
----------------------------------------------------------------------------
| Trapped Exception:  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)  :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
---- Debugging information ----
message             :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
class               : com.itko.lisa.vse.stateful.model.TransientResponse
required-type       : com.itko.lisa.vse.stateful.model.TransientResponse
converter-type      : com.itko.lisa.vse.stateful.model.converter.TransientResponseConverter
path                : /list/TransientResponse/body/bodyAsString
line number         : 14
class[1]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
version             : 1.4.8
-------------------------------
| Trapped Message:   com.thoughtworks.xstream.converters.ConversionException:  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)  :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
---- Debugging information ----
message             :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
class               : com.itko.lisa.vse.stateful.model.TransientResponse
required-type       : com.itko.lisa.vse.stateful.model.TransientResponse
converter-type      : com.itko.lisa.vse.stateful.model.converter.TransientResponseConverter
path                : /list/TransientResponse/body/bodyAsString
line number         : 14
class[1]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
version             : 1.4.8
-------------------------------
----------------------------------------------------------------------------
STACK TRACE
com.thoughtworks.xstream.converters.ConversionException:  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)  :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
---- Debugging information ----
message             :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
class               : com.itko.lisa.vse.stateful.model.TransientResponse
required-type       : com.itko.lisa.vse.stateful.model.TransientResponse
converter-type      : com.itko.lisa.vse.stateful.model.converter.TransientResponseConverter
path                : /list/TransientResponse/body/bodyAsString
line number         : 14
class[1]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
version             : 1.4.8
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1052)
at com.itko.lisa.vse.stateful.model.Streamer.fromXML(Streamer.java:92)
at com.itko.lisa.vse.stateful.BaseRespondStep.getResponse(BaseRespondStep.java:312)
at com.itko.lisa.vse.stateful.BaseRespondStep.getResponse(BaseRespondStep.java:296)
at com.itko.lisa.vse.stateful.protocol.http.HttpRespondStep.respond(HttpRespondStep.java:113)
at com.itko.lisa.vse.stateful.BaseRespondStep.execute(BaseRespondStep.java:231)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:981)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1283)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1198)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183)
at com.itko.lisa.editor.WalkThruPanel.prepAndExecNode(WalkThruPanel.java:1050)
at com.itko.lisa.editor.WalkThruPanel.access$900(WalkThruPanel.java:70)
at com.itko.lisa.editor.WalkThruPanel$10.doCallback(WalkThruPanel.java:963)
at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)
at java.lang.Thread.run(Unknown Source)
Caused by: com.thoughtworks.xstream.io.StreamException:  : processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:124)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:135)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.getValue(AbstractPullReader.java:180)
at com.thoughtworks.xstream.io.ReaderWrapper.getValue(ReaderWrapper.java:48)
at com.itko.lisa.vse.stateful.model.converter.BodyCarrierConverter.unmarshal(BodyCarrierConverter.java:119)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
... 32 more
Caused by: org.xmlpull.v1.XmlPullParserException: processing instruction can not have PITarget with reserveld xml name (position: START_TAG seen ...<bodyAsString><?xml ... @14:27)
at org.xmlpull.mxp1.MXParser.parsePI(MXParser.java:2453)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1245)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:109)
... 38 more
============================================================================

Outcomes