APAR status
Closed as program error.
Error description
In WebSphere Application Server v9.0.5.24, application fails with NullPointerException. java.lang.NullPointerException at com.ibm.ws.rsadapter.spi.CacheMap.remove(CacheMap.java:302) at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.getStat ement(WSRdbManagedConnectionImpl.java:3371) at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement (WSJdbcConnection.java:3007) at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement (WSJdbcConnection.java:2957) You may also see the following exception in the SystemOut.log and FFDC:: java.lang.ArrayIndexOutOfBoundsException at com.ibm.ws.rsadapter.spi.CacheMap.remove(CacheMap.java:302) at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.getStat ement(WSRdbManagedConnectionImpl.java:3371) at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement (WSJdbcConnection.java:3007) at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement (WSJdbcConnection.java:2957) java.lang.ArrayIndexOutOfBoundsException at com.ibm.ws.rsadapter.spi.CacheMap.removeLRU(CacheMap.java:434) at com.ibm.ws.rsadapter.spi.CacheMap.add(CacheMap.java:185) at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cacheSt atement(WSRdbManagedConnectionImpl.java:3445) at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.closeWrap per(WSJdbcPreparedStatement.java:529) at com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.j ava:262) java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 10 at com.ibm.ws.rsadapter.spi.CacheMap.removeAll(CacheMap.java:362) at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.clearSt atementCache(WSRdbManagedConnectionImpl.java:5207) at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.destroy (WSRdbManagedConnectionImpl.java:4063) at com.ibm.ejs.j2c.MCWrapper.destroy(MCWrapper.java:2207) at com.ibm.ejs.j2c.FreePool.cleanupAndDestroyMCWrapper(FreePoo l.java:810) at com.ibm.ejs.j2c.PoolManager.reclaimConnections(PoolManager. java:7583) at com.ibm.ejs.j2c.PoolManager.executeTask(PoolManager.java:7291) at com.ibm.ejs.j2c.TaskTimer.run(TaskTimer.java:92)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server using datasources * **************************************************************** * PROBLEM DESCRIPTION: NullPointerException can occur when * * using prepared statements. * **************************************************************** * RECOMMENDATION: * **************************************************************** In WebSphere Application Server v9.0.5.24, application fails with NullPointerException. java.lang.NullPointerException at com.ibm.ws.rsadapter.spi.CacheMap.remove(CacheMap.java:302) at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.getStat ement(WSRdbManagedConnectionImpl.java:3371)
Problem conclusion
Code was changed to be more tolerant of potential multithreaded access while closing connections. The fix for this APAR is targeted for inclusion in fix pack 9.0.5.27 and 8.5.5.29. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553
Temporary fix
Comments
APAR Information
APAR number
PH68776
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
2025-10-30
Closed date
2026-01-22
Last modified date
2026-01-22
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
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Document Information
Modified date:
22 January 2026