IBM Support

PI89446: Product Insights throws NullPointerException

Fixes are available

9.0.0.7: WebSphere Application Server traditional V9.0 Fix Pack 7
17.0.0.4: WebSphere Application Server Liberty 17.0.0.4
18.0.0.1: WebSphere Application Server Liberty 18.0.0.1
18.0.0.2: WebSphere Application Server Liberty 18.0.0.2
9.0.0.8: WebSphere Application Server traditional V9.0 Fix Pack 8
9.0.0.9: WebSphere Application Server traditional V9.0 Fix Pack 9
18.0.0.3: WebSphere Application Server Liberty 18.0.0.3
9.0.0.10: WebSphere Application Server traditional V9.0 Fix Pack 10
18.0.0.4: WebSphere Application Server Liberty 18.0.0.4
19.0.0.1: WebSphere Application Server Liberty 19.0.0.1
19.0.0.2: WebSphere Application Server Liberty 19.0.0.2
19.0.0.3: WebSphere Application Server Liberty 19.0.0.3
9.0.0.11: WebSphere Application Server traditional V9.0 Fix Pack 11
19.0.0.4: WebSphere Application Server Liberty 19.0.0.4
19.0.0.5: WebSphere Application Server Liberty 19.0.0.5
9.0.5.0: WebSphere Application Server traditional Version 9.0.5 Refresh Pack
19.0.0.6: WebSphere Application Server Liberty 19.0.0.6
19.0.0.7: WebSphere Application Server Liberty 19.0.0.7
19.0.0.8: WebSphere Application Server Liberty 19.0.0.8
9.0.5.1: WebSphere Application Server traditional Version 9.0.5 Fix Pack 1
19.0.0.9: WebSphere Application Server Liberty 19.0.0.9
19.0.0.10: WebSphere Application Server Liberty 19.0.0.10
19.0.0.11: WebSphere Application Server Liberty 19.0.0.11
9.0.5.2: WebSphere Application Server traditional Version 9.0.5 Fix Pack 2
19.0.0.12: WebSphere Application Server Liberty 19.0.0.12
20.0.0.1: WebSphere Application Server Liberty 20.0.0.1
20.0.0.2: WebSphere Application Server Liberty 20.0.0.2
9.0.5.3: WebSphere Application Server traditional Version 9.0.5 Fix Pack 3
20.0.0.3: WebSphere Application Server Liberty 20.0.0.3
20.0.0.4: WebSphere Application Server Liberty 20.0.0.4
20.0.0.5: WebSphere Application Server Liberty 20.0.0.5
20.0.0.6: WebSphere Application Server Liberty 20.0.0.6
9.0.5.4: WebSphere Application Server traditional Version 9.0.5 Fix Pack 4
20.0.0.7: WebSphere Application Server Liberty 20.0.0.7
20.0.0.8: WebSphere Application Server Liberty 20.0.0.8
9.0.5.5: WebSphere Application Server traditional Version 9.0.5 Fix Pack 5
20.0.0.9: WebSphere Application Server Liberty 20.0.0.9
20.0.0.10: WebSphere Application Server Liberty 20.0.0.10
20.0.0.11: WebSphere Application Server Liberty 20.0.0.11
20.0.0.12: WebSphere Application Server Liberty 20.0.0.12
9.0.5.6: WebSphere Application Server traditional Version 9.0.5 Fix Pack 6

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following exception can be seen in the logs:
    
    W CWWKR0409W: The productInsights feature encountered an
    exception when collecting product usage. The following
    exception occurred: java.lang.NullPointerException
    	at
    componenttest.topology.impl.LibertyServer.checkLogsForErrors
    AndWarnings(LibertyServer.java:2359)
    	at
    componenttest.topology.impl.LibertyServer.stopServer(Liberty
    Server.java:2246)
    	at
    componenttest.topology.impl.LibertyServer.stopServer(Liberty
    Server.java:2140)
    	at
    componenttest.topology.impl.LibertyServer.stopServer(Liberty
    Server.java:2109)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty- Product Insights            *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException submitting usage   *
    *                      to Product Insights during server       *
    *                      shutdown                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following exception may occur during server shutdown when
    the Product Insights feature is submitting the final usage
    metric data:
    
    java.lang.NullPointerException
    	at
    com.ibm.ws.cloud.productinsights.liberty.TaskSchedulerImpl.submi
    t(TaskSchedulerImpl.java:50)
    	at
    com.ibm.ws.cloud.productinsights.common.UsageTask.run(UsageTask.
    java:152)
    	at
    java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja
    va:522)
    

Problem conclusion

  • The Product Insights enablement feature has been updated to
    resolve a timing issue that occurs when server shutdown
    processing occurs concurrently with normal usage metric
    collection. The NullPointerException will no longer occur and
    the Product Insights feature will properly submit the final
    usage metric data.
    
    The fix for this APAR is currently targeted for inclusion in fix
    packs 8.5.5.14 and 9.0.0.7 for WebSphere Application Server and
    17.0.0.4 for WebSphere Application Server Liberty.  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

    PI89446

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-10-26

  • Closed date

    2017-11-28

  • Last modified date

    2017-11-28

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • RCD0 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
18 October 2021