SAP Knowledge Base Article - Preview

3841644 - Message Processing fails with NullPointerException when processing XML payloads with a high number of child elements

Symptom

  • Message processing in SAP Cloud Integration (CPI) fails with the following error:
    • java.lang.NullPointerException: Cannot invoke
      "net.sf.saxon.tree.tiny.TinyTree.getCharacterBuffer()"
      because "tt" is null
  • The issue can occur when processing an XML payload containing a large number of child elements, for example when the payload contains a high number of repeated records, items, or other XML elements under the same parent element.
  • In some scenarios, smaller payloads are processed successfully, while the message fails when the number of records or items is increased.
  • The issue may therefore appear to be related to the payload size, although the relevant factor is the number and structure of the XML elements, rather than the payload size in MB alone.


Read more...

Environment

  • Cloud Integration
  • SAP Integration Suite

Product

Cloud Integration all versions ; SAP Integration Suite all versions

Keywords

TinyTree, TinyTree.getCharacterBuffer, java.lang.NullPointerException, NullPointerException, XMLStreamException, maximum child elements, Maximum Number of Child Elements, child element limit, 50000, maxChildElements, large XML payload, large payload, XML payload, XML parser, XML parsing, SOAP, Message Processing, message processing failed, Cloud Integration, SAP Integration Suite, SAP CPI, CPI, iFlow, Integration Flow, repeated records, large number of records, large number of items, XML structure, payload limitation, XML limitation , KBA , LOD-HCI-PI-CON-SOAP , SOAP Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.