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

Hudson commented on WW-4436:
----------------------------

SUCCESS: Integrated in Struts-JDK7-pull-request #21 (See 
[https://builds.apache.org/job/Struts-JDK7-pull-request/21/])
WW-4436 Fixes NPE and uses String.valueOf() instead of .toString() 
(lukaszlenart: rev 2bea99e96b448585caa0080ac1dc5faa1db85826)
* 
xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java


> NullPointerException in ParametersInterceptor.isAcceptableValue
> ---------------------------------------------------------------
>
>                 Key: WW-4436
>                 URL: https://issues.apache.org/jira/browse/WW-4436
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.3.20
>            Reporter: Mitth'raw'nuruodo
>            Assignee: Lukasz Lenart
>              Labels: easyfix
>             Fix For: 2.3.21
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> ParametersInterceptor.isAcceptableValue (in XWork 2.3.20) fails to check 
> whether array elements are null before calling toString on them, which can 
> lead to NPE at line 365.
> A safer option would be to use String.valueOf instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to