My Oracle Support Banner

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

Last updated on MARCH 07, 2019

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

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.