IBM Support

IV87148: NULLPOINTEREXCEPTION IN HWKEYTOOL -GENSECKEY WITH PKCS11 KEYSTOR E

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: hwkeytool error (likely untranslated):
    java.lang.NullPointerException
    .
    Stack Trace: N/A
    .
    NullPointerException when using hwkeytool -genseckey to create a
    new symmetric key in a PKCS11 keystore.
    

Local fix

  • Secret keys can be created for PKCS11 using the gskkyman command
    or by generating them programmatically.
    

Problem summary

  • NullPointerException in hwkeytool -genseckey with PKCS11
    keystore
    

Problem conclusion

  • hwkeytool -genseckey has been updated to prevent this
    NullPointerException.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR3 FP10  (8.0.3.10)
       7 R1 SR3 FP50  (7.1.3.50)
       7    SR9 FP50  (7.0.9.50)
    .
    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

    IV87148

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-21

  • Closed date

    2016-07-21

  • Last modified date

    2016-07-21

  • 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

[{"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":"270","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
07 December 2020