camel-sap: NullPointerException and "Failed to set value on field X in segment Y'

Solution Verified - Updated -

Issue

An application uses a Camel route with the camel-sap component, to process SAP IDoc entities. The following exception appears repeatedly in the Fuse logs:

org.fusesource.camel-sap - 6.3.0.redhat-416 | Failed to set value on field 'XXX' in segment 'YYY'
java.lang.NullPointerException
    at org.fusesource.camel.component.sap.util.IDocUtil.setIdocFieldValue(IDocUtil.java:1442)[753:org.fusesource.camel-sap:6.3.0.redhat-416]
    at org.fusesource.camel.component.sap.util.IDocUtil.fillIDocSegmentFromSegment(IDocUtil.java:642)[753:org.fusesource.camel-sap:6.3.0.redhat-416]
        ...

The application may, or may not, be working correctly.

Environment

  • Red Hat Fuse
    • All versions prior to 7.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content