VOOZH about

URL: https://www.ibm.com/support/pages/apar/IJ00561

⇱ IJ00561: CALLING CIPHER.GETPARAMETERS() FOR AESGCM CIPHER WITH IBMJCE THROWS EXCEPTION


IJ00561: CALLING CIPHER.GETPARAMETERS() FOR AESGCM CIPHER WITH IBMJCE THROWS EXCEPTION

APAR status

  • Closed as program error.

Error description

  • Error Message: A java.lang.IllegalArgumentException is thrown
    when calling Cipher.getParameters() for an AESGCM cipher with
    the IBMJCE provider.
    .
    Stack Trace: java.lang.IllegalArgumentException: src array is
    null
     at javax.crypto.spec.GCMParameterSpec.<init>(Unknown Source)
     at
    com.ibm.crypto.provider.AESGCMCipher.engineGetParameters(Unknown
    Source)
     at javax.crypto.Cipher.a(Unknown Source)
     at javax.crypto.Cipher.init(Unknown Source)
     at javax.crypto.Cipher.init(Unknown Source)
    .
    

Local fix

Problem summary

  • A java.lang.IllegalArgumentException is thrown when calling
    Cipher.getParameters() for an AESGCM Cipher with the IBMJCE
    provider.
    

Problem conclusion

  • A IBMJCE provider has been updated to prevent the exception from
    occurring when getting parameters for an AESGCM Cipher from the
    IBMJCE provider.
    The associated Hursley RTC Problem Report is 135139
    The associated Austin CMVC defect is 117705
    JVMs affected: Java 8
    The fix was delivered for Java 8 SR5FP5
    The affected jar is "ibmjceprovider.jar".
    The build level of this jar for the affected releases is
    "20170926"
    .
    This APAR will be fixed in the following Java Releases:
     8 SR5 FP5 (8.0.5.5)
    .
    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

    IJ00561

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-10-05

  • Closed date

    2017-10-05

  • Last modified date

    2017-10-05

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

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

  • Fixed component name

    SECURITY

  • Fixed component ID

    620700125

Applicable component levels

  • R270 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