db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John H. Embretsen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1691) jdbcapi/blobclob4BLOB.java fails under DerbyNet framework with JCC 2.6
Date Thu, 17 Aug 2006 08:10:15 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1691?page=comments#action_12428596 ] 
            
John H. Embretsen commented on DERBY-1691:
------------------------------------------

This test is still failing in the Tinderbox runs, but because of the master file update in
SVN 431663, the diff is different:

********* Diff file derbyall/derbynetmats/DerbyNet/jdbcapi/blobclob4BLOB.diff
*** Start: blobclob4BLOB jdk1.5.0_04 DerbyNet derbynetmats:jdbcapi 2006-08-17 00:43:40 ***
474a475
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
476d476
< java.lang.StringIndexOutOfBoundsException: String index out of range: -1
782a783
> java.lang.NegativeArraySizeException
784d784
< java.lang.NegativeArraySizeException
Test Failed.
*** End:   blobclob4BLOB jdk1.5.0_04 DerbyNet derbynetmats:jdbcapi 2006-08-17 00:44:12 ***


I think simply changing the master file may not be the right solution in this case, but I
have not looked at it enough to suggest an alternative yet.

> jdbcapi/blobclob4BLOB.java fails under DerbyNet framework with JCC 2.6
> ----------------------------------------------------------------------
>
>                 Key: DERBY-1691
>                 URL: http://issues.apache.org/jira/browse/DERBY-1691
>             Project: Derby
>          Issue Type: Bug
>          Components: Test, Regression Test Failure
>    Affects Versions: 10.2.0.0
>         Environment: Linux 2.6.9-5.ELsmp Sun jdk 1.5.0_07-b03
>            Reporter: Rajesh Kartha
>         Assigned To: David Van Couvering
>             Fix For: 10.2.0.0
>
>
> With JCC 2.6, the jdbcapi/blobclob4BLOB.java fails.  The diff did not show anything alarming,
so I am guessing it
> may be a master update. The test passed fine with DerbyClient
> *** Start: blobclob4BLOB jdk1.5.0_06 DerbyNet derbynetmats:jdbcapi 2006-08-11 23:29:48
***
> 466a467,474
> > EXPECTED SQLSTATE(22018): Invalid character string format for type INTEGER.
> > end clobTest54
> > START: clobTest6
> > EXPECTED SQLSTATE(null): Invalid position 0 or length 5
> > EXPECTED SQLSTATE(null): Invalid position 1 or length -76
> > EXPECTED SQLSTATE(null): Invalid position 1 or length -1
> > EXPECTED SQLSTATE(null): Invalid position 0 or length 0
> > FAIL -- unexpected exception:java.lang.StringIndexOutOfBoundsException: String index
out of range: -1
> 468,475d475
> < EXPECTED SQLSTATE(22018): Invalid character string format for type INTEGER.
> < end clobTest54
> < START: clobTest6
> < EXPECTED SQLSTATE(null): Invalid position 0 or length 5
> < EXPECTED SQLSTATE(null): Invalid position 1 or length -76
> < EXPECTED SQLSTATE(null): Invalid position 1 or length -1
> < EXPECTED SQLSTATE(null): Invalid position 0 or length 0
> < FAIL -- unexpected exception:java.lang.StringIndexOutOfBoundsException: String index
out of range: -1
> 775a776,782
> > blobTest54 finished
> > START: blobTest6
> > EXPECTED SQLSTATE(null): Invalid position 0 or length 5
> > EXPECTED SQLSTATE(null): Invalid position 1 or length -76
> > EXPECTED SQLSTATE(null): Invalid position 1 or length -1
> > EXPECTED SQLSTATE(null): Invalid position 0 or length 0
> > FAIL -- unexpected exception:java.lang.NegativeArraySizeException
> 777,783d783
> < blobTest54 finished
> < START: blobTest6
> < EXPECTED SQLSTATE(null): Invalid position 0 or length 5
> < EXPECTED SQLSTATE(null): Invalid position 1 or length -76
> < EXPECTED SQLSTATE(null): Invalid position 1 or length -1
> < EXPECTED SQLSTATE(null): Invalid position 0 or length 0
> < FAIL -- unexpected exception:java.lang.NegativeArraySizeException
> 789 del
> < com.ibm.db2.jcc.c.SqlException: Operation 'CREATE TRIGGER' cannot be performed on
object 'TESTBLOB' because there is an open ResultSet dependent on that object.
> 789a789
> > com.ibm.db2.jcc.a.SqlException: Operation 'CREATE TRIGGER' cannot be performed on
object 'TESTBLOB' because there is an open ResultSet dependent on that object.
> Test Failed.
> *** End:   blobclob4BLOB jdk1.5.0_06 DerbyNet derbynetmats:jdbcapi 2006-08-11 23:30:46
***

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message