My Oracle Support Banner

Issue With Weblogic 12.2.1.3, Nillable For @XmlElement Is Invalid (Doc ID 2442736.1)

Last updated on AUGUST 26, 2020

Applies to:

Oracle WebLogic Server - Version 12.1.1.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.3.0 version, EJB Container

We have recently upgraded WebLogic to 12.2.1.3

After WebLogic upgraded 12.2.1.3, we encountered our application encountered an error.  In Weblogic 12.2.1.3, nillable for @XmlElement is invalid no matter the value is true or false. It always serialize null element.

But in previous versions of Weblogic, @XmlElement(nillable=false) will ignore to serialize null element, but @XmlElement(nillable=true) will serialize null element. The default @XmlElement is false.
 

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.