Issue Details (XML | Word | Printable)

Key: DERBY-3776
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Kathey Marsden
Reporter: Kathey Marsden
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

testGetBytes under BlobClob4BlobTest failed on Zos with encoding issue

Created: 09/Jul/08 09:02 PM   Updated: 04/May/09 06:22 PM
Return to search
Component/s: JDBC
Affects Version/s: None
Fix Version/s: 10.4.2.0, 10.5.1.1

Time Tracking:
Not Specified

Environment: IBM 1.5
Issue Links:
Duplicate
 

Resolution Date: 11/Jul/08 03:26 PM


 Description  « Hide
testGetBytes(org.apache.derbyTesting.functionTests.tests.jdbcapi
.BlobClob4BlobTest)junit.framework.ComparisonFailure: FAIL -
wrong substring value
expected:<snip garbage> but was:<you can lead a horse to water but you can't form
i>
at java.lang.Throwable.<init>(Throwable.java:67)
at
junit.framework.AssertionFailedError.<init>(AssertionFailedEr
ror.java:11)
at
junit.framework.ComparisonFailure.<init>(ComparisonFailure.ja
va:19)
at
org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobClob4Blo
bTest.verifyInterval(BlobClob4BlobTest.java:3221)
at
org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobClob4Blo
bTest.testGetBytes(BlobClob4BlobTest.java:1767)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
Impl.java:59)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
AccessorImpl.java:39)
at
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.
java:101)
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.ja
va: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.ja
va:57)

running with -Dfile.encoding="UTF-16" on windows with Sun jdk 1.6 shows this issue as well but also shows other failures as well e.g.
14) testGetBlobBeforeAndAfterUpdateStream(org.apache.derbyTesting.functionTests.tests.jdbcapi.B
amework.AssertionFailedError: FAIL - wrong blob value
        at org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobClob4BlobTest.updateBlobWith
ob4BlobTest.java:2727)
        at org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobClob4BlobTest.testGetBlobBef
lobClob4BlobTest.java:2698)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
        at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:104)
        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)
        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)


If these other failures are not the same issue, we can file another bug.




 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.