struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-4436) NullPointerException in ParametersInterceptor.isAcceptableValue
Date Tue, 23 Dec 2014 20:55:13 GMT

     [ https://issues.apache.org/jira/browse/WW-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart resolved WW-4436.
-------------------------------
    Resolution: Fixed
      Assignee: Lukasz Lenart

Resolved, thanks for reporting!

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

Mime
View raw message