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 "Rick Hillegas (JIRA)" <ji...@apache.org> on 2011/01/03 21:29:50 UTC

[jira] Updated: (DERBY-4951) test failure in jdbc4.ResultSetTest:testJDBC4_1 with ibm 1.6 jvm

     [ https://issues.apache.org/jira/browse/DERBY-4951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas updated DERBY-4951:
---------------------------------

    Attachment: derby-4951-01-aa-binaryTypes.diff

Attaching derby-4951-01-aa-binaryTypes.diff. Hopefully this improves the situation. Committed at subversion .

Myrna, could you let me know whether this improves your results for ResultSetTest and CallableStatementTest?

Touches the following files:

M      java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/CallableStatementTest.java
M      java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/Wrapper41Test.java
M      java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ResultSetTest.java


> test failure in jdbc4.ResultSetTest:testJDBC4_1 with ibm 1.6 jvm
> ----------------------------------------------------------------
>
>                 Key: DERBY-4951
>                 URL: https://issues.apache.org/jira/browse/DERBY-4951
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.8.0.0
>         Environment: IBM 1.6 jvms (both on Linux and windows XP)
>            Reporter: Myrna van Lunteren
>         Attachments: derby-4951-01-aa-binaryTypes.diff
>
>
> since tests with revision 1052140 I see the following failure when suites.All tests are run with IBM 1.6 jvm:
> console output of junit.textui.TestRunner run:
> 1) testJDBC4_1(org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest)junit.framework.ComparisonFailure: [B expected:<?> but was:<>
> 	at java.lang.Throwable.<init>(Throwable.java:67)
> 	at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11)
> 	at junit.framework.ComparisonFailure.<init>(ComparisonFailure.java:19)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.vetCandidate(ResultSetTest.java:2604)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.vetWrapperOK(ResultSetTest.java:2571)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.vetWrappedBinary(ResultSetTest.java:2363)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.examineJDBC4_1extensions(ResultSetTest.java:2161)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.testJDBC4_1(ResultSetTest.java:2123)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
> 	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:51)
> contents of error.stacktrace in fail dir:
> [Error/failure logged at Mon Dec 27 12:46:23 PST 2010]
> junit.framework.ComparisonFailure: [B expected:<?> but was:<>
> 	at junit.framework.Assert.assertEquals(Assert.java:81)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.vetCandidate(ResultSetTest.java:2604)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.vetWrapperOK(ResultSetTest.java:2571)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.vetWrappedBinary(ResultSetTest.java:2363)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.examineJDBC4_1extensions(ResultSetTest.java:2161)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.testJDBC4_1(ResultSetTest.java:2123)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:600)
> 	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:109)
> 	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 org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.textui.TestRunner.doRun(TestRunner.java:116)
> 	at junit.textui.TestRunner.start(TestRunner.java:172)
> 	at junit.textui.TestRunner.main(TestRunner.java:138)
> I believe lack of clean-up after this failure is the result of the error in this test for networkserver:
> 1) testJDBC4_1(org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest)java.sql.SQLException: FUNCTION 'MAKEBLOB' already exists.
> 	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.PreparedStatement.execute(Unknown Source)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.testJDBC4_1(ResultSetTest.java:2035)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
> 	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 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)
> Caused by: org.apache.derby.client.am.SqlException: FUNCTION 'MAKEBLOB' already exists.
> 	at org.apache.derby.client.am.Statement.completeExecute(Unknown Source)
> 	at org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(Unknown Source)
> 	at org.apache.derby.client.net.NetStatementReply.readExecute(Unknown Source)
> 	at org.apache.derby.client.net.StatementReply.readExecute(Unknown Source)
> 	at org.apache.derby.client.net.NetPreparedStatement.readExecute_(Unknown Source)
> 	at org.apache.derby.client.am.PreparedStatement.readExecute(Unknown Source)
> 	at org.apache.derby.client.am.PreparedStatement.flowExecute(Unknown Source)
> 	at org.apache.derby.client.am.PreparedStatement.executeX(Unknown Source)
> 	... 36 more

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