[ 
https://issues.apache.org/jira/browse/WW-4045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660492#comment-13660492
 ] 

Lukasz Lenart commented on WW-4045:
-----------------------------------

It must be something else, {{DefaultFileManger#loadFile}} can handle null - it 
will return null in that case and the rest of the code also can handle null.

Could you prepare a working example, Maven based? Or instruct me how reproduce 
that NPE?
                
> Null Pointer Exception on DefaultActionValidatorManager
> -------------------------------------------------------
>
>                 Key: WW-4045
>                 URL: https://issues.apache.org/jira/browse/WW-4045
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.7
>            Reporter: Fritzi
>             Fix For: 2.3.15
>
>
> With the change implemented on WW-3850, I think the missing piece is that if 
> the validatorFileCache does not contain the fileName being modified, that the 
> line  is = fileManager.loadFile(fileUrl); is still being executed which will 
> still result in a null pointer exception.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to