[EclipseLink-25004 XMLMarshalException Internal Exception: java.lang.NullPointerException in Deployed Eclipselink JPA application (Doc ID 2199406.1)

Last updated on JULY 29, 2017

Applies to:

Oracle TopLink - Version 12.1.2.0.0 to 12.2.1.2.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

 An Eclipselink JPA application has been deployed and running on WebLogic server; however there are NullPointerExceptions noted in association with SAXUnmarshaller in the logs:

Exception [EclipseLink-25004] (Eclipse Persistence Services - 2.4.2.v20130514-5956486): org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: java.lang.NullPointerException

 

Changes

 The default Eclipselink MOXy JAXB implementation for WebLogic server 12c has been changed to a third party XML parser such as “jaxb2-maven-plugin” from “org.codehaus.mojo".

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