You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2022/06/16 09:05:00 UTC
[jira] [Closed] (WW-2033) [tiles] Raise more significant exception when a container is not found in TilesResult
[ https://issues.apache.org/jira/browse/WW-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart closed WW-2033.
-----------------------------
Fix Version/s: (was: 6.1.0)
Resolution: Won't Do
> [tiles] Raise more significant exception when a container is not found in TilesResult
> -------------------------------------------------------------------------------------
>
> Key: WW-2033
> URL: https://issues.apache.org/jira/browse/WW-2033
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Tiles
> Affects Versions: 2.0.8
> Reporter: Antonio Petrelli
> Priority: Major
>
> Currently, if TilesResult.doExecute does not found a container (i.e. when Tiles has not been initialized correctly), it raises a NullPointerException.
> A better exception should be thrown, to clear what really happened.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)