Websphere Application Using JDBC 11.1.0.6.0 Fails with java.lang.NullPointerException at oracle.jdbc.driver.OracleStatementWrapper.equals (Doc ID 787477.1)

Last updated on SEPTEMBER 01, 2014

Applies to:

JDBC - Version 11.1.0.6 to 11.1.0.7 [Release 11.1]
Information in this document applies to any platform.

Symptoms

Application running on Websphere 6.1.0.21 using JDBC driver 11.1.0.6.0 and JDK 1.5 fails with the
following error stack:
<Exception><![CDATA[java.lang.NullPointerException
at oracle.jdbc.driver.OracleStatementWrapper.equals(OracleStatementWrapper.java:89)
at java.util.WeakHashMap.eq(WeakHashMap.java:279)
at java.util.WeakHashMap.put(WeakHashMap.java:423)
at com.ibm.tivoli.itcam.toolkit.ai.boot.aspectmanager.RememberedObjectSet.rememberThis RememberedObjectSet.java:251)
at com.ibm.tivoli.itcam.toolkit.ai.callbacks.captureJDBC.CallbackSQLStatement.setRememberedStatement(CallbackSQLStatement.java:2710)

It is expected to return false if a null value is used.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms