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

Mamta A. Satoor updated DERBY-6172:
-----------------------------------

    Bug behavior facts: Regression,Regression Test Failure
    
> testBlobInTriggerTable failed with Input stream did not have exact amount of 
> data as the requested length.: 
> org.apache.derby.iapi.services.io.DerbyIOException'
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6172
>                 URL: https://issues.apache.org/jira/browse/DERBY-6172
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>            Reporter: Mamta A. Satoor
>
> Failure on trunk(1465859) on a windows machine with weme6.2
> http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/weme6.2/1465859-suites.All_diff.txt
> 1) 
> testBlobInTriggerTable(org.apache.derbyTesting.functionTests.tests.lang.TriggerTest)java.sql.SQLException:
>  An unexpected exception was thrown
>       at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
>       at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
>       at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
>       at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
> Source)
>       at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown 
> Source)
>       at 
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown 
> Source)
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.TriggerTest.testBlobInTriggerTable(TriggerTest.java:1023)
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.TriggerTest.testBlobInTriggerTable(TriggerTest.java:911)
>       at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:195)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
>       at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)
>       at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>       at junit.extensions.TestSetup.run(TestSetup.java:25)
>       at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.sql.SQLException: Java exception: 'Input stream did not have 
> exact amount of data as the requested length.: 
> org.apache.derby.iapi.services.io.DerbyIOException'.
>       at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
>       at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
>       at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
>       at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
> Source)
>       ... 36 more
> Caused by: org.apache.derby.iapi.services.io.DerbyIOException: Input stream 
> did not have exact amount of data as the requested length.
>       at 
> org.apache.derby.iapi.types.RawToBinaryFormatStream.checkSufficientData(Unknown
>  Source)
>       at org.apache.derby.iapi.types.RawToBinaryFormatStream.read(Unknown 
> Source)
>       at org.apache.derby.impl.store.raw.data.MemByteHolder.write(Unknown 
> Source)
>       at 
> org.apache.derby.impl.store.raw.data.RememberBytesInputStream.fillBuf(Unknown 
> Source)
>       at org.apache.derby.impl.store.raw.data.StoredPage.logColumn(Unknown 
> Source)
>       at 
> org.apache.derby.impl.store.raw.data.StoredPage.logLongColumn(Unknown Source)
>       at 
> org.apache.derby.impl.store.raw.data.InsertOperation.writeOptionalDataToBuffer(Unknown
>  Source)
>       at org.apache.derby.impl.store.raw.data.InsertOperation.<init>(Unknown 
> Source)
>       at 
> org.apache.derby.impl.store.raw.data.LoggableActions.actionInsert(Unknown 
> Source)
>       at 
> org.apache.derby.impl.store.raw.data.BasePage.insertLongColumn(Unknown Source)
>       at 
> org.apache.derby.impl.store.raw.data.BasePage.insertAllowOverflow(Unknown 
> Source)
>       at org.apache.derby.impl.store.raw.data.BasePage.insert(Unknown Source)
>       at 
> org.apache.derby.impl.store.access.heap.HeapController.doInsert(Unknown 
> Source)
>       at 
> org.apache.derby.impl.store.access.heap.HeapController.insert(Unknown Source)
>       at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown 
> Source)
>       at 
> org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown 
> Source)
>       at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown 
> Source)
>       at 
> org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
>       at 
> org.apache.derby.impl.sql.GenericPreparedStatement.executeSubStatement(Unknown
>  Source)
>       at 
> org.apache.derby.impl.sql.execute.GenericTriggerExecutor.executeSPS(Unknown 
> Source)
>       at 
> org.apache.derby.impl.sql.execute.RowTriggerExecutor.fireTrigger(Unknown 
> Source)
>       at 
> org.apache.derby.impl.sql.execute.TriggerEventActivator.notifyEvent(Unknown 
> Source)
>       at 
> org.apache.derby.impl.sql.execute.UpdateResultSet.fireAfterTriggers(Unknown 
> Source)
>       at org.apache.derby.impl.sql.execute.UpdateResultSet.open(Unknown 
> Source)
>       at 
> org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
>       at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown 
> Source)
>       ... 32 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to