Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
10.1.3.1, 10.2.1.6
-
None
-
Normal
-
High Value Fix, Repro attached
Description
If you create a clob value with one of the ResultSet.updateXXX methods that take a stream or a reader, and retrieve that value with ResultSet.getClob(), a NullPointerException will be thrown when getSubString() is called on the returned Clob object. This happens with the network client driver, and it has been observed on Derby 10.1.3.1 and trunk.
Exception in thread "main" java.lang.NullPointerException
at org.apache.derby.client.am.Clob.getSubStringX(Clob.java:229)
at org.apache.derby.client.am.Clob.getSubString(Clob.java:210)
at Repro.main(Repro.java:24)
Attachments
Attachments
Issue Links
- is related to
-
DERBY-1615 Rewrite the Clob implementation in the client driver
- Closed