IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 April 2012