IBM Support

PH01816: NULLPOINTEREXCEPTION IN REPOSITORYCACHE.GETRCSDATASOURCERESOURCES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NullPointerException in
    RepositoryCache.getRCSDataSourceResources along with TUNE0409E
    and TUNE0408E
    
    
    * Steps for replication *
    1. startManager
    2. startNode
    3. login to console
    4. enable startup trace (com.ibm.ws.management.event.*=all) on
    a cluster member
    5. start the cluster member from the console
    6. navigate to Monitoring and Tuning > Performance Viewer >
    Current activity > cluster member > click "Start Logging"
    
    * Exception Stack *
    java.lang.NullPointerException
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.config.Repository
    Cache.getRCSDataSourceResources(RepositoryCache.java:1058)
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.config.Repository
    Cache.getRCSAllDataSources(RepositoryCache.java:1021)
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.config.Repository
    Cache.refreshAllDataSources(RepositoryCache.java:412)
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.config.ServerRDat
    aSourceConfig.refreshCache(ServerRDataSourceConfig.java:77)
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.config.ServerRDat
    aSourceConfig.getDatasourceHelperClassName(ServerRDataSourceConf
    ig.java:262)
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.sharedCalc.Server
    DataSourceMBeanCalc.getDatasourceHelperClassName(ServerDataSourc
    eMBeanCalc.java:701)
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.sharedCalc.Server
    DataSourceMBeanCalc.toString(ServerDataSourceMBeanCalc.java:744)
    at java.lang.String.valueOf(String.java:3449)
    at java.lang.StringBuilder.append(StringBuilder.java:515)
    at
    com.ibm.ws.management.event.NotificationInfo.toString(Notificati
    onInfo.java:274)
    at java.lang.String.valueOf(String.java:3449)
    at java.lang.StringBuilder.append(StringBuilder.java:515)
    at
    com.ibm.ws.management.event.FilterElement.toString(FilterElement
    .java:111)
    at java.lang.String.valueOf(String.java:3449)
    at java.lang.StringBuilder.append(StringBuilder.java:515)
    at
    java.util.AbstractCollection.toString(AbstractCollection.java:47
    3)
    at
    java.util.Collections$SynchronizedCollection.toString(Collection
    s.java:2068)
    at java.lang.String.valueOf(String.java:3449)
    at java.lang.StringBuilder.append(StringBuilder.java:515)
    at
    com.ibm.ws.management.event.ConsolidatedFilter.toString(Consolid
    atedFilter.java:192)
    at
    com.ibm.ejs.ras.TraceEvent6.convertParameters(TraceEvent6.java:1
    97)
    at com.ibm.ejs.ras.TraceEvent6.<init>(TraceEvent6.java:121)
    at com.ibm.ejs.ras.Tr.fireTraceEvent(Tr.java:1641)
    at com.ibm.ejs.ras.Tr.entry(Tr.java:888)
    at
    com.ibm.ws.management.event.NotificationService.resetFilter(Noti
    ficationService.java
    

Local fix

  • com.ibm.ws.management.event.*=fine
    ---
    reduce the trace level like fine. The pbolem will happen with
    finer, finest and all.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException occurs in          *
    *                      RepositoryCache.getRCSDataSourceResourc *
    *                      es                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the com.ibm.ws.management.event.*=all trace
    specification is enabled, and "Start Logging" is clicked from
    the Monitoring and Tuning > Performance Viewer >
    Current activity > serverName, a
    java.lang.NullPointerException occurs with the following stack
    trace:
    java.lang.NullPointerException
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.config.Repository
    Cache.getRCSDataSourceResources(RepositoryCache.java:1058)
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.config.Repository
    Cache.getRCSAllDataSources(RepositoryCache.java:1021)
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.config.Repository
    Cache.refreshAllDataSources(RepositoryCache.java:412)
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.config.ServerRDat
    aSourceConfig.refreshCache(ServerRDataSourceConfig.java:77)
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.config.ServerRDat
    aSourceConfig.getDatasourceHelperClassName(ServerRDataSourceConf
    ig.java:262)
    at
    com.ibm.ws.performance.tuning.serverAlert.calc.sharedCalc.Server
    DataSourceMBeanCalc.getDatasourceHelperClassName(ServerDataSourc
    eMBeanCalc.java:701)
    ...
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH01816

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-08-19

  • Closed date

    2018-11-12

  • Last modified date

    2018-11-12

  • 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

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022