IBM Support

PH63390: NullPointerException when writing an SMF 123 subtype 1 version 2 record for early failure with an OpenAPI 3 server.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as unreproducible in next release.

Error description

  • When a z/OS Connect OpenAPI 3 server is configured to write SMF
    123 subtype 1 version 2 records, with apiProviderEarlyFailure
    set to "true",to capture data for requests that fail early in
    processing, a NullPointerException with the following details
    is reported:
    
    Exception = java.lang.NullPointerException
    Source =
    com.ibm.zosconnect.internal.interceptors.InterceptorManagerImpl
    probeid = 604
    Stack Dump = java.lang.NullPointerException: Cannot invoke
       "java.lang.Boolean.booleanValue()" because "<local5>" is null
    at com.ibm.zosconnect.audit.smf.internal.SMF123SubType1V2Data.
                                            finalise(Unknown Source)
    at com.ibm.zosconnect.audit.smf.internal.AuditSMFInterceptorImpl
                                       .earlyFailure(Unknown Source)
    at com.ibm.zosconnect.internal.interceptors.
     InterceptorManagerImpl.callInterceptorPreInvoke(Unknown Source)
    at com.ibm.zosconnect.internal.interceptors.
             InterceptorManagerImpl.processPreInvoke(Unknown Source)
    at com.ibm.zosconnect.internal.interceptors.
                    InterceptorManagerImpl.earlyFail(Unknown Source)
    at com.ibm.zosconnect.interceptors.internal.
    ...
    
    Additional search words: null pointer exception
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of z/OS Connect V3.0 OpenAPI 3     *
    *                 recording SMF 123 subtype 1 version 2        *
    *                 records and early failure data.              *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException when writing an    *
    *                      SMF 123 subtype 1 version 2 record for  *
    *                      early failure with an OpenAPI 3 server. *
    ****************************************************************
    When the z/OS Connect audit interceptor element
    zosconnect_auditInterceptor was configured with the
    apiProviderSmfVersion="2 and apiProviderEarlyFailure="true"
    attributes to record API provider SMF 123 subtype 1 version 2
    records with early failure data a null value was used.
    

Problem conclusion

Temporary fix

Comments

  • z/OS Connect has been corrected to prevent the use of the null
    value being used when writing SMF 123, so that the reported
    NullPointerException is not written.
    
    The fix for this APAR is expected to be delivered by the PTFs
    for z/OS Connect V3.0.86.0 (PH63390).
    

APAR Information

  • APAR number

    PH63390

  • Reported component name

    Z/OS CONNECT EE

  • Reported component ID

    5655CE300

  • Reported release

    003

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-09-25

  • Closed date

    2024-10-07

  • Last modified date

    2024-10-07

  • 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

    Z/OS CONNECT EE

  • Fixed component ID

    5655CE300

Applicable component levels

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSVVFY","label":"z\/OS Connect Enterprise Edition"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"003"}]

Document Information

Modified date:
07 October 2024