You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/09/11 19:36:57 UTC
[jira] Updated: (CXF-2413) Aegis ObjectType throws
NullPointerException when reading value for an xs:any without xsi:type
information
[ https://issues.apache.org/jira/browse/CXF-2413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated CXF-2413:
-----------------------------
Fix Version/s: (was: 2.3)
2.2.4
> Aegis ObjectType throws NullPointerException when reading value for an xs:any without xsi:type information
> ----------------------------------------------------------------------------------------------------------
>
> Key: CXF-2413
> URL: https://issues.apache.org/jira/browse/CXF-2413
> Project: CXF
> Issue Type: Bug
> Components: Aegis Databinding
> Affects Versions: 2.2.3
> Reporter: Fried Hoeben
> Assignee: Benson Margulies
> Fix For: 2.2.4
>
> Attachments: cxf-aegis-ObjectType.patch
>
>
> Aegis databinding throws a NullPointerException instead of reporting that it can not read the XML it receives.
> I believe the correct, intended, behavior is that it would throw a DatabindingException stating the typeQName it could not unmarshall, or maybe it should even store the content of the element it could not parse to a Java bean in an XML document.
> Caused by: java.lang.NullPointerException
> at org.apache.cxf.aegis.type.basic.ObjectType.readObject(ObjectType.java:104)
> at org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:161)
> at org.apache.cxf.aegis.type.basic.ArrayType.readCollection(ArrayType.java:86)
> at org.apache.cxf.aegis.type.basic.ArrayType.readObject(ArrayType.java:62)
> at org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:161)
> at org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:161)
> at org.apache.cxf.aegis.type.basic.ArrayType.readCollection(ArrayType.java:86)
> at org.apache.cxf.aegis.type.basic.ArrayType.readObject(ArrayType.java:62)
> at org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:161)
> at org.apache.cxf.aegis.AegisXMLStreamDataReader.read(AegisXMLStreamDataReader.java:82)
> at org.apache.cxf.aegis.databinding.XMLStreamDataReader.read(XMLStreamDataReader.java:61)
> ... 57 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.