Community
Participate
Working Groups
In the case that EclipseLink is unmarshalling an xml document, and that document declares a prefix which goes out of scope prior to initializing the UnmarshalRecord's TransformationRecord, a NPE will occur. This is because the list of prefixes returned from the UnmarshalNamespaceResolver still contains the out of scope prefix, but getNamespace returns null for that prefix. XMLTransformationRecord doesn't guard against the possibility of a null namespace uri being returned for a prefix and so a NullPointer occurs.
Created attachment 173127 [details] Proposed Fix and Test Case
Attached patch checked in to SVN in 2.1 and Trunk branches. Will appear in nightly builds starting with 20100701
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink