IV20329: API/JAVAX_XML/CRYPTO/VALIDATION/VALIDATE FAILS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.NullPointerException
    .
    Stack Trace: java.lang.NullPointerException
     at
    java.security.Signature$SignatureImpl.engineInitVerify(Signature
    .java:508)
     at java.security.Signature.initVerify(Signature.java:181)
     at
    com.ibm.xml.crypto.dsig.SignatureEngineDSA.initVerify(SignatureE
    ngineDSA.java:78)
     at
    com.ibm.xml.crypto.dsig.dom.SignedInfoImpl.validate(SignedInfoIm
    pl.java:236)
     at
    com.ibm.xml.crypto.dsig.dom.XMLSignatureImpl.validateSignedInfo(
    XMLSignatureImpl.java:200)
     at
    com.ibm.xml.crypto.dsig.dom.XMLSignatureImpl.validate(XMLSignatu
    reImpl.java:192)
     at
    javasoft.sqe.tests.api.javax.xml.crypto.XMLDSigValidator.validat
    eDocument(XMLDSigValidator.java:172)
     at
    javasoft.sqe.tests.api.javax.xml.crypto.XMLDSigValidator.validat
    eDocument(XMLDSigValidator.java:92)
     at
    javasoft.sqe.jck.lib.XMLDSigProviderTest.validateVariant(XMLDSig
    ProviderTest.java:165)
     at
    javasoft.sqe.tests.api.javax.xml.crypto.validation.detachedTests
    .detached0002000(detachedTests.java:41)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at
    javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.jav
    a:406)
     at
    javasoft.sqe.jck.lib.XMLDSigProviderTest.invokeTestCase(XMLDSigP
    roviderTest.java:103)
     at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
    .
    

Local fix

Problem summary

  • The problem is caused when invoking Signature.initVerify() with
    an invalid key makes the Signature object not reusable.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR11
    6.0.1 SR2
    .
    The Signature has been updated to prevent the
    NullPointException.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV20329

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-27

  • Closed date

    2012-04-27

  • Last modified date

    2012-04-27

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

6.0

Reference #:

IV20329

Modified date:

2012-04-27

Translate my page

Machine Translation

Content navigation