You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sylvain Vieujot (JIRA)" <ji...@apache.org> on 2011/07/09 14:15:16 UTC

[jira] [Created] (WICKET-3882) NullPointerException in QueryStringWithTimestampResourceCachingStrategy

NullPointerException in QueryStringWithTimestampResourceCachingStrategy
-----------------------------------------------------------------------

                 Key: WICKET-3882
                 URL: https://issues.apache.org/jira/browse/WICKET-3882
             Project: Wicket
          Issue Type: Bug
            Reporter: Sylvain Vieujot
            Priority: Trivial


At line 78, there is no check for null. and it throws an exception for "un-decorated" urls :

public void undecorateUrl(ResourceUrl url)
{
>>		url.getParameters().remove(timestampParameter); <<
}

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

        

[jira] [Assigned] (WICKET-3882) NullPointerException in QueryStringWithTimestampResourceCachingStrategy

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-3882:
-------------------------------------

    Assignee: Peter Ertl

> NullPointerException in QueryStringWithTimestampResourceCachingStrategy
> -----------------------------------------------------------------------
>
>                 Key: WICKET-3882
>                 URL: https://issues.apache.org/jira/browse/WICKET-3882
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Sylvain Vieujot
>            Assignee: Peter Ertl
>            Priority: Trivial
>
> At line 78, there is no check for null. and it throws an exception for "un-decorated" urls :
> public void undecorateUrl(ResourceUrl url)
> {
> >>		url.getParameters().remove(timestampParameter); <<
> }

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

        

[jira] [Closed] (WICKET-3882) NullPointerException in QueryStringWithTimestampResourceCachingStrategy

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl closed WICKET-3882.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC6

this has already been fixed. the class is now named 'QueryStringWithVersionResourceCachingStrategy' and the null check is there.

> NullPointerException in QueryStringWithTimestampResourceCachingStrategy
> -----------------------------------------------------------------------
>
>                 Key: WICKET-3882
>                 URL: https://issues.apache.org/jira/browse/WICKET-3882
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Sylvain Vieujot
>            Assignee: Peter Ertl
>            Priority: Trivial
>             Fix For: 1.5-RC6
>
>
> At line 78, there is no check for null. and it throws an exception for "un-decorated" urls :
> public void undecorateUrl(ResourceUrl url)
> {
> >>		url.getParameters().remove(timestampParameter); <<
> }

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