db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6749) Error in ClobUpdatableReaderTest.testMultiplexedOperationProblem
Date Sat, 27 Sep 2014 21:22:33 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14150779#comment-14150779
] 

Myrna van Lunteren commented on DERBY-6749:
-------------------------------------------

I took a look at this stack trace because this showed up after a check-in from me; however,
this change added a new method to derbyTesting.junit.JDBC.java to check on the results and
made 2 tests use this, neither of them the affected test. The only relation I see is that
one of the modified tests, jdbcapi.DatabaseMetaDataTest, uses (and always used) a singleUse
database, and I did work with arrays in the new method. If I messed up the array handling
I would have expected the DatabaseMetaDataTest to fail...

The failure did not show in the subsequent test run...

The last entry shows a 'Caused by: java.lang.ArrayIndexOutOfBoundsException', but no further
stack trace for that. Was there anything in a derby.log file?

> Error in ClobUpdatableReaderTest.testMultiplexedOperationProblem
> ----------------------------------------------------------------
>
>                 Key: DERBY-6749
>                 URL: https://issues.apache.org/jira/browse/DERBY-6749
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.12.0.0
>         Environment: Solaris_amd64_jdk8
>            Reporter: Rick Hillegas
>
> The following error (among others) was seen on Solaris_amd64_jdk8 during the nightly
tests on the 10.12 trunk (http://download.java.net/javadesktop/derby/request_5596746/):
> {noformat}
>     java.sql.SQLException: Failed to create database 'singleUse/oneuse17a', see the next
exception for details.
> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:107)
> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:133)
> 	at org.apache.derby.impl.jdbc.Util.seeNextException(Util.java:255)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(EmbedConnection.java:2648)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:430)
> 	at org.apache.derby.jdbc.InternalDriver.getNewEmbedConnection(InternalDriver.java:649)
> 	at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.java:303)
> 	at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.java:934)
> 	at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.java:147)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:664)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:208)
> 	at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:122)
> 	at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:68)
> 	at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:44)
> 	at org.apache.derbyTesting.junit.TestConfiguration.openDefaultConnection(TestConfiguration.java:1643)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.openDefaultConnection(BaseJDBCTestCase.java:507)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.getConnection(BaseJDBCTestCase.java:115)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.createStatement(BaseJDBCTestCase.java:147)
> 	at org.apache.derbyTesting.functionTests.tests.jdbcapi.ClobUpdatableReaderTest.setUp(ClobUpdatableReaderTest.java:280)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:119)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:440)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:457)
> 	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 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:58)
> 	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)
> Caused by: ERROR XJ041: Failed to create database 'singleUse/oneuse17a', see the next
exception for details.
> 	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:290)
> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory.java:162)
> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:74)
> Caused by: ERROR XBM01: Startup failed due to an exception. See next exception for details.

> 	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:290)
> 	at org.apache.derby.iapi.services.monitor.Monitor.exceptionStartingModule(Monitor.java:687)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java:1843)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(BaseMonitor.java:1008)
> 	at org.apache.derby.impl.services.monitor.FileMonitor.createPersistentService(FileMonitor.java:48)
> 	at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Monitor.java:598)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(EmbedConnection.java:2641)
> Caused by: java.lang.ArrayIndexOutOfBoundsException
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message