Null pointer Excepton: org.opensaml.xml.signature.SignatureValidator.buildSignature

Brent Putman putmanb at georgetown.edu
Thu Sep 17 16:35:04 EDT 2015



On 9/17/15 1:49 PM, Cantor, Scott wrote:
> On 9/17/15, 1:43 PM, "dev on behalf of Keith Kenneth" <dev-bounces at shibboleth.net on behalf of kedward778 at gmail.com> wrote:
>
>> Hello,I am very new to this.I am using firefox and SAML tracer to watch the transactions with the idp and sp for my java web app running on tomcat. I can see a successful assertion come back to my sp from the idp, but then when the sp is processing I see the nullPointerException below. Can you please recommend ways to troubleshoot?
> That's not a Shibboleth SP (obviously), and it's a bug in the code, not a runtime troubleshooting matter unless you're the one writing the SP of course.

Looking at the line numbers in the code, I suspect that the client code
isn't checking that something is actually signed before trying to
validate the (non-existent) signature.  I.e. the Assertion or Response's
getSignature() is returning null, and that null return is being
incorrectly passed into the method SignatureValidator#validate(Signature).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150917/132e5080/attachment.html>


More information about the dev mailing list