IBM Support

PH45670: NULLPOINTEREXCEPTION IN SOCKET FACTORY IN 8.5.5.21 AND 9.0.5.11.

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

  • A java.lang.NullPointerException error occurs in the in
    WebSphere socket factory when no properties are provided for
    the connection.   This error was introduced and applies only
    to fix packs to 8.5.5.21 and 9.0.5.11.
    
    1. You might observe the following call stack in FFDC:
    java.lang.NullPointerException
    at
    com.ibm.websphere.ssl.protocol.SSLSocketFactory.setSSLSocketProp
    erties(SSLSocketFactory.java:692)
    at
    com.ibm.websphere.ssl.protocol.SSLSocketFactory.createSocket(SSL
    SocketFactory.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.(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
    LConnection.java:1174)
    at
    sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURL
    Connection.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
    tionServer$TestActivity.testWork(WebsphereApplicationServer.java
    :411)
    
    
    2. You might observe an error like the following from the
    manageprofiles command or the migration tool command:
    dmgrHost: Unable to connect to the deployment manager on the
    specified hostname and port
    
    
    3. You might observe ORB fails to initialize with the
    following trace:
    
    14:35:03.380 com.ibm.ws.orbimpl.transport.WSTransport
    init(ORB) P=101302:O=0:CT ORBRas[default] SECURITY CONFIG
    ERROR:  Error loading security interceptor, security is
    disabled.  Check to ensure com.ibm.CORBA.ConfigURL is setup
    correctly and that SAS.JAR is in the classpath.
    14:35:03.771 com.ibm.ws.orbimpl.transport.WSTransport
    init(ORB) P=101302:O=0:CT ORBRas[default] Invalid
    ConnectionInterceptor name. The invalid name is:
    com.ibm.ISecurityLocalObjectBaseL13Impl.SecurityConnectionInterc
    eptor
    14:35:03.771 com.ibm.ws.orbimpl.transport.WSTransport
    init(ORB) P=101302:O=0:CT ORBRas[default]
    org.omg.CORBA.INITIALIZE:   vmcid: 0x0  minor code: 0
    completed: No
       at
    com.ibm.ISecurityUtilityImpl.ServiceInit.init(ServiceInit.java:2
    37)
       at
    com.ibm.ISecurityUtilityImpl.ServiceInit.initialize(ServiceInit.
    java:119)
       at
    com.ibm.ISecurityLocalObjectBaseL13Impl.SecurityConnectionInterc
    eptor.init(SecurityConnectionInterceptor.java:352)
       at
    com.ibm.ISecurityLocalObjectBaseL13Impl.SecurityConnectionInterc
    eptor.init(SecurityConnectionInterceptor.java:330)
       at
    com.ibm.ws.orbimpl.transport.WSTransport.init(WSTransport.java:1
    68)
       at
    com.ibm.rmi.corba.PluginRegistry.initPlugin(PluginRegistry.java:
    228)
       at
    com.ibm.rmi.corba.PluginRegistry.initPlugins(PluginRegistry.java
    :214)
       at
    com.ibm.rmi.corba.PluginRegistry.initPlugin(PluginRegistry.java:
    195)
       at
    com.ibm.rmi.corba.ORB.initializePrereqPlugins(ORB.java:652)
       at com.ibm.rmi.corba.ORB.orbParameters(ORB.java:1432)
       at com.ibm.rmi.corba.ORB.set_parameters(ORB.java:1356)
       at com.ibm.CORBA.iiop.ORB.set_parameters(ORB.java:1697)
       at org.omg.CORBA.ORB.init(ORB.java:473)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: This problem can surface in 3 different *
    *                      areas.                                  *
    *                      1. NullPointerException in socket       *
    *                      factory in 8.5.5.21 and 9.0.5.11.       *
    *                      2. The Profile management GUI tool and  *
    *                      the migration GUI tool cannot connect   *
    *                      with Deployment manager.                *
    *                      3. The ORB fails to initialize          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    NullPointerException may be seen on client programs that do not
    provide configuration.
    ava.lang.NullPointerException
    at com.ibm.websphere.ssl.protocol.SSLSocketFactory.setSSLSocket
    Properties(SSLSocketFactory.java:692)
    at com.ibm.websphere.ssl.protocol.SSLSocketFactory.createSocket
    (SSLSocketFactory.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.jav
    a:78)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Ht
    tpURLConnection.java:1174)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Htt
    pURLConnection.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.
    

Problem conclusion

  • Check for the existence of properties before trying to use them.
    
    The fix for this APAR is targeted for inclusion in fix pack
    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

    PH45670

  • 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-04-13

  • Closed date

    2022-04-15

  • Last modified date

    2022-05-24

  • 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:
25 May 2022