You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Domislavskiy Michael (JIRA)" <ji...@apache.org> on 2016/06/02 17:17:59 UTC

[jira] [Created] (WSS-580) ThreadLocalSecurityProvider returns null instead of empty collection

Domislavskiy Michael created WSS-580:
----------------------------------------

             Summary: ThreadLocalSecurityProvider returns null instead of empty collection
                 Key: WSS-580
                 URL: https://issues.apache.org/jira/browse/WSS-580
             Project: WSS4J
          Issue Type: Bug
            Reporter: Domislavskiy Michael
            Assignee: Colm O hEigeartaigh


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