NullPointerException on getOPAQUE when using JDBC 11.2.0.3 with XMLType in EBS 12.1.3
We have applied latest R12.TXK.B.Delta4 patch in one of our development instances. After this patch, all our custom API calls are failing with NullPointerException.
Here are the complete steps we have followed
We have created a custom API's using servlet defined on the orion-web.xml.
<servlet>
<servlet-name>Test</servlet-name>
<servlet-class>TestXML</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Test</servlet-name>
<url-pattern>/test</url-pattern>
</servlet-mapping>
When we try to call that API, it failed with HTTP - 500 error with a NullPointerException. Error stack from the FND logs.
java.lang.NullPointerException
at oracle.jdbc.driver.NamedTypeAccessor.getOracleObject(NamedTypeAccessor.java:302)
at oracle.jdbc.driver.NamedTypeAccessor.getOPAQUE(NamedTypeAccessor.java:378)