Thanks Peter, Line 282 falls somewhere in the comments section in the source. Can somebody provide some information if this issue will be fixed in the stable release. Any workarounds are welcome.

Thanks,

// Register value target
if (propDesc.isWriteable()) {
// If this is an indexed property, and the deserializer we found
// was NOT the ArrayDeserializer, this is a non-SOAP array:
// <bean>
// <field>value1</field>
// <field>value2</field>
// ...
<Line 282> // In this case, we want to use the collectionIndex and make sure
// the deserialized value for the child element goes into the
// right place in the collection.
if (propDesc.isIndexed() && (
!(dSer instanceof ArrayDeserializer) ||
propDesc.getType().isArray())) {
collectionIndex++;
dSer.registerValueTarget(new BeanPropertyTarget(value,
propDesc, collectionIndex));
} else {
// If we're here, the element maps to a single field value,
// whether that be a "basic" type or an array, so use the
// normal (non-indexed) BeanPropertyTarget form.
collectionIndex = -1;
dSer.registerValueTarget(new BeanPropertyTarget(value,
propDesc));
}
}


       // Let the framework know that we need this deserializer to complete
       // for the bean to complete.
       addChildDeserializer(dSer);




Reply via email to