struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-3311) NullPointerException in CheckboxInterceptor when parameters are null
Date Sun, 01 Nov 2009 00:48:50 GMT

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

Musachy Barroso commented on WW-3311:
-------------------------------------

we appreciate the report. I think what we should do is remove the null check in xwork, for
consistency 

> NullPointerException in CheckboxInterceptor when parameters are null
> --------------------------------------------------------------------
>
>                 Key: WW-3311
>                 URL: https://issues.apache.org/struts/browse/WW-3311
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.1.6
>         Environment: Struts 2.1.6, but no changes in 2.1.8
>            Reporter: Cimballi
>             Fix For: 2.2.0
>
>
> There is a NullPointerException in the CheckboxInterceptor when parameters are null at
the following line :
> Set<Map.Entry> entries = parameters.entrySet();
> I don't know if "theorically" it should check or not for null parameters, but the XWork
interceptors check it, so I think Struts2 interceptors should also check for null parameters.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message