[ http://jira.codehaus.org/browse/MOJO-153?page=all ]
     
Julian Wood reopened MOJO-153:
------------------------------


The applied fix is not working - you get an NPE during parsing if your 
changelog.xml has time elements in it. The problem is two-fold. In 
ChangeLogHandler.java where the time and date elements are handled, the bufData 
needs to be parsed by the formatters, not the qName. The second problem is 
where we're checking for null on bufEntry.getDate(). This can give an NPE, 
because getDate() is not a simple getter - it tries to clone the date, which 
can be null.

> The time in the timestamp of the changelog report is always 00:00:00
> --------------------------------------------------------------------
>
>          Key: MOJO-153
>          URL: http://jira.codehaus.org/browse/MOJO-153
>      Project: Mojo
>         Type: Bug

>  Environment: OSX 10.4.3, java 1.4.2_09
>     Reporter: Julian Wood
>     Assignee: Edwin Punzalan
>     Priority: Minor
>  Attachments: MNG-78-changelog-maven-plugin.patch
>
>
> The time in the timestamp of the changelog report is always 00:00:00
> The ChangeLogHandler ignores the time element in changelog.xml. One solution 
> is to handle that element, as in the attached patch.

-- 
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

Reply via email to