[
https://issues.apache.org/jira/browse/DERBY-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13947212#comment-13947212
]
Mike Matrigali commented on DERBY-6528:
---------------------------------------
I have no problem with including all that is needed to build and test all of
derby.
My issue is that I think this lucene change sets a bad precident (but maybe a
necessary one if our
testing infrastructure is deficient). If the functional spec for lucene is
that it is optional, then tests that
do not need lucene should not have lucene in the classpath. This will insure
that we test that assumption.
My problem is that in order to test an optional feature we are changing how we
run the other 99.9% of the
tests. And worse I don't think our nightly testing will be able to tell if any
feature of derby will in be able to
run without lucene. You say that lucene is optional, but without nightly
testing it is easy for dependencies
to creep in without anyone knowing. I think this problem also exists in client
vs server jars.
If our only choice for every optional feature is to add it to a long list of
libraries required to run the entire
suite and the rest of community is ok with that, then I won't -1. But I was
hoping someone might have a
good idea where we could run the 99.9% of the tests with only the jars that we
believe they need (and thus
let them fail if the assumption is wrong), and also allow optional tests to be
run with the additional jars
that we know they need.
> many nightly test failures following checkin of lucene work.
> ------------------------------------------------------------
>
> Key: DERBY-6528
> URL: https://issues.apache.org/jira/browse/DERBY-6528
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.11.0.0
> Environment: failing for both nightly ibm16 and ibm17 nightly test
> runs.
> Reporter: Mike Matrigali
>
> Starting with friday night runs the nightly testing against the ibm jvm's
> have gotten a number of test failures associated with lucene. I am
> wondering if the new tests assume new jars while running the tests.
> Here are the first test failures, which I assume are associated with
> checkin 1580387.
> There were 9 errors:
> 1)
> testCreateAndQueryIndex(org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportTest)java.sql.SQLException:
> The exception 'java.lang.NoClassDefFoundError:
> org.apache.lucene.index.IndexableField' was thrown while evaluating an
> expression.
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(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.EmbedCallableStatement.executeStatement(Unknown
> Source)
> at
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeLargeUpdate(Unknown
> Source)
> at
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
> Source)
> at
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertUpdateCount(BaseJDBCTestCase.java:1403)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportTest.setUp(LuceneSupportTest.java:260)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 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)
> Caused by: ERROR 38000: The exception 'java.lang.NoClassDefFoundError:
> org.apache.lucene.index.IndexableField' was thrown while evaluating an
> expression.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown
> Source)
> ... 41 more
> Caused by: java.lang.NoClassDefFoundError:
> org.apache.lucene.index.IndexableField
> at java.lang.J9VMInternals.verifyImpl(Native Method)
> at java.lang.J9VMInternals.verify(J9VMInternals.java:73)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:135)
> at java.lang.Class.forNameImpl(Native Method)
> at java.lang.Class.forName(Class.java:182)
> at
> org.apache.derby.impl.services.reflect.DatabaseClasses.loadApplicationClass(Unknown
> Source)
> at
> org.apache.derby.catalog.Java5SystemProcedures.SYSCS_REGISTER_TOOL(Unknown
> Source)
> at
> org.apache.derby.exe.ac1bbbc146x0144xf731x3981xffffdb4fd6ba5.g0(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown
> Source)
> at
> org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
> at
> org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
> at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> Source)
> ... 34 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.lucene.index.IndexableField
> at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:677)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
> ... 50 more
> 2)
> testUpdateIndex(org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportTest)java.sql.SQLException:
> Table/View 'TITLES' already exists in Schema 'LUCENETEST'.
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at org.apache.derby.impl.jdbc.Util.generateCsSQLException(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.EmbedStatement.execute(Unknown Source)
> at org.apache.derby.impl.jdbc.EmbedStatement.executeLargeUpdate(Unknown
> Source)
> at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown
> Source)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportTest.setUp(LuceneSupportTest.java:252)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 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)
> Caused by: ERROR X0Y32: Table/View 'TITLES' already exists in Schema
> 'LUCENETEST'.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.duplicateDescriptorException(Unknown
> Source)
> at
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor(Unknown
> Source)
> at
> org.apache.derby.impl.sql.execute.CreateTableConstantAction.executeConstantAction(Unknown
> Source)
> at org.apache.derby.impl.sql.execute.MiscResultSet.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
> 3)
> testListIndex(org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportTest)java.sql.SQLException:
> Table/View 'TITLES' already exists in Schema 'LUCENETEST'.
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at org.apache.derby.impl.jdbc.Util.generateCsSQLException(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.EmbedStatement.execute(Unknown Source)
> at org.apache.derby.impl.jdbc.EmbedStatement.executeLargeUpdate(Unknown
> Source)
> at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown
> Source)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportTest.setUp(LuceneSupportTest.java:252)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 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)
> Caused by: ERROR X0Y32: Table/View 'TITLES' already exists in Schema
> 'LUCENETEST'.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.duplicateDescriptorException(Unknown
> Source)
> at
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor(Unknown
> Source)
> at
> org.apache.derby.impl.sql.execute.CreateTableConstantAction.executeConstantAction(Unknown
> Source)
> at org.apache.derby.impl.sql.execute.MiscResultSet.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
> 4)
> testDropIndexBadCharacters(org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportTest)java.sql.SQLException:
> Table/View 'TITLES' already exists in Schema 'LUCENETEST'.
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at org.apache.derby.impl.jdbc.Util.generateCsSQLException(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.EmbedStatement.execute(Unknown Source)
> at org.apache.derby.impl.jdbc.EmbedStatement.executeLargeUpdate(Unknown
> Source)
> at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown
> Source)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportTest.setUp(LuceneSupportTest.java:252)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 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)
> Caused by: ERROR X0Y32: Table/View 'TITLES' already exists in Schema
> 'LUCENETEST'.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.duplicateDescriptorException(Unknown
> Source)
> at
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor(Unknown
> Source)
> at
> org.apache.derby.impl.sql.execute.CreateTableConstantAction.executeConstantAction(Unknown
> Source)
> at org.apache.derby.impl.sql.execute.MiscResultSet.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
> 5)
> test_001_basicNoGrant(org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest)java.sql.SQLException:
> The exception 'java.lang.NoClassDefFoundError:
> org.apache.lucene.index.IndexableField' was thrown while evaluating an
> expression.
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(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.junit.BaseJDBCTestCase.goodStatement(BaseJDBCTestCase.java:1677)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest.test_001_basicNoGrant(LuceneSupportPermsTest.java:162)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 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:57)
> 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:57)
> 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)
> 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)
> Caused by: ERROR 38000: The exception 'java.lang.NoClassDefFoundError:
> org.apache.lucene.index.IndexableField' was thrown while evaluating an
> expression.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown
> Source)
> ... 69 more
> Caused by: java.lang.NoClassDefFoundError:
> org.apache.lucene.index.IndexableField
> at java.lang.J9VMInternals.verifyImpl(Native Method)
> at java.lang.J9VMInternals.verify(J9VMInternals.java:73)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:135)
> at java.lang.Class.forNameImpl(Native Method)
> at java.lang.Class.forName(Class.java:182)
> at
> org.apache.derby.impl.services.reflect.DatabaseClasses.loadApplicationClass(Unknown
> Source)
> at
> org.apache.derby.catalog.Java5SystemProcedures.SYSCS_REGISTER_TOOL(Unknown
> Source)
> at
> org.apache.derby.exe.ac4b390189x0144xf731x3981xffffdb4fd6ba0.g0(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown
> Source)
> at
> org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
> at
> org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
> at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> Source)
> ... 62 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.lucene.index.IndexableField
> at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:677)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
> ... 78 more
> 6)
> test_002_userGrant(org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest)java.sql.SQLException:
> Table/View 'POEMS' already exists in Schema 'RUTH'.
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at org.apache.derby.impl.jdbc.Util.generateCsSQLException(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.junit.BaseJDBCTestCase.goodStatement(BaseJDBCTestCase.java:1677)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest.createPoemsTable(LuceneSupportPermsTest.java:483)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest.createSchema(LuceneSupportPermsTest.java:477)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest.test_002_userGrant(LuceneSupportPermsTest.java:257)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 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:57)
> 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:57)
> 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)
> 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)
> Caused by: ERROR X0Y32: Table/View 'POEMS' already exists in Schema 'RUTH'.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.duplicateDescriptorException(Unknown
> Source)
> at
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor(Unknown
> Source)
> at
> org.apache.derby.impl.sql.execute.CreateTableConstantAction.executeConstantAction(Unknown
> Source)
> at org.apache.derby.impl.sql.execute.MiscResultSet.open(Unknown Source)
> at
> org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
> at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> Source)
> ... 64 more
> 7)
> test_004_datatypes(org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest)java.sql.SQLException:
> The exception 'java.lang.NoClassDefFoundError:
> org.apache.lucene.index.IndexableField' was thrown while evaluating an
> expression.
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(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.junit.BaseJDBCTestCase.goodStatement(BaseJDBCTestCase.java:1677)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest.test_004_datatypes(LuceneSupportPermsTest.java:386)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 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:57)
> 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:57)
> 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)
> 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)
> Caused by: ERROR 38000: The exception 'java.lang.NoClassDefFoundError:
> org.apache.lucene.index.IndexableField' was thrown while evaluating an
> expression.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown
> Source)
> ... 69 more
> Caused by: java.lang.NoClassDefFoundError:
> org.apache.lucene.index.IndexableField
> at java.lang.J9VMInternals.verifyImpl(Native Method)
> at java.lang.J9VMInternals.verify(J9VMInternals.java:73)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:135)
> at java.lang.Class.forNameImpl(Native Method)
> at java.lang.Class.forName(Class.java:182)
> at
> org.apache.derby.impl.services.reflect.DatabaseClasses.loadApplicationClass(Unknown
> Source)
> at
> org.apache.derby.catalog.Java5SystemProcedures.SYSCS_REGISTER_TOOL(Unknown
> Source)
> at
> org.apache.derby.exe.ac4b390189x0144xf731x3981xffffdb4fd6ba0.g0(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown
> Source)
> at
> org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
> at
> org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
> at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> Source)
> ... 62 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.lucene.index.IndexableField
> at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:677)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
> ... 78 more
> 8)
> test_005_deleteDirectory(org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest)java.sql.SQLException:
> Table/View 'POEMS' already exists in Schema 'RUTH'.
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at org.apache.derby.impl.jdbc.Util.generateCsSQLException(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.junit.BaseJDBCTestCase.goodStatement(BaseJDBCTestCase.java:1677)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest.createPoemsTable(LuceneSupportPermsTest.java:483)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest.createSchema(LuceneSupportPermsTest.java:477)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest.test_005_deleteDirectory(LuceneSupportPermsTest.java:444)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 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:57)
> 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:57)
> 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)
> 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)
> Caused by: ERROR X0Y32: Table/View 'POEMS' already exists in Schema 'RUTH'.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.duplicateDescriptorException(Unknown
> Source)
> at
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor(Unknown
> Source)
> at
> org.apache.derby.impl.sql.execute.CreateTableConstantAction.executeConstantAction(Unknown
> Source)
> at org.apache.derby.impl.sql.execute.MiscResultSet.open(Unknown Source)
> at
> org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
> at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> Source)
> ... 64 more
> 9)
> test_002_basic(org.apache.derbyTesting.functionTests.tests.lang.LuceneCollationTest)java.sql.SQLException:
> The exception 'java.lang.NoClassDefFoundError:
> org.apache.lucene.index.IndexableField' was thrown while evaluating an
> expression.
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(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.junit.BaseJDBCTestCase.goodStatement(BaseJDBCTestCase.java:1677)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneCollationTest.test_002_basic(LuceneCollationTest.java:146)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 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:57)
> 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)
> Caused by: ERROR 38000: The exception 'java.lang.NoClassDefFoundError:
> org.apache.lucene.index.IndexableField' was thrown while evaluating an
> expression.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown
> Source)
> ... 55 more
> Caused by: java.lang.NoClassDefFoundError:
> org.apache.lucene.index.IndexableField
> at java.lang.J9VMInternals.verifyImpl(Native Method)
> at java.lang.J9VMInternals.verify(J9VMInternals.java:73)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:135)
> at java.lang.Class.forNameImpl(Native Method)
> at java.lang.Class.forName(Class.java:182)
> at
> org.apache.derby.impl.services.reflect.DatabaseClasses.loadApplicationClass(Unknown
> Source)
> at
> org.apache.derby.catalog.Java5SystemProcedures.SYSCS_REGISTER_TOOL(Unknown
> Source)
> at
> org.apache.derby.exe.ac19b80240x0144xf731x3981xffffdb4fd6ba1.g0(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown
> Source)
> at
> org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
> at
> org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
> at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> Source)
> ... 48 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.lucene.index.IndexableField
> at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:677)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
> ... 64 more
> There were 3 failures:
> 1)
> testTriggersInGeneral(org.apache.derbyTesting.functionTests.tests.lang.TriggerGeneralTest)junit.framework.ComparisonFailure:
> expected:<...,(3,3,'3'),(4,4,'4')[
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> {3,3,3}
> {4,4,4}
> TRIGGER: <2nd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> TRIGGER: <2nd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {3,3,3}
> TRIGGER: <2nd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {4,4,4}
> TRIGGER: <3rd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> TRIGGER: <3rd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {3,3,3}
> TRIGGER: <3rd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {4,4,4}
> TRIGGER: <4th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> TRIGGER: <4th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {3,3,3}
> TRIGGER: <4th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {4,4,4}
> TRIGGER: <5th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> {3,3,3}
> {4,4,4}
> ]
> > but was:<...,(3,3,'3'),(4,4,'4')[
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> {3,3,3}
> {4,4,4}
> TRIGGER: <2nd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> TRIGGER: <2nd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {3,3,3}
> TRIGGER: <2nd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {4,4,4}
> TRIGGER: <3rd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> TRIGGER: <3rd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {3,3,3}
> TRIGGER: <3rd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {4,4,4}
> TRIGGER: <4th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> TRIGGER: <4th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {3,3,3}
> TRIGGER: <4th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {4,4,4}
> TRIGGER: <5th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> {3,3,3}
> {4,4,4}
> ]
> >
> at
> org.apache.derbyTesting.functionTests.tests.lang.TriggerGeneralTest.assertTriggerOutput(TriggerGeneralTest.java:2362)
> at
> org.apache.derbyTesting.functionTests.tests.lang.TriggerGeneralTest.testTriggersInGeneral(TriggerGeneralTest.java:444)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 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
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 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)
> 2)
> testTriggersInGeneral(org.apache.derbyTesting.functionTests.tests.lang.TriggerGeneralTest)junit.framework.ComparisonFailure:
> expected:<...,(3,3,'3'),(4,4,'4')[
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> {3,3,3}
> {4,4,4}
> TRIGGER: <2nd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> TRIGGER: <2nd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {3,3,3}
> TRIGGER: <2nd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {4,4,4}
> TRIGGER: <3rd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> TRIGGER: <3rd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {3,3,3}
> TRIGGER: <3rd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {4,4,4}
> TRIGGER: <4th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> TRIGGER: <4th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {3,3,3}
> TRIGGER: <4th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {4,4,4}
> TRIGGER: <5th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> {3,3,3}
> {4,4,4}
> ]
> > but was:<...,(3,3,'3'),(4,4,'4')[
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> {3,3,3}
> {4,4,4}
> TRIGGER: <2nd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> TRIGGER: <2nd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {3,3,3}
> TRIGGER: <2nd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {4,4,4}
> TRIGGER: <3rd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> TRIGGER: <3rd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {3,3,3}
> TRIGGER: <3rd> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {4,4,4}
> TRIGGER: <4th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> TRIGGER: <4th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {3,3,3}
> TRIGGER: <4th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {4,4,4}
> TRIGGER: <5th> on statement insert into t values (2,2,'2'),(3,3,'3'),(4,4,'4')
> BEFORE RESULT SET
> <NULL>
> AFTER RESULT SET
> X,Y,C
> - - -
> {2,2,2}
> {3,3,3}
> {4,4,4}
> ]
> >
> at
> org.apache.derbyTesting.functionTests.tests.lang.TriggerGeneralTest.assertTriggerOutput(TriggerGeneralTest.java:2362)
> at
> org.apache.derbyTesting.functionTests.tests.lang.TriggerGeneralTest.testTriggersInGeneral(TriggerGeneralTest.java:444)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 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
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 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:57)
> 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)
> 3)
> test_003_loading(org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest)junit.framework.ComparisonFailure:
> Unexpected SQL state. expected:<[4251D]> but was:<[XJ001]>
> at
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:876)
> at
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:905)
> at
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:905)
> at
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:940)
> at
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertStatementError(BaseJDBCTestCase.java:1308)
> at
> org.apache.derbyTesting.junit.BaseJDBCTestCase.expectExecutionError(BaseJDBCTestCase.java:1818)
> at
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportPermsTest.test_003_loading(LuceneSupportPermsTest.java:348)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 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:57)
> 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:57)
> 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)
> 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)
> Caused by: java.sql.SQLException: Java exception:
> 'org.apache.lucene.index.IndexableField: java.lang.ClassNotFoundException'.
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
> at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
> at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
> at
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(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.junit.BaseJDBCTestCase.assertStatementError(BaseJDBCTestCase.java:1303)
> ... 59 more
> Caused by: ERROR XJ001: Java exception:
> 'org.apache.lucene.index.IndexableField: java.lang.ClassNotFoundException'.
> at org.apache.derby.iapi.error.StandardException.newException(Unknown
> Source)
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown
> Source)
> ... 73 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.lucene.index.IndexableField
> at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:677)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
> at java.lang.J9VMInternals.verifyImpl(Native Method)
> at java.lang.J9VMInternals.verify(J9VMInternals.java:73)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:135)
> at java.lang.Class.forNameImpl(Native Method)
> at java.lang.Class.forName(Class.java:182)
> at
> org.apache.derby.impl.services.reflect.DatabaseClasses.loadApplicationClass(Unknown
> Source)
> at
> org.apache.derby.catalog.Java5SystemProcedures.SYSCS_REGISTER_TOOL(Unknown
> Source)
> at
> org.apache.derby.exe.ac06b1817dx0144xf731x3981xffffdb4fd6ba1.g0(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown
> Source)
> at
> org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
> at
> org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
> at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
> Source)
> ... 63 more
> FAILURES!!!
> Tests run: 18534, Failures: 3, Errors: 9
--
This message was sent by Atlassian JIRA
(v6.2#6252)