axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Jayasekara (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (RAMPART-347) Correct error message is masked due to a NullPointerException in SAMLTokenIssuer
Date Mon, 19 Dec 2011 09:14:30 GMT

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

Amila Jayasekara updated RAMPART-347:
-------------------------------------

    Attachment: exception.txt
    
> Correct error message is masked due to a NullPointerException in SAMLTokenIssuer 
> ---------------------------------------------------------------------------------
>
>                 Key: RAMPART-347
>                 URL: https://issues.apache.org/jira/browse/RAMPART-347
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-trust
>    Affects Versions: 1.6.1
>         Environment: Ubuntu, Linux
>            Reporter: Amila Jayasekara
>         Attachments: exception.txt
>
>
> When rampart is unable to find "trusted certificate" for service address it gives a java.lang.NullPointerException.
createHokAssertion method handles exception as follows,
> throw new TrustException(
>                         "errorInBuildingTheEncryptedKeyForPrincipal",
>                         new String[] { serviceCert.getSubjectDN().getName() },
>                         e);
> But serviceCert could be null and due to this the proper error message is masked with
a NullPointerException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message