NullPointerException When Instantiating a JAXB Context
(Doc ID 1617708.1)
Last updated on MARCH 18, 2019
Applies to:Oracle TopLink - Version 188.8.131.52.0 and later
Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.
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 184.108.40.206.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 220.127.116.11.0 (Eclipselink 2.1 , in 10.3.4 WLS) .
Note that applying:
Patch 17052278: NULLPOINTEREXCEPTION IN JAXB GENERATECHOICECOLLECTIONMAPPING
to toplink 18.104.22.168.0 does not solve the issue.
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