NullPointerException When Instantiating a JAXB Context

(Doc ID 1617708.1)

Last updated on AUGUST 02, 2016

Applies to:

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

Symptoms

With Toplink 11.1.1.6.0 (Eclipselink 2.3.1 )  in 10.3.6  Weblogic Server :
when creating a JAXBContext as the following :

 

--
  This problem does not occur when using JAXB com Sun implementation .
  This problem does not occur when using toplink 11.1.1.4.0 (Eclipselink 2.1 , in 10.3.4 WLS) .
  
Note that applying:

Patch 17052278: NULLPOINTEREXCEPTION IN JAXB GENERATECHOICECOLLECTIONMAPPING

to toplink 11.1.1.6.0  does not solve the issue.



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