You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2012/05/17 12:59:16 UTC

git commit: WICKET-4563 Possible NPE in FragmentMarkupSourcingStrategy.getMarkup

Updated Branches:
  refs/heads/master 245b19ec9 -> c06052469


WICKET-4563 Possible NPE in FragmentMarkupSourcingStrategy.getMarkup


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/c0605246
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/c0605246
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/c0605246

Branch: refs/heads/master
Commit: c06052469a5cf1e895a4294ef2a9af5e2ed2d3c4
Parents: 245b19e
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Thu May 17 12:58:37 2012 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Thu May 17 12:58:37 2012 +0200

----------------------------------------------------------------------
 .../html/panel/FragmentMarkupSourcingStrategy.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/c0605246/wicket-core/src/main/java/org/apache/wicket/markup/html/panel/FragmentMarkupSourcingStrategy.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/html/panel/FragmentMarkupSourcingStrategy.java b/wicket-core/src/main/java/org/apache/wicket/markup/html/panel/FragmentMarkupSourcingStrategy.java
index 34d8fdc..09b8079 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/html/panel/FragmentMarkupSourcingStrategy.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/html/panel/FragmentMarkupSourcingStrategy.java
@@ -141,7 +141,7 @@ public class FragmentMarkupSourcingStrategy extends AbstractMarkupSourcingStrate
 		if (childMarkup == null)
 		{
 			throw new MarkupNotFoundException("No Markup found for Fragment " + markupId +
-				" in providing markup container " + markupProvider.toString());
+				" in providing markup container " + getMarkupProvider(container).toString());
 		}
 
 		if (child == null)