[
https://issues.apache.org/jira/browse/WW-4743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859705#comment-15859705
]
Aleksandr Mashchenko commented on WW-4743:
------------------------------------------
Null check with warn log if resource is null? Wdyt?
> 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)