My Oracle Support Banner

Error: "ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog" when importing XML files created using P6 Web Services (Doc ID 2540630.1)

Last updated on SEPTEMBER 09, 2019

Applies to:

Primavera Web Services - Version 18.8.5.0 and later
Information in this document applies to any platform.

Symptoms

On : 18.8.5.0 version, Cloud: P6 Web Services

When attempting to import project XML into P6 EPPM using project created by P6 Web Services export the following error occurs:

ERROR
-----------------------
<ERROR> <ImportExportServiceImpl>
<Error happened in the Import/Export Project Service>
com.primavera.integration.client.xml.xmlimporter.reader.ImportReaderException: ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog.
at com.primavera.integration.client.xml.xmlimporter.reader.StAXCursorReader.a(StAXCursorReader.java:183)
at com.primavera.integration.client.xml.xmlimporter.reader.StAXCursorReader.<init>(StAXCursorReader.java:86)
at com.primavera.integration.client.xml.xmlimporter.reader.StAXCursorReader.<init>(StAXCursorReader.java:100)

Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:604)
at com.primavera.integration.client.xml.xmlimporter.reader.StAXCursorReader.a(StAXCursorReader.java:119)
... 11 more

Original Exception:
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:604)
at com.primavera.integration.client.xml.xmlimporter.reader.StAXCursorReader.a(StAXCursorReader.java:119)



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.