My Oracle Support Banner

NullPointerException When Instantiating a JAXB Context (Doc ID 1617708.1)

Last updated on OCTOBER 02, 2023

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

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product.  Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

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.



Changes

 

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
Changes
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.