Skip to Main Content

Java and JavaScript in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OJDBC14 problem

480249Jan 3 2006 — edited Apr 13 2013
Hello.

Looks like I ran across some sort of a bug in the 10.2.0.1.0 thin driver (ojdbc14.jar).
Everything is working perfectly with the classes12.jar. I have a semi-complex stored procedure, which takes in a combination of about 20 IN and IN OUT custom type objects and arrays.
The data gets written to the database (at least partially), but I get the following exception:

java.lang.NullPointerException
at oracle.jdbc.driver.T4CNamedTypeAccessor.unmarshalOneRow(T4CNamedTypeAccessor.java:137)
at oracle.jdbc.driver.T4CTTIrxd.unmarshal(T4CTTIrxd.java:792)
at oracle.jdbc.driver.T4CTTIrxd.unmarshal(T4CTTIrxd.java:708)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:530)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:181)
at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:870)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1081)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2905)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:2996)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4120)
at org.apache.commons.dbcp.DelegatingCallableStatement.execute(DelegatingCallableStatement.java:269)

I also tried using the 10.1.0.4 thin driver, but no luck - same issue arises.

Any ideas?
Thanks,

Serge B
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2013
Added on Jan 3 2006
13 comments
16,705 views