My Oracle Support Banner

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

Last updated on JUNE 16, 2023

Applies to:

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


On : version, EJB Container

We have recently upgraded WebLogic to

After WebLogic upgraded, we encountered our application encountered an error.  In Weblogic, 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.


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

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