Community
Participate
Working Groups
There appear to be some implementations of List & Map out there that can return null iterators or entry/key sets. This bug is to add tolerance into MOXy for these types of containers.
Created attachment 208280 [details] MOXy - Test Cases
Created attachment 208281 [details] Core - Fix
Created attachment 208282 [details] MOXy - Fix
Fix checked into trunk at revision: 10546 Code reviewed by: Denise Smith Fix Details: Check to see if the iterator returned from a List, or the entrySet/keySet returned from a Map is not null before processing it.
This issue is also occuring for Lists mapped with @XmlAnyElement, @XmlElements, and @XmlList.
Created attachment 208293 [details] MOXy - Test Cases (Part 2)
Created attachment 208294 [details] Core - Fix (Part 2)
Created attachment 208297 [details] MOXy - Test Cases (Part 2)
Created attachment 208298 [details] Core - Fix (Part 2)
Fix checked into trunk at rev: 10549 Code reviewed by: Rick Barkhouse Fix Details: Extended original fix to cover @XmlElements, @XmlAnyElement, and @XmlList for both Marshaller and Binder
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink