You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2021/01/27 11:23:08 UTC

[myfaces-tobago] branch tobago-4.x updated: fix: NullPointerException when using issue: TOBAGO-2066

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch tobago-4.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/tobago-4.x by this push:
     new 80773c3  fix: NullPointerException when using <f:viewParam> issue: TOBAGO-2066
80773c3 is described below

commit 80773c3c5001b287611b3b24750a9d41f0db16c0
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Wed Jan 27 12:22:52 2021 +0100

    fix: NullPointerException when using <f:viewParam>
    issue: TOBAGO-2066
---
 .../main/java/org/apache/myfaces/tobago/internal/util/RenderUtils.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/RenderUtils.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/RenderUtils.java
index e28b2fa..c401822 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/RenderUtils.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/RenderUtils.java
@@ -247,7 +247,7 @@ public final class RenderUtils {
       url = viewHandler.getBookmarkableURL(
           facesContext,
           outcome,
-          null,
+          Collections.emptyMap(),
           true);
     } else if (link != null) {
       if (StringUtils.isUrl(link)) { // external link