[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-dev
Subject: [jira] [Commented] (WW-4436) NullPointerException in ParametersInterceptor.isAcceptableValue
From: "Hudson (JIRA)" <jira () apache ! org>
Date: 2014-12-31 17:33:17
Message-ID: JIRA.12762718.1418945915000.122529.1420047197076 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/WW-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262326#comment-14262326 \
]
Hudson commented on WW-4436:
----------------------------
FAILURE: Integrated in Struts-JDK6-master #901 (See \
[https://builds.apache.org/job/Struts-JDK6-master/901/]) 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)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic