You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Carlos Pita (JIRA)" <ji...@apache.org> on 2007/08/25 13:43:32 UTC
[jira] Created: (WICKET-886) InlineFrame with null PageMap raises
exception
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.
[jira] Resolved: (WICKET-886) InlineFrame with null PageMap raises
exception
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-886.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0-beta4
Assignee: Igor Vaynberg
> 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
> Assignee: Igor Vaynberg
> Fix For: 1.3.0-beta4
>
>
> 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.
[jira] Commented: (WICKET-886) InlineFrame with null PageMap raises
exception
Posted by "Carlos Pita (JIRA)" <ji...@apache.org>.
[ 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.