[ 
https://issues.apache.org/jira/browse/WICKET-886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522778
 ] 

Carlos Pita commented on WICKET-886:
------------------------------------

I guess the thing to do is calling the three-parameters constructor with 
page.getPageMap() as the page map:

this(id, page.getPageMap(), new IPageLink()

> InlineFrame with null PageMap raises exception
> ----------------------------------------------
>
>                 Key: WICKET-886
>                 URL: https://issues.apache.org/jira/browse/WICKET-886
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2, 1.3.0-beta3
>            Reporter: Carlos Pita
>
> This constructor
>       public InlineFrame(final String id, final Page page)
>       {
>               this(id, null, new IPageLink()
> is calling this other
>       public InlineFrame(final String id, final IPageMap pageMap, IPageLink 
> pageLink)
>       {
>               super(id);
>               this.pageMapName = pageMap.getName();
> which of course raises a null pointer exception at 'pageMap.getName();'

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