IBM Support

IV58795: NULLPOINTEREXCEPTION WHEN PRINTING PRIVATEKEY

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: java.lang.NullPointerExceptionat
    com.ibm.security.pkcs8.PrivateKeyInfo.encode(PrivateKeyInfo.java
    :253)at
    com.ibm.security.pkcsutil.PKCSDerObject.encode(PKCSDerObject.jav
    a:177)at
    com.ibm.security.pkcs8.PrivateKeyInfo.getEncoded(PrivateKeyInfo.
    java:485)at
    com.ibm.security.pkcs8.PrivateKeyInfo.hashCode(PrivateKeyInfo.ja
    va:674)at
    com.ibm.security.pkcs8.PrivateKeyInfo.toString(PrivateKeyInfo.ja
    va:638)at java.lang.String.valueOf(String.java:1675)at
    java.lang.StringBuilder.append(StringBuilder.java:194)at
    keygen.main(keygen.java:53)
    .
    The problem happens when the PKCS11 private key is SENSITIVE.
    

Local fix

  • N/A
    

Problem summary

  • When the PKCS11 private key is SENSITIVE, it's key algorithm is
    not available for encoding.
    

Problem conclusion

  • This APAR will be fixed in the following Java Releases:
       7 R1 SR1       (7.1.1.0)
       7    SR7       (7.0.7.0)
       6    SR16      (6.0.16.0)
       6 R1 SR8       (6.1.8.0)
       5.0  SR16 FP6  (5.0.16.6)
    .
    A fix is made to IBMPKCS11Impl provider to omit the null key
    algorithm.The associated Hursley RTC Problem Report is 61009The
    associated Austin CMVC defect is 115360JVMs affected: Java 5.0,
    Java 6.0, Java 626, Java 7.0 and Java 727The fix was delivered
    for Java 5.0 SR16FP6, Java 6.0 SR16, Java 626 SR8 and Java 7.0
    SR7The affected jar is "ibmpkcs11impl.jar".The build level of
    this jar for the affected releases is "20140317"
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV58795

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-04

  • Closed date

    2014-04-04

  • Last modified date

    2014-04-04

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

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

    IV58796

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