[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-security-dev
Subject:    DO NOT REPLY [Bug 40819]  New:  - NPE in IdResolver
From:       bugzilla () apache ! org
Date:       2006-10-26 13:36:11
Message-ID: bug-40819-6260 () http ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

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=40819>.
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=40819

           Summary: NPE in IdResolver
           Product: Security
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: info@frankcornelis.be


xmlsec-1.4.RC3 gives an NPE in IdResolver. xmlsec-1.4.beta2 did not do this.


java.lang.NullPointerException
	at org.apache.xml.security.utils.IdResolver.isElement(IdResolver.java:237)
	at org.apache.xml.security.utils.IdResolver.getEl(IdResolver.java:198)
	at
org.apache.xml.security.utils.IdResolver.getElementBySearching(IdResolver.java:176)
	at org.apache.xml.security.utils.IdResolver.getElementById(IdResolver.java:117)
	at
org.apache.xml.security.utils.resolver.implementations.ResolverFragment.engineResolve(ResolverFragment.java:88)
  at
org.apache.xml.security.utils.resolver.ResourceResolver.resolve(ResourceResolver.java:259)
  at
org.apache.xml.security.signature.Reference.getContentsBeforeTransformation(Reference.java:400)
  at
org.apache.xml.security.signature.Reference.dereferenceURIandPerformTransforms(Reference.java:612)
  at org.apache.xml.security.signature.Reference.calculateDigest(Reference.java:689)
	at
org.apache.xml.security.signature.Reference.generateDigestValue(Reference.java:364)
	at
org.apache.xml.security.signature.Manifest.generateDigestValues(Manifest.java:180)
	at org.apache.xml.security.signature.XMLSignature.sign(XMLSignature.java:491)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic