You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kristian Waagan (JIRA)" <de...@db.apache.org> on 2006/09/01 14:58:22 UTC

[jira] Commented: (DERBY-1800) testSetBinaryStreamLengthLessOnBlobTooLong fails with 'Unexpected SQL state. expected:<22001> but was:<58009>'

    [ http://issues.apache.org/jira/browse/DERBY-1800?page=comments#action_12432130 ] 
            
Kristian Waagan commented on DERBY-1800:
----------------------------------------

There are many instances of the 58009 state. Here's the stack trace:

java.sql.SQLException: A communications error has been detected: Broken pipe.
        at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:95)
        at org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:345)
        at org.apache.derby.client.am.PreparedStatement.executeUpdate(PreparedStatement.java:389)
        at org.apache.derbyTesting.functionTests.tests.jdbc4.PreparedStatementTest.setBinaryStreamOnBlob(PreparedStatementTest.java:1085)
        at org.apache.derbyTesting.functionTests.tests.jdbc4.PreparedStatementTest.testSetBinaryStreamLengthLessOnBlobTooLong(PreparedStatementTest.java:860)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:76)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
        at junit.textui.TestRunner.doRun(TestRunner.java:116)
        at junit.textui.TestRunner.start(TestRunner.java:172)
        at junit.textui.TestRunner.main(TestRunner.java:138)
Caused by: org.apache.derby.client.am.DisconnectException: A communications error has been detected: Broken pipe.
        at org.apache.derby.client.net.NetAgent.throwCommunicationsFailure(NetAgent.java:408)
        at org.apache.derby.client.net.Request.flushScalarStreamSegment(Request.java:593)
        at org.apache.derby.client.net.Request.writePlainScalarStream(Request.java:478)
        at org.apache.derby.client.net.Request.writeScalarStream(Request.java:242)
        at org.apache.derby.client.net.NetStatementRequest.buildEXTDTA(NetStatementRequest.java:855)
        at org.apache.derby.client.net.NetStatementRequest.writeExecute(NetStatementRequest.java:145)
        at org.apache.derby.client.net.NetPreparedStatement.writeExecute_(NetPreparedStatement.java:172)
        at org.apache.derby.client.am.PreparedStatement.writeExecute(PreparedStatement.java:1557)
        at org.apache.derby.client.am.PreparedStatement.flowExecute(PreparedStatement.java:1803)
        at org.apache.derby.client.am.PreparedStatement.executeUpdateX(PreparedStatement.java:394)
        at org.apache.derby.client.am.PreparedStatement.executeUpdate(PreparedStatement.java:380)
        ... 24 more
Caused by: java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at org.apache.derby.client.net.Request.sendBytes(Request.java:1221)
        at org.apache.derby.client.net.Request.flushScalarStreamSegment(Request.java:591)
        ... 33 more


> testSetBinaryStreamLengthLessOnBlobTooLong fails with 'Unexpected SQL state. expected:<22001> but was:<58009>'
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1800
>                 URL: http://issues.apache.org/jira/browse/DERBY-1800
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.3.0.0
>         Environment: All
>            Reporter: Ole Solberg
>            Priority: Minor
>
> Has failed since 438528, changes:  https://clustra.norway.sun.com/~os136789/DBTG_QA_Derby/Daily/jvm1.6/testing/UpdateInfo/438528.txt
> *** Start: _Suite jdk1.6.0-rc DerbyNetClient derbynetclientmats:jdbc40 2006-08-31 02:52:09 ***
> 0 add
> > ............................F.............
> > There was 1 failure:
> > 1) testSetBinaryStreamLengthLessOnBlobTooLong(org.apache.derbyTesting.functionTests.tests.jdbc4.PreparedStatementTest)junit.framework.ComparisonFailure: Unexpected SQL state. expected:<22001> but was:<58009>
> > FAILURES!!!
> > Tests run: 2048,  Failures: 1,  Errors: 0
> Test Failed.
> *** End:   _Suite jdk1.6.0-rc DerbyNetClient derbynetclientmats:jdbc40 2006-08-31 02:52:26 ***

-- 
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