ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WSS-580) ThreadLocalSecurityProvider returns null instead of empty collection
Date Fri, 03 Jun 2016 09:44:59 GMT

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

Colm O hEigeartaigh updated WSS-580:
------------------------------------
    Fix Version/s: 2.1.6
                   2.0.8
                   2.2.0

> ThreadLocalSecurityProvider returns null instead of empty collection
> --------------------------------------------------------------------
>
>                 Key: WSS-580
>                 URL: https://issues.apache.org/jira/browse/WSS-580
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Domislavskiy Michael
>            Assignee: Colm O hEigeartaigh
>             Fix For: 2.2.0, 2.0.8, 2.1.6
>
>         Attachments: site.patch
>
>
> in org.apache.wss4j.common.crypto.ThreadLocalSecurityProvider  
> is violated the rule 
> "return empty arrays or collections, not nulls" as a result  crash NPE in 
> org.apache.wicket.extensions.markup.html.captcha.CaptchaImageResource#detectBestFittingService()
> for (Provider.Service service : provider.getServices()) {
> ...
> }



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message