struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Mashchenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4743) NPE in StrutsTilesContainerFactory when resource isn't found
Date Thu, 09 Feb 2017 16:04:42 GMT

    [ 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)

Mime
View raw message