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 "Kathey Marsden (JIRA)" <ji...@apache.org> on 2008/07/09 23:03:31 UTC

[jira] Created: (DERBY-3776) testGetBytes under BlobClob4BlobTest failed on Zos with encoding issue

testGetBytes under BlobClob4BlobTest failed on Zos  with encoding issue
-----------------------------------------------------------------------

                 Key: DERBY-3776
                 URL: https://issues.apache.org/jira/browse/DERBY-3776
             Project: Derby
          Issue Type: Bug
          Components: JDBC
         Environment: IBM 1.5
            Reporter: Kathey Marsden


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.




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


[jira] Closed: (DERBY-3776) testGetBytes under BlobClob4BlobTest failed on Zos with encoding issue

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden closed DERBY-3776.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 10.5.0.0
                   10.4.1.4
                   10.3.3.1
         Assignee: Kathey Marsden

> testGetBytes under BlobClob4BlobTest failed on Zos  with encoding issue
> -----------------------------------------------------------------------
>
>                 Key: DERBY-3776
>                 URL: https://issues.apache.org/jira/browse/DERBY-3776
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>         Environment: IBM 1.5
>            Reporter: Kathey Marsden
>            Assignee: Kathey Marsden
>             Fix For: 10.3.3.1, 10.4.1.4, 10.5.0.0
>
>
> 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.

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