XML payload with an empty body is throwing a NullPointerException (Doc ID 2020748.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Service Bus - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.7.0 version, OSB Core Functionality

Sending a post request without posting any data is throwing NullPointerException. Enabling execution trace logging stops this error

ERROR
-----------------------
java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:61)
at weblogic.xml.babel.reader.XmlReader.<init>(XmlReader.java:229)
at weblogic.xml.babel.reader.XmlReader.createReader(XmlReader.java:130)


Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms