[
https://issues.apache.org/jira/browse/WICKET-3828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Ertl closed WICKET-3828.
------------------------------
Resolution: Fixed
Fix Version/s: 1.5-RC6
Fixed - thanks for reporting!
> QueryStringWithTimestampResourceCachingStrategy#undecorateUrl(ResourceUrl)
> can causes NPE
> -----------------------------------------------------------------------------------------
>
> Key: WICKET-3828
> URL: https://issues.apache.org/jira/browse/WICKET-3828
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.5-RC4
> Environment: Windows 7, Eclipse 3.6.2, Java 1.6.23
> Reporter: Hielke Hoeve
> Assignee: Peter Ertl
> Priority: Minor
> Fix For: 1.5-RC6
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> undecorateUrl(ResourceUrl) can sometimes produces a NPE, because the
> decorateUrl(ResourceUrl, ResourceReference) function contains an if using the
> value of lastModified(ResourceReference) and the
> getLastModified(ResourceReference) function may return NULL from the cache
> (or hypothetically resource).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira