[
https://issues.apache.org/jira/browse/WW-4743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15863502#comment-15863502
]
Lukasz Lenart commented on WW-4743:
-----------------------------------
You are right, null-check + warn is the way to go :)
> NPE in StrutsTilesContainerFactory when resource isn't found
> ------------------------------------------------------------
>
> Key: WW-4743
> URL: https://issues.apache.org/jira/browse/WW-4743
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Tiles
> Affects Versions: 2.5.10
> Reporter: Aleksandr Mashchenko
> Priority: Minor
> Fix For: 2.5.next
>
>
> When using
> {{org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG}} with
> the path to resource that is missing, NPE is being thrown in [that
> line|https://github.com/apache/struts/blob/master/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesContainerFactory.java#L195]
> in {{StrutsTilesContainerFactory}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)