db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: Error when running the MailJdbc test
Date Mon, 20 Apr 2009 17:08:56 GMT
Ole Solberg wrote:
> I started a run of the MailJdbc test on 10.5.1.1, and am seeing lots of
> occurences of the error shown below.
>
> Is this the "serious issue" referenced at line 445 in
> org.apache.derbyTesting.system.mailjdbc.utils.DbTasks?
>
>
>  .
>  .
>  : INFO : total number of blobs inserted : 0
>  : INFO :Refresh Thread : Error while inserting into REFRESH.INBOX:You
> cannot invoke other java.sql.Clob/java.sql.Blob methods after calling
> the free() method or after the Blob/Clob's transaction has been
> committed or rolled back.
>  : ERROR :insertMail() failed You cannot invoke other
> java.sql.Clob/java.sql.Blob methods after calling the free() method or
> after the Blob/Clob's transaction has been committed or rolled back.
>  : INFO :Deleting mail by refresh
>
> java.sql.SQLException: You cannot invoke other
> java.sql.Clob/java.sql.Blob methods after calling the free() method or
> after the Blob/Clob's transaction has been committed or rolled back.
> 	at
> org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown
> Source)
> 	at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
> 	at org.apache.derby.client.am.Lob.checkValidity(Unknown Source)
> 	at org.apache.derby.client.am.Clob.length(Unknown Source)
> 	at
> org.apache.derby.client.net.NetStatementRequest.computeProtocolTypesAndLengths(Unknown
> Source)
> 	at
> org.apache.derby.client.net.NetStatementRequest.buildSQLDTAcommandData(Unknown
> Source)
> 	at org.apache.derby.client.net.NetStatementRequest.writeExecute(Unknown
> Source)
> 	at
> org.apache.derby.client.net.NetPreparedStatement.writeExecute_(Unknown
> Source)
> 	at org.apache.derby.client.am.PreparedStatement.writeExecute(Unknown
> Source)
> 	at org.apache.derby.client.am.PreparedStatement.flowExecute(Unknown Source)
> 	at org.apache.derby.client.am.PreparedStatement.executeUpdateX(Unknown
> Source)
> 	at org.apache.derby.client.am.PreparedStatement.executeUpdate(Unknown
> Source)
> 	at
> org.apache.derbyTesting.system.mailjdbc.utils.DbTasks.insertMail(DbTasks.java:447)
> 	at
> org.apache.derbyTesting.system.mailjdbc.tasks.Refresh.insertMail(Refresh.java:99)
> 	at
> org.apache.derbyTesting.system.mailjdbc.tasks.Refresh.doWork(Refresh.java:75)
> 	at
> org.apache.derbyTesting.system.mailjdbc.tasks.Refresh.run(Refresh.java:51)
> Caused by: org.apache.derby.client.am.SqlException: You cannot invoke
> other java.sql.Clob/java.sql.Blob methods after calling the free()
> method or after the Blob/Clob's transaction has been committed or rolled
> back.
> 	... 14 more
>
>
>
>
>
>
> I have not been running this test on earlier releases....
>
>
>
>   
I ran the test with RC1 and have been running it on trunk, but haven't 
tried with RC2.  I haven't ever seen this error.  Regarding the 
mysterious "serious issue" nobody seems to know what that is about.    I 
filed DERBY-4091 to investigate that issue.

Kathey





Mime
View raw message