java.lang.RuntimeException: unexpected invocation exception: null Encountered When Calling Stored Procedure With Universal Connection Pool Using JDBC 11.2 (Doc ID 1440234.1)

Last updated on FEBRUARY 03, 2015

Applies to:

Universal Connection Pool - Version 11.2.0.1.0 to 11.2.0.3.0 [Release 11.2]
Information in this document applies to any platform.

Symptoms

When using the 11.2.0.2 JDBC driver against an 11.2.0.2 database, calls to a stored procedure return resultset information successfully. However, when using the Universal Connection Pool (UCP) JDBC adapter, the same call returns the exception below:


Exception in thread "main" java.lang.RuntimeException: unexpected invocation exception: null
at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:138)
at oracle.ucp.jdbc.proxy.CallableStatementProxyFactory.invoke(CallableStatementProxyFactory.java:101)
at $Proxy1.getResultSet(Unknown Source)
at TestUCP.run(TestUCP.java:65)
at TestUCP.main(TestUCP.java:91)

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