IBM Support

PH44602: NULLPOINTEREXCEPTION IN WEBSPHERE SOCKET FACTORY IN 8.5.5.21 AND 9.0.5.11

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • There is a NullPointerException in the WebSphere socket
    factory if there are no properties provided. This error was
    introduced and only applies to 8.5.5.21 and 9.0.5.11.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: ** THIS APAR HAS BEEN SUPERSEDED BY     *
    *                      PH45670 *                               *
    *                      Please see details at                   *
    *                      https://www.ibm.com/support/pages/ph456 *
    *                      70nullpointerexception-websphere-       *
    *                      socket-factory-85521-and-90511          *
    *                      There is a NullPointerException in the  *
    *                      socket factory if there are no          *
    *                      properties                              *
    *                      provided.                               *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack or interim fix that      *
    *                  contains this APAR.                         *
    ****************************************************************
    A java.lang.NullPointerException error occurs in the in
    WebSphere socket factory if no properties are provided for the
    connection.
    java.lang.NullPointerException
    at
    com.ibm.websphere.ssl.protocol.SSLSocketFactory.setSSLSocketProp
    erties(SSLSocketFactory.java:692)
    at
    com.ibm.websphere.ssl.protocol.SSLSocketFactory.createSocket(SSL
    S
    ocketFactory.java:391)
    at
    com.ibm.ws.ssl.config.WSSocket.connect(WSSocket.java:225)
    at
    sun.net.NetworkClient.doConnect(NetworkClient.java:192)
    at
    sun.net.www.http.HttpClient.openServer(HttpClient.java:494)
    at
    sun.net.www.http.HttpClient.openServer(HttpClient.java:589)
    at com.ibm.net.ssl.www2.protocol.https.c.<init>
    (c.java:19)
    at com.ibm.net.ssl.www2.protocol.https.c.a(c.java:30)
    at
    com.ibm.net.ssl.www2.protocol.https.d.getNewHttpClient(d.java:78
    )
    at
    sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpUR
    L
    Connection.java:1174)
    at
    sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURL
    C
    onnection.java:1068)
    at
    com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:73)
    at
    com.ibm.net.ssl.www2.protocol.https.b.connect(b.java:90)
    at
    com.ibm.ecm.configmgr.app.acm.util.RESTHttpsURLConnection.invoke
    (
    RESTHttpsURLConnection.java:275)
    at
    com.ibm.ecm.configmgr.app.acm.applicationserver.WebsphereApplica
    t
    ionServer$TestActivity.testWork(WebsphereApplicationServer.java:
    4
    11)
    

Problem conclusion

  • The WebSphere runtime is updated to check if properties exist
    before attempting to use them.
    
    The fix for this APAR is targeted for inclusion in fix packs
    8.5.5.22 and 9.0.5.12
    
    For more information, see 'Recommended Updates for WebSphere
    Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH44602

  • 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

    2022-03-03

  • Closed date

    2022-03-15

  • Last modified date

    2022-05-18

  • 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

[{"Line of Business":{"code":"LOB45","label":"Automation"},"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"}]

Document Information

Modified date:
19 May 2022