Fix (APAR): PH44602 Status: Fix Release: 9.0.5.11 Operating System: AIX,HP-UX,IBM i,Linux,Solaris,Windows,z/OS Supersedes Fixes: CMVC Defect: xxxxxx Byte size of APAR: 267328 Date: 2022-03-23 Abstract: nullpointerexception in websphere socket factory in 8.5.5.21 and 9.0.5.11 Description/symptom of problem: PH44602 resolves the following problem: 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: There is a NullPointerException in the socket factory if there are no properties provided. RECOMMENDATION: None NullPointerException in socket factory if no properties provided for the connection. java.lang.NullPointerException at com.ibm.websphere.ssl.protocol.SSLSocketFactory.setSSLSocketProp e rties(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. (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: Change code to check to see if the properties exist 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 Directions to apply fix: Install Fix to all WebSphere installations unless special instructions are included below. Special Instructions: None NOTE: The user must: * Logged in with the same authority level when unpacking a fix, fix pack or refresh pack. * Be at V1.8.5 or newer of the Installation Manager. Certain iFixes may require a newer version of the Installation Manager and the Installation Manager will inform you during the installation process if a newer version is required. The IBM Information Center can provide details, if needed, on the use of the Installation Manager to apply the iFixes. http://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.ui.doc/helpindex_imic.html. Shutdown WebSphere Application Server before applying the iFixes. Restart WebSphere Application Server after applying the iFixes. Directions to remove fix: The IBM Information Center can provide details, if needed, on the use of the Installation Manager to remove the iFixes. http://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.ui.doc/helpindex_imic.html. Shutdown WebSphere Application Server before removing the iFixes. Restart WebSphere Application Server after removing the iFixes. Directions to re-apply fix: 1) Shutdown WebSphere Application Server. 2) Follow the Fix instructions to apply the fix. 3) Restart WebSphere Application Server. Additional Information: