[ https://issues.apache.org/jira/browse/DERBY-6923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15887232#comment-15887232 ]
Bryan Pendleton commented on DERBY-6923: ---------------------------------------- Thank you Gordon for the additional information. Can you attach the test program which produces this most recent crash? >From a quick check of the source code, it appears that the "parameterMetaData" >is NULL. I believe this crash is a different bug than the original bug, although perhaps they are related. parameterMetaData, I believe, is supposed to be constructed when the prepared statement has the "prepare" method invoked on it, but somehow that went wrong in this particular case? If possible, could you please open a new JIRA issue, attach the test program which produces the NullPointerException, and mark the new issue as "related to" this issue with a JIRA "link"? Thanks! > Passing a ClientClob or ClientBlob from another connection to an INSERT > statement results in 'null' being written. > ------------------------------------------------------------------------------------------------------------------ > > Key: DERBY-6923 > URL: https://issues.apache.org/jira/browse/DERBY-6923 > Project: Derby > Issue Type: Bug > Components: Network Client, Network Server > Affects Versions: 10.13.1.1 > Environment: Java 8 > MacOS > Windows > Reporter: Gordon Innes > Priority: Critical > Attachments: DerbyEmbeddedOnly.java, DerbyNetworkOnly.java, > DerbyNetworkRead.java, DerbyNetworkWrite.java > > > When assigning a Blob or Clob from a ResultSet to a PreparedStatement > parameter on a second connection, null is written to the column instead. > Attached the same example using Embedded->Embedded, Embedded->Network, > Network->Embedded and Network->Network. > Only the Network->Network example exhibits the fault. > Originally discovered in HA-JDBC's sync code with 2 derby instances on > Windows. Example were tested using MacOS. Both were running on Oracle Java 8 > VMs. -- This message was sent by Atlassian JIRA (v6.3.15#6346)