My Oracle Support Banner

AC/Replay Throws NPE with Oracle 19.3 JDBC Driver and 12.2.x Database (Doc ID 2652467.1)

Last updated on NOVEMBER 03, 2021

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


With Oracle 19.3 JDBC driver, AC/Replay does not work against a 12.2.x database. An NPE is thrown during the replay process. Please see the complete exception stack below.

The following is observed:
- With the old 18c JDBC driver and 12.2.x database, the replay test passed.
- With the 19.3 JDBC driver and 19c database, the replay test passed.
- With the 19.3 JDBC driver with a 12.2.x database, the replay fails.

Note: Switching the ojdbc8.jar back to version 18.3 solves the issue.

Exception stack

  at oracle.jdbc.replay.driver.TxnFailoverManagerImpl.prepareReplay (
  at oracle.jdbc.replay.driver.TxnFailoverManagerImpl.handleOutageInternal (
  at oracle.jdbc.replay.driver.TxnFailoverManagerImpl.handleOutage (
  at oracle.jdbc.replay.driver.TxnReplayableBase.onErrorForAll (
  at oracle.jdbc.replay.driver.TxnReplayableStatement.onErrorForAll (
  at$1jdbc$1replay$1driver$1TxnReplayableStatement$2oracle$1jdbc$1internal$1OraclePreparedStatement$$$Proxy.executeUpdate (Unknown Source)
  at$1ucp$1jdbc$1proxy$1oracle$1StatementProxy$2oracle$1jdbc$1internal$1OraclePreparedStatement$$$Proxy.executeUpdate (Unknown Source)
  at sandbox.ucp.UCPReplayTest.main (
  at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke (
  at sun.reflect.DelegatingMethodAccessorImpl.invoke (
  at java.lang.reflect.Method.invoke (
  at org.codehaus.mojo.exec.ExecJavaMojo$ (
  at (


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.