Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Null Pointer Exception when Marshalling
Null Pointer Exception when Marshalling [message #1831895] Wed, 02 September 2020 04:28
Padmanabhan Vijendran is currently offline Padmanabhan VijendranFriend
Messages: 1
Registered: September 2020
Junior Member
We are using Eclipse Moxy for marshall and unmarhsall xml. We are using the version 2.6.2

I am getting Null Pointer Exception Randomly. Below is the stacktrace. I am not use on what scenarios that "uri" value become null. Can anyone help me what are the things can make this URI null ??

Caused by: java.lang.NullPointerException
at org.eclipse.persistence.internal.oxm.NamespaceResolver.put(NamespaceResolver.java:205)
at org.eclipse.persistence.internal.oxm.record.namespaces.PrefixMapperNamespaceResolver.put(PrefixMapperNamespaceResolver.java:122)
at org.eclipse.persistence.internal.oxm.record.namespaces.PrefixMapperNamespaceResolver.<init>(PrefixMapperNamespaceResolver.java:90)
at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:619)
at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshalStreamOrWriter(XMLMarshaller.java:1147)
at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:1098)
at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:1053)
at org.eclipse.persistence.jaxb.JAXBMarshaller.marshal(JAXBMarshaller.java:728)
... 38 more
Previous Topic:NoSql bundle not selectable
Next Topic:Oracle Hints in subqueries
Goto Forum:
  


Current Time: Tue Jun 15 11:25:25 GMT 2021

Powered by FUDForum. Page generated in 0.02229 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top