DateTimeType does not handle null date well
-------------------------------------------

                 Key: XFIRE-982
                 URL: http://jira.codehaus.org/browse/XFIRE-982
             Project: XFire
          Issue Type: Bug
          Components: Aegis Module
    Affects Versions: 1.2.6
         Environment: Java 5 / Java 6
            Reporter: Markus Wolf
            Assignee: Dan Diephouse


When serializing a date value of null the DateTimeType calls Calendar.setTime 
without null checking the date object. The Calendar then throws a NPE.
Shouldn't XFire either catch the NPE or better check against null before 
setting the date and serializing a null calendar instead?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to