[
https://issues.apache.org/jira/browse/TOBAGO-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Nöth resolved TOBAGO-2467.
----------------------------------
Resolution: Fixed
> Unhelpful error message for missing outcome URL and broken HTML
> ---------------------------------------------------------------
>
> Key: TOBAGO-2467
> URL: https://issues.apache.org/jira/browse/TOBAGO-2467
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Core
> Affects Versions: 6.9.0
> Reporter: Udo Schnurpfeil
> Assignee: Udo Schnurpfeil
> Priority: Minor
> Fix For: 6.9.1
>
>
> Having a <tc:link> or <tc:button> with attribute *outcome* and the value
> can't be found by the ViewHandler there will be an exception like
> java.lang.NullPointerException: Cannot invoke
> "jakarta.faces.view.ViewDeclarationLanguage.getViewMetadata(jakarta.faces.context.FacesContext,
> String)" because "vdl" is null
> The rendering stops immediately and the HTML page is broken.
> We want to fix this by logging this message (without stack trace) but with
> the missing path.
> The path will be written in the HTML output, but might be leading to a 404 by
> clicking this link, of course.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)