You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Emond Papegaaij (JIRA)" <ji...@apache.org> on 2011/05/03 16:34:03 UTC

[jira] [Updated] (WICKET-3665) NullPointerException in ResourceStreamResource when lastModifiedTime is null

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

Emond Papegaaij updated WICKET-3665:
------------------------------------

    Attachment: npe-fix.diff

> NullPointerException in ResourceStreamResource when lastModifiedTime is null
> ----------------------------------------------------------------------------
>
>                 Key: WICKET-3665
>                 URL: https://issues.apache.org/jira/browse/WICKET-3665
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>            Reporter: Emond Papegaaij
>         Attachments: npe-fix.diff
>
>
> When stream.lastModifiedTime() is null (which is the case for many streams), ResourceStreamResource will throw a NullPointerException at line 93. The attached patch fixes this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira