DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28153>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28153 NullPointerException from Reference.calculateDigest() Summary: NullPointerException from Reference.calculateDigest() Product: Security Version: C++ 0.20 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Signature AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I've been compiling a comprehensive test suite for my class which is wrapping XMLSignature.sign and XMLSignature.checkSignatureValue. When I modify or remove the DigestMethod/@Alorithm or DigestValue/text the xml-security library throws a NullPointerException. This should be wrapped. testOmittedDigestMethod( ... xml.security.XmlEnvelopingDocumentTest)java.lang.NullPointerException at org.apache.xml.security.signature.Reference.calculateDigest(Unknown Source) at org.apache.xml.security.signature.Reference.verify(Unknown Source) at org.apache.xml.security.signature.Manifest.verifyReferences(Unknown Source) at org.apache.xml.security.signature.SignedInfo.verify(Unknown Source) at org.apache.xml.security.signature.XMLSignature.checkSignatureValue(Unknown Source)
