NullPointerException When Instantiating a JAXB Context
(Doc ID 1617708.1)
Last updated on OCTOBER 02, 2023
Applies to:Oracle TopLink - Version 184.108.40.206.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 220.127.116.11.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 18.104.22.168.0 (Eclipselink 2.1 , in 10.3.4 WLS) .
Note that applying:
Patch 17052278: NULLPOINTEREXCEPTION IN JAXB GENERATECHOICECOLLECTIONMAPPING
to toplink 22.214.171.124.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