IBM Support

PI67955: LDAP CONNECTION TIMEOUT LEADS TO NULLPOINTEREXCEPTION.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • LDAP connection timeout leads to a NullPointerException.
    
    [8/16/16 13:34:55:129 EDT] 00000087 exception     E
    com.ibm.ws.wim.adapter.ldap.LdapConnection getDirContext
    com.ibm.websphere.wim.exception.WIMSystemException: CWWIM4520E
     The 'javax.naming.NamingException: LDAP response read timed
    out, timeout used:20000ms.' naming exception occurred during
    processing.
     at
    com.ibm.ws.wim.adapter.ldap.LdapConnection.getDirContext(LdapCon
    nection.java:1630)
     at
    com.ibm.ws.wim.adapter.ldap.LdapAdapter.isDominounidSupport(Ldap
    Adapter.java:292)
     at
    com.ibm.ws.wim.adapter.ldap.LdapAdapter.resetDefaultDominoExtIdA
    ttributes(LdapAdapter.java:281)
     at
    com.ibm.ws.wim.adapter.ldap.LdapAdapter.initialize(LdapAdapter.j
    ava:257)
     ...
    
    [8/16/16 13:34:55:129 EDT] 00000087 SimpleVMMCont E   Caught
    Exception Creating Local Service Provider
    java.lang.NullPointerException
     at
    com.ibm.ws.wim.adapter.ldap.LdapConnection.releaseDirContext(Lda
    pConnection.java:1457)
     at
    com.ibm.ws.wim.adapter.ldap.LdapAdapter.isDominounidSupport(Ldap
    Adapter.java:303)
     at
    com.ibm.ws.wim.adapter.ldap.LdapAdapter.resetDefaultDominoExtIdA
    ttributes(LdapAdapter.java:281)
     at
    com.ibm.ws.wim.adapter.ldap.LdapAdapter.initialize(LdapAdapter.j
    ava:257)
     ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server federated  *
    *                  repository users                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: An LDAP request time out is leading     *
    *                      to a NullPointerException.              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When attempting to make a connection to an LDAP server a
    connection timeout was leading to a NullPointerException when
    trying to release the DirContext object. Since the connection
    was never made due to the timeout, the DirContext instance was
    null leading to a a NullPointerExceptoin.
    

Problem conclusion

  • The DirContext is now checked to ensure it is not null before
    trying to release it.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 7.0.0.45, 8.0.0.14, 8.5.5.12 and 9.0.0.5.  Please
    refer to the Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI67955

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-08-23

  • Closed date

    2017-06-05

  • Last modified date

    2017-06-05

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022