IBM Support

IT25755: JCC : java.lang.NullPointerException under heavy load connectingto Db2 z/OS with KEEPDYNAMIC set to YES in server.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • JCC driver results java.lang.NullPointerException under heavy
    load and connecting to Db2 z/OS.
    This happens when the KEEPDYNAMIC is yes in server. The probable
    Error stack trace is like below.
    java.lang.NullPointerException: while trying to invoke the
    method java.util.Map.get(java.lang.Object) of a null object
    loaded from field com.ibm.db2.jcc.t4.ic.M of an object loaded
    from local variable 'this'
    at com.ibm.db2.jcc.t4.ic.a(ic.java:2290)
    at com.ibm.db2.jcc.t4.bb.a(bb.java:4292)
    at com.ibm.db2.jcc.t4.bb.a(bb.java:2719)
    at com.ibm.db2.jcc.t4.bb.a(bb.java:2643)
    at com.ibm.db2.jcc.t4.bb.q(bb.java:1491)
    at com.ibm.db2.jcc.t4.bb.l(bb.java:681)
    at com.ibm.db2.jcc.t4.bb.d(bb.java:109)
    at com.ibm.db2.jcc.t4.p.c(p.java:44)
    at com.ibm.db2.jcc.t4.vb.j(vb.java:162)
    at com.ibm.db2.jcc.am.dq.nb(dq.java:2249)
    at com.ibm.db2.jcc.am.eq.a(eq.java:4638)
    at com.ibm.db2.jcc.am.eq.b(eq.java:4154)
    at com.ibm.db2.jcc.am.eq.oc(eq.java:774)
    at com.ibm.db2.jcc.t4.j.oc(j.java:144)
    at com.ibm.db2.jcc.am.eq.executeQuery(eq.java:739)
    at
    com.sap.sql.jdbc.db2.Db2PortingServices.getUTCTimestamp(Db2Porti
    ngServices.java:75)
    at
    com.sap.sql.services.OpenSQLServicesImpl.getUTCTimestamp(OpenSQL
    ServicesImpl.java:95)
    at
    com.sap.sql.services.OpenSQLPublicServices.getUTCTimestamp(OpenS
    QLPublicServices.java:118)
    at
    com.sap.sql.DatabaseServices.getUTCTimestamp(DatabaseServices.ja
    va:47)
    at
    com.sap.tc.cbs.server.db.impl.DBAccess.getUTCTimestamp(DBAccess.
    java:317)
    at
    com.sap.tc.cbs.server.db.impl.AdminDB.getUTCTimestamp(AdminDB.ja
    va:104)
    at
    com.sap.tc.cbs.server.rt.rq.ARequestQueueStrategy.listNextReques
    ts(ARequestQueueStrategy.java:117)
    at
    com.sap.tc.cbs.server.rt.rq.RequestOrc.pickUpNextRequest(Request
    Orc.java:134)
    at
    com.sap.tc.cbs.server.rt.rq.RequestOrc.processQueue(RequestOrc.j
    ava:410)
    at
    com.sap.tc.cbs.server.rt.rq.RequestOrc.act(RequestOrc.java:372)
    at
    com.sap.tc.cbs.server.rt.impl.CourteousTimer.run(CourteousTimer.
    java:139)
    at java.lang.Thread.run(Thread.java:763)
    
    This issue has been fixed in v11.1 M4 FP4
    With the similar load there are chances to get
    ArrayIndexOutOfBoundsException as well. This issue is fixed in
    association with APAR IT29994.
    Recommendation: Upgrade to v11.1.M4 FP5
    

Local fix

Problem summary

  • SAP JDBC NPE WITH KEEPDYNAMIC
    

Problem conclusion

  • Prolem fixed in v11.1m4fp4 3.72/4.23/4.24
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT25755

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-08-02

  • Closed date

    2018-09-21

  • Last modified date

    2021-11-19

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

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

Modules/Macros

  • JCC
    

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 May 2022