IBM Support

PI40330: ON WEBSPHERE A NPE CAN BE EMITTED BECAUSE THE SOCKET'S METHOD GETENABLEDPROTOCOLS SOMETIMES RETURNS NULL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following NPE is emitted sometimes when the runtime starts :
    
    [4/30/15 16:06:49:807 CEST] 00000072 SystemErr     R
    java.lang.NullPointerException
    [4/30/15 16:06:49:807 CEST] 00000072 SystemErr     R       at
    com.worklight.common.util.HttpsUtil.getDefaultEnabledProtocols(H
    ttpsUtil.java:99)
    [4/30/15 16:06:49:807 CEST] 00000072 SystemErr     R       at
    com.worklight.common.util.HttpUtil.createSemiSecuredHttpClient(H
    ttpUtil.java:592)
    [4/30/15 16:06:49:807 CEST] 00000072 SystemErr     R       at
    com.ibm.worklight.admin.jmx.ManagementMXBeanImpl.isReady(Managem
    entMXBeanImpl.java:570)
    
    The code is not protected if the sockect's method
    getEnabledProtocols returns null.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Worklight and Application Center console users               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The following NPE is sometimes  emitted when the MFP runtime *
    * starts :                                                     *
    *                                                              *
    * [4/30/15 16:06:49:807 CEST] 00000072 SystemErr     R         *
    * java.lang.NullPointerException                               *
    * [4/30/15 16:06:49:807 CEST] 00000072 SystemErr     R         *
    * at                                                           *
    * com.worklight.common.util.HttpsUtil.getDefaultEnabledProtoco *
    * ls(HttpsUtil.java:99)                                        *
    * [4/30/15 16:06:49:807 CEST] 00000072 SystemErr     R         *
    * at                                                           *
    * com.worklight.common.util.HttpUtil.createSemiSecuredHttpClie *
    * nt(HttpUtil.java:592)                                        *
    * [4/30/15 16:06:49:807 CEST] 00000072 SystemErr     R         *
    * at                                                           *
    * com.ibm.worklight.admin.jmx.ManagementMXBeanImpl.isReady(Man *
    * agementMXBeanImpl.java:570)                                  *
    *                                                              *
    * The code is not protected if the sockect's method            *
    * getEnabledProtocols returns null.                            *
    *                                                              *
    * The same problem can occur with the Application Center       *
    * console                                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The MFP code is protected when the socket's method
    getEnabledProtocols returns null instead of returning the
    WebSphere enabled protocols.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI40330

  • Reported component name

    WL/MFPF CONSUME

  • Reported component ID

    5725I4301

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-05-04

  • Closed date

    2015-05-11

  • Last modified date

    2015-05-11

  • 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

    WL/MFPF CONSUME

  • Fixed component ID

    5725I4301

Applicable component levels

  • R620 PSY

       UP

  • R630 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021