Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Org.xml.sax.SAXParseException displays in logs

SA-71614

Summary


 

Exception displays in the logs.   


Error Messages


 

pub.clipboard.InvalidStreamError: InvalidStream internal.clipboard.XMLStream.newStream(String, StorageStream) sax parse error: Content is not allowed in prolog. From: (unknown) at internal.clipboard.XMLStream.newStream(XMLStream.java:477) internal.clipboard.XMLStream.newStream(XMLStream.java:432) at internal.clipboard.ClipboardPageImpl.adoptXMLForm(ClipboardPageImpl.java:835) internal.engineinterface.service.HttpAPI.mapInputData(HttpAPI.java:2571) at external.engineinterface.service.EngineAPI.activityExecutionProlog(EngineAPI.java:554) at external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:389) at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1302) at internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1039) internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:894) at external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331) at internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:829) at internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331) at internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:274) at internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:251) at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278) at priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223) at web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:594) at web.impl.WebStandardImpl.doPost(WebStandardImpl.java:375) at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411) at internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) at internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) at internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) at


Steps to Reproduce


 

Unknown


Root Cause


Byte Order Mark (BOM) was present in XSD. The SAX parser considered BOM as a special character. 


Resolution



Perform the following local-change:  
  1. Verify the Web Services Description Language (WSDL) and XSD files on the system which validate the incoming XML
  2. Delete the BOMs present on the files
  3. Recreate the parse rule 

 

Suggest Edit

Published March 26, 2019 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us