AnsweredAssumed Answered

I am getting following error when using program command shape with flat file input, not sure what is the exact cause: com.boomi.dataparser.DocumentStructureException: Unable to create XML files from data, the document may not be well-formed xml  at com.bo

Question asked by bhanu_p@infosys.com on Feb 7, 2017
Latest reply on Feb 8, 2017 by bhanu_p@infosys.com

com.boomi.dataparser.DocumentStructureException: Unable to create XML files from data, the document may not be well-formed xml
at com.boomi.dataparser.xml.XMLStreamParser.doRead(XMLStreamParser.java:156)
at com.boomi.dataparser.xml.XMLDataParser.doRead(XMLDataParser.java:569)
at com.boomi.dataparser.BaseDataParser.doRead(BaseDataParser.java:231)
at com.boomi.dataparser.DataParserFactoryImpl.extractDataImpl(DataParserFactoryImpl.java:74)
at com.boomi.dataparser.DataParserFactory.extractData(DataParserFactory.java:226)
at com.boomi.process.util.PropertyExtractor.getProfileValue(PropertyExtractor.java:570)
at com.boomi.process.util.PropertyExtractor.getParams(PropertyExtractor.java:453)
at com.boomi.process.util.PropertyExtractor.getParam(PropertyExtractor.java:335)
at com.boomi.process.util.PropertyExtractor.executeSQLStatement(PropertyExtractor.java:235)
at com.boomi.process.shape.ProgramCmdShape.runCommand(ProgramCmdShape.java:133)
at com.boomi.process.shape.ProgramCmdShape.execute(ProgramCmdShape.java:102)
at com.boomi.process.graph.ProcessShape.executeShape(ProcessShape.java:550)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:488)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.execute(ProcessGraph.java:307)
at com.boomi.process.ProcessExecution.call(ProcessExecution.java:783)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:923)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:61)
at com.boomi.util.concurrent.CancellableFutureTask.run(CancellableFutureTask.java:160)
at com.boomi.execution.NestedExecutionForker$NestedSynchronousExecutionFuture.runSynchronous(NestedExecutionForker.java:203)
at com.boomi.execution.NestedExecutionForker$NestedSynchronousExecutionFuture.get(NestedExecutionForker.java:171)
at com.boomi.execution.NestedExecutionForker$NestedSynchronousExecutionFuture.get(NestedExecutionForker.java:150)
at com.boomi.execution.ExecutionTask.getChildResult(ExecutionTask.java:1295)
at com.boomi.execution.ExecutionTask.getChildResult(ExecutionTask.java:1281)
at com.boomi.process.shape.ChildInvokerShape.getChildResult(ChildInvokerShape.java:41)
at com.boomi.process.shape.CatchErrorsShape.executeInitial(CatchErrorsShape.java:250)
at com.boomi.process.shape.BaseFiberShape.execute(BaseFiberShape.java:77)
at com.boomi.process.shape.CatchErrorsShape.execute(CatchErrorsShape.java:123)
at com.boomi.process.graph.ProcessShape.executeShape(ProcessShape.java:550)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:488)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:509)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.execute(ProcessGraph.java:307)
at com.boomi.process.ProcessExecution.call(ProcessExecution.java:783)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:923)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:61)
at com.boomi.util.concurrent.CancellableFutureTask.run(CancellableFutureTask.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '1' (code 49) in prolog; expected '<'
at [row,col {unknown-source}]: [1,1]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:648)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
at com.ctc.wstx.evt.WstxEventReader.nextEvent(WstxEventReader.java:196)
at com.boomi.dataparser.xml.XMLStreamParser.findNext(XMLStreamParser.java:394)
at com.boomi.dataparser.xml.XMLStreamParser.doRead(XMLStreamParser.java:136)
... 40 more

Outcomes