Oracle Weblogic Server (MOSC)

MOSC Banner

Issue with JAXB unmarshaller

edited May 27, 2021 1:51PM in Oracle Weblogic Server (MOSC) 3 commentsAnswered

Hello,


We are currently experiencing an issue with the JAXB unmarshaller while unmarshalling an XML position message:


(JAXBElement<?>) SingletonFactory.getInstance().getCDFUnMarshaller().unmarshal(reader);


Two exceptions are thrown by it, a NullPointerException and a javax.xml.bind.UnmarshalException. The latter sometimes has a linked exception: org.xml.sax.SAXException: FWK005 parse may not be called while parsing. A pattern is not currently clear.


 Not all messages throw the exception, the failing messages are valid against the schema and, when the exception thrown is the javax.xml.bind.UnmarshalException, the unexpected element is not always the same.


 We would like to know whether there is a way to further troubleshoot the issue in order to correctly process the messages, especially regarding the "FWK005 parse may not be called while parsing" message.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center