db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lily Wei (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-4300) testResultSetGarbageCollection failed with 10.3 server 10.5 client testing with connection has been terminiated
Date Fri, 10 Jul 2009 18:53:15 GMT
testResultSetGarbageCollection failed with 10.3 server 10.5 client testing with connection
has been terminiated
---------------------------------------------------------------------------------------------------------------

                 Key: DERBY-4300
                 URL: https://issues.apache.org/jira/browse/DERBY-4300
             Project: Derby
          Issue Type: Bug
          Components: Network Server
    Affects Versions: 10.5.1.1
         Environment: Window vista.
            Reporter: Lily Wei
            Priority: Critical


testResultSetGarbageCollection(org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoGenJDBC30Test)java.sql.SQLException:
Insufficient data while reading from the network - expected a minimum of 6 bytes and received
only 0 bytes.  The connection has been terminated. It looks like the server was  not available
for the other fixtures after this occurs with: A communications error has been detected: Connection
reset. message.

This the trace dump:
1) testResultSetGarbageCollection(org.apache.derbyTesting.functionTests.tests.jd
bcapi.AutoGenJDBC30Test)java.sql.SQLException: Insufficient data while reading f
rom the network - expected a minimum of 6 bytes and received only 0 bytes.  The
connection has been terminated.
        at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(SQLExc
eptionFactory.java:46)
        at org.apache.derby.client.am.SqlException.getSQLException(SqlException.
java:358)
        at org.apache.derby.client.am.PreparedStatement.executeUpdate(PreparedSt
atement.java:399)
        at org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoGenJDBC30Test
.testResultSetGarbageCollection(AutoGenJDBC30Test.java:933)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:
89)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
        at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57
)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
        at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57
)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
Caused by: org.apache.derby.client.am.DisconnectException: Insufficient data whi
le reading from the network - expected a minimum of 6 bytes and received only 0
bytes.  The connection has been terminated.
        at org.apache.derby.client.net.Reply.fill(Reply.java:198)
        at org.apache.derby.client.net.Reply.ensureALayerDataInBuffer(Reply.java
:218)
        at org.apache.derby.client.net.Reply.readDssHeader(Reply.java:320)
        at org.apache.derby.client.net.Reply.startSameIdChainParse(Reply.java:11
60)
        at org.apache.derby.client.net.NetStatementReply.readExecute(NetStatemen
tReply.java:70)
        at org.apache.derby.client.net.StatementReply.readExecute(StatementReply
.java:55)
        at org.apache.derby.client.net.NetPreparedStatement.readExecute_(NetPrep
aredStatement.java:189)
        at org.apache.derby.client.am.PreparedStatement.readExecute(PreparedStat
ement.java:1811)
        at org.apache.derby.client.am.PreparedStatement.flowExecute(PreparedStat
ement.java:2108)
        at org.apache.derby.client.am.PreparedStatement.executeUpdateX(PreparedS
tatement.java:404)
        at org.apache.derby.client.am.PreparedStatement.executeUpdate(PreparedSt
atement.java:390)
        ... 41 more

       I run the test by itself  using 'java junit.textui.TestRunner org.apache.derbyTesting.functionTests.tests.jdbc
api.AutoGenJDBC30Test'. The failure did not occur in that case.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message