IBM Support

IV67882: PKCS11KEYSTORE - 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: An attempt by an application to create a
    PrivateKeyEntry within a PKCS11 KeyStore can result in an
    "Object handle is invalid" exception.
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • An attempt by an application to create a PrivateKeyEntry within
    a PKCS11 KeyStore can result in an "Object handle is invalid"
    exception.
    

Problem conclusion

  • Code within the PKCS11KeyStore convertPrivKeyObj( ) method
    assumeed that it is responsible for cleaning up the PKCS11Object
    associated with the private key thatis passed to it.  The
    finalize( ) method of the keypassed in actually has that
    responsibility.  The offending snippet of code has been removed.
    .
    This APAR will be fixed in the following Java Releases:
       7    SR8 FP10  (7.0.8.10)
       6 R1 SR8 FP3   (6.1.8.3)
       7 R1 SR2 FP10  (7.1.2.10)
       6    SR16 FP3  (6.0.16.3)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV67882

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-12

  • Closed date

    2015-01-18

  • Last modified date

    2015-01-18

  • 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

  • R260 PSY

       UP

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"260","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
07 December 2020