Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3775

BlobStoredProcedureTest failed on Zos: AssertionFailedError: Error SYSIBM.BLOBGETPOSITIONFROMLOCATOR returns the wrong value for the position of the Blob expected:<8> but was:<-1>

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.5.1.1
    • Fix Version/s: 10.4.2.0, 10.5.1.1
    • Component/s: JDBC
    • Labels:
      None

      Description

      testBlobGetPositionFromLocatorSP(org.apache.derbyTesting.functio
      nTests.tests.jdbcapi.BlobStoredProcedureTest)junit.framework.Ass
      ertionFailedError: Error SYSIBM.BLOBGETPOSITIONFROMLOCATOR
      returns the wrong value for the position of the Blob
      expected:<8> but was:<-1>
      at
      org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobStoredPr
      ocedureTest.testBlobGetPositionFromLocatorSP(BlobStoredProcedure
      Test.java:358)
      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
      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.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)
      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.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
      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
      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
      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
      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)

      I can reproduce on windows by running with Sun jdk 1.5 or 1.6 with -Dfile.encoding="UTF-16"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kmarsden Katherine Marsden
                Reporter:
                kmarsden Katherine Marsden
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: