IBM Support

IV71743: IBMPKCS11IMPL - 'OBJECT HANDLE IS INVALID' EXCEPTION

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: N/A
    .
    Stack Trace: N/A
    .
    While attempting to convert a PKCS11 RSAPrivateKey into a new
    RSAPrivateKey with attributes appropriate for a PKCS11KeyStore
    entry, the PKCS11KeyStore class was incorrectly attempting to
    free the hardware object associated with the original key.  That
    cleanup responsibility lies with the finalize method of the
    RSAPrivateKey class.
    

Local fix

Problem summary

  • While attempting to convert a PKCS11 RSAPrivateKey into a new
    RSAPrivateKey with attributes appropriate for a PKCS11KeyStore
    entry, the PKCS11KeyStore class was incorrectly attempting to
    free the hardware object associated with the original
    RSAPrivateKey.  That cleanup responsibility lies with the
    finalize method of the RSAPrivateKey class.
    

Problem conclusion

  • The logic which was incorrectly attempting to free the hardware
    object associated with the original key was removed.  This
    allowed the hardware object associatedwith the original
    RSAPrivateKey to be freed as it should have been.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR1       (8.0.1.0)
       7    SR9       (7.0.9.0)
       7 R1 SR3       (7.1.3.0)
       6    SR16 FP4  (6.0.16.4)
       6 R1 SR8 FP4   (6.1.8.4)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV71743

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-31

  • Closed date

    2015-03-31

  • Last modified date

    2015-03-31

  • 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

    SECURITY

  • Fixed component ID

    620700125

Applicable component levels

  • R270 PSY

       UP

  • R260 PSY

       UP

  • R600 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Security

Software version: 270

Reference #: IV71743

Modified date: 31 March 2015