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

Igor Vaynberg resolved WICKET-1676.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.4-M2)
                   1.4-M3
         Assignee: Igor Vaynberg

> NPE in BookmarkablePageRequestTarget
> ------------------------------------
>
>                 Key: WICKET-1676
>                 URL: https://issues.apache.org/jira/browse/WICKET-1676
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-M1
>         Environment: any
>            Reporter: Doug Donohoe
>            Assignee: Igor Vaynberg
>             Fix For: 1.4-M3
>
>         Attachments: bookmarkable.patch
>
>
> In BookmarkablePageRequestTarget line 292 
>    for (Entry<String, Object> entry : pageParameters.entrySet()) 
>    { 
>        final Object value = entry.getValue(); 
> *      if (value.getClass().isArray()) 
>        [...] 
>    } 
> I'm getting a NPE.  Values can be null in PageParameters, so you should check 
> null here. 
> Also found that BookmarkablePageRequestTarget(String pageMapName, Class<C> 
> pageClass) wasn't correct (wasn't passing pageMap).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to