IBM Support

PH23168: NULLPOINTEREXCEPTION WITH SHOWPOOLCONTENTS

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

  • We get NullPointerException when we run showPoolContents
    command in WAS 9.0.5.1 and 9.0.5.2.
    
    -----
    Unexpected error
    when getting PoolManager. CFKey: cells/Cell01/nodes/Node01/serve
    rs/server1/resources.xml#DataSource_1xxxxxxxx2.
    Exception:
    java.lang.NullPointerException
    	at com.ibm.ejs.j2c.mb
    eans.ConnectionFactoryMbeanImpl.getPoolManager(ConnectionFactory
    MbeanImpl.java:440)
    	at com.ibm.ejs.j2c.mbeans.ConnectionFactory
    MbeanImpl.getPoolManager(ConnectionFactoryMbeanImpl.java:424)
    	a
    t com.ibm.ejs.j2c.mbeans.ConnectionFactoryMbeanImpl.showPoolCont
    ents(ConnectionFactoryMbeanImpl.java:340)
    	at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
    	at sun.reflect.DelegatingMethodAccessorImpl.invok
    e(DelegatingMethodAccessorImpl.java:55)
    	at
    java.lang.reflect.Method.invoke(Method.java:508)
    	at
    sun.reflect.misc.Trampoline.invoke(MethodUtil.java:83)
    	at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
    
    ...
    
    	at com.ibm.ws.http.HttpConnection.readAndHa
    ndleRequest(HttpConnection.java:733)
    	at
    com.ibm.ws.http.HttpConnection.run(HttpConnection.java:522)
    	at
    com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
    
    The
    ConnectionPool for jdbc/xxx was null. The ConnectionPool will
    be created when the first connection request is processed if
    connections have been created in the pool, an internal error
    has occurred.
    
    But it is not occur in 9.0.5.0 and earlier
    version.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server using mbean showAllPoolContents      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Null pointer exception can occur when   *
    *                      ussing mbean showAllPoolContents for    *
    *                      connectioon pools that have not been    *
    *                      used.                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The follow error may occur when using showAllPoolContents.
    java.lang.NullPointerException
    at com.ibm.ejs.j2c.mb
    eans.ConnectionFactoryMbeanImpl.getPoolManager(ConnectionFactory
    MbeanImpl.java:440)
    

Problem conclusion

  • The null pointer exception will not occur when using
    mbean showAllPoolConetents.
    
    The fix for this APAR is targeted for inclusion in fix pack
    8.5.5.18 and 9.0.5.5. For more information, see 'Recommended
    Updates
    for
    WebSphere Application Server':
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH23168

  • 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

    2020-03-11

  • Closed date

    2020-06-11

  • Last modified date

    2020-06-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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900"}]

Document Information

Modified date:
14 September 2020