IBM Support

PH43219: NULLPOINTEREXCEPTION IN CTG CLIENT WITH JAVA 17

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

  • When no commarea data is provided a null pointer exception
    occurs with Java 17.0.1 whereas with Java 11.0.2 it does not
    happen.
    

Local fix

Problem summary

  • A Null Pointer Exception is thrown in the ECIRequest class when
    Java 17.0.0 is used.
    
    The following exception will be logged in the CICS TG Java
    Client application console:
    
    java.lang.NullPointerException: Cannot read the array length
    because "b" is null
    at
    java.base/java.io.DataInputStream.readFully(DataInputStream.java
    :198)
    at com.ibm.ctg.client.ECIRequest.readObject(Unknown Source)
    at com.ibm.ctg.client.TcpJavaGateway.run(Unknown Source)
    at java.base/java.lang.Thread.run(Thread.java:833)
    

Problem conclusion

  • CICS TG is changed to support Java 17.0.0.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH43219

  • Reported component name

    CTG V9 FOR Z/OS

  • Reported component ID

    5655Y2000

  • Reported release

    920

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-01-10

  • Closed date

    2022-07-05

  • Last modified date

    2022-09-08

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

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

    PH47499

Fix information

  • Fixed component name

    CTG V9 FOR Z/OS

  • Fixed component ID

    5655Y2000

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMJ2","label":"CICS Transaction Gateway"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.2","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
08 September 2022