[ https://issues.apache.org/jira/browse/RAMPART-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruchith Udayanga Fernando resolved RAMPART-347. ----------------------------------------------- Resolution: Fixed Applied patch : revision : 1220746 > 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: RAMPART-347.diff, 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-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org