You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by "Lau, Soo-Leng" <so...@citigroup.com> on 2004/05/14 03:07:08 UTC

getNodeSet() called but no input data present

Hello,

I am trying to sign the attached SAML document using the improved performance jar and got the following error. Could you give a clue as to why ? 

java.lang.RuntimeException: getNodeSet() called but no input data present
	at org.apache.xml.security.signature.XMLSignatureInput.getNodeSet(Unknown Source)
	at org.apache.xml.security.transforms.implementations.TransformEnvelopedSignature.enginePerformTransform(Unknown Source)
	at org.apache.xml.security.transforms.Transform.performTransform(Unknown Source)
	at org.apache.xml.security.transforms.Transforms.performTransforms(Unknown Source)
	at org.apache.xml.security.signature.Reference.getContentsAfterTransformation(Unknown Source)
	at org.apache.xml.security.signature.Reference.dereferenceURIandPerformTransforms(Unknown Source)
	at org.apache.xml.security.signature.Reference.getReferencedBytes(Unknown Source)
	at org.apache.xml.security.signature.Reference.calculateDigest(Unknown Source)
	at org.apache.xml.security.signature.Reference.generateDigestValue(Unknown Source)
	at org.apache.xml.security.signature.Manifest.generateDigestValues(Unknown Source)
	at org.apache.xml.security.signature.XMLSignature.sign(Unknown Source)


Thanks.

Soo Leng


Re: getNodeSet() called but no input data present

Posted by ra...@r-bg.com.
> Hello,
>
> I am trying to sign the attached SAML document using the improved
> performance jar and got the following error. Could you give a clue as
> to why ?
>
I think this one of the jar i send with the patches, please can you
download the CVS code and try again(there are bugfixes in the CVS, that
weren't in the .jar I sent).
> java.lang.RuntimeException: getNodeSet() called but no input data
> present
> 	at
> 	org.apache.xml.security.signature.XMLSignatureInput.getNodeSet(Unknown
> 	Source) at
> 	org.apache.xml.security.transforms.implementations.TransformEnvelopedSignature.enginePerformTransform(Unknown> 	Source) at
> 	org.apache.xml.security.transforms.Transform.performTransform(Unknown
> 	Source) at
> 	org.apache.xml.security.transforms.Transforms.performTransforms(Unknown
> 	Source) at
> 	org.apache.xml.security.signature.Reference.getContentsAfterTransformation(Unknown> 	Source) at
> 	org.apache.xml.security.signature.Reference.dereferenceURIandPerformTransforms(Unknown> 	Source) at
> 	org.apache.xml.security.signature.Reference.getReferencedBytes(Unknown
> 	Source) at
> 	org.apache.xml.security.signature.Reference.calculateDigest(Unknown
> 	Source) at
> 	org.apache.xml.security.signature.Reference.generateDigestValue(Unknown
> 	Source) at
> 	org.apache.xml.security.signature.Manifest.generateDigestValues(Unknown
> 	Source) at org.apache.xml.security.signature.XMLSignature.sign(Unknown
> 	Source)
>
>
This is normaly means that the transformations you do or the URI you set
in the signature doesn't resolve to any nodes. Please check the URI in the
signature or the xpath, if you don't see any problem please post your
signature parameters.
Regards,