Description
Unmarshalling the given XML fragment (Java type of contact is List<ResponsibleParty>):
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd"> <gmd:contact/> </gmd:MD_Metadata>
cause the following exception:
org.apache.sis.util.NullArgumentException: Argument 'element' can not be null. at org.apache.sis.util.ArgumentChecks.ensureNonNull(ArgumentChecks.java:105) at org.apache.sis.internal.util.CheckedArrayList.ensureValid(CheckedArrayList.java:101) at org.apache.sis.internal.util.CheckedArrayList.add(CheckedArrayList.java:143) at com.sun.xml.internal.bind.v2.runtime.reflect.Lister$CollectionLister.addToPack(Lister.java:290) (...snip...)
Attachments
Issue Links
- is related to
-
SIS-157 NullPointerException during unmarshalling of an empty codeListValue attribute
- Closed