[ 
https://issues.apache.org/jira/browse/CXF-2728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Stopp updated CXF-2728:
-----------------------------

    Attachment: XMLBeanTypeInfo.java.patch
                cxf-binding-bug.zip

It turns out it's not the same bug. It's actually a logic flaw in the 
XMLBeanTypeInfo when it parses the Aegis mapping files. It never sets the 
typeClass attribute of the mapped type, and therefore a NPE occurs later when 
the xsd:date override types are added to the dependencies of an object.

I've attached an eclipse/maven project which shows the bug, and a patch for the 
java class which is the root cause.

-B

> CXF-1977 is still valid for CXF 2.2.7
> -------------------------------------
>
>                 Key: CXF-2728
>                 URL: https://issues.apache.org/jira/browse/CXF-2728
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.7
>            Reporter: Bryan Stopp
>         Attachments: cxf-binding-bug.zip, XMLBeanTypeInfo.java.patch
>
>
> I built a project with CXF v2.2.7 and experienced this bug: CXF-1977. 
> I reverted my project back to v2.1.1 because I thought it may be an issue 
> with 2.2.7 (as I had not used it in another project until this time). This 
> did not fix the problem. As soon as i upgraded to v2.1.4 the bug was fixed 
> (as identified in CXF-1977) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to