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

Rick Hillegas commented on DERBY-6528:
--------------------------------------

Hi Myrna and Mike,

Thanks for working to make the tests run cleanly (or more cleanly) in your lab.

The Lucene plugin is an optional tool from the viewpoint of customers. The 
production requirements for Derby haven't changed. Derby runs fine without 
these jars and you only get into trouble if you want to run the plugin without 
the Lucene jars.

However, the jars are checked into the Derby code line and they are wired into 
the Derby build so that the plugin is always built. Since the jars are part of 
the Derby code line, it's easy to include them on a test class path. I don't 
see why we wouldn't require them for a full run of the Derby tests. If someone 
checks in code which breaks the Lucene plugin, don't we want to find out about 
that as soon as possible?

I think you are right that the tests for the xml datatype used to be optional. 
That was in the bad old days when the Derby build had optional pieces, before 
we settled on the model that every Derby build should build the entire product, 
including the optional parts like the xml datatype and osgi support. We put 
considerable effort into making this work. I think it's the right model. It 
results in fewer surprises. It means every Derby contributor can build a fully 
functional patch release if they can't wait for the community to build an 
official release; there are no surprises, no silent omissions of important 
functionality. And this model dramatically reduces lag time between the 
checkins which break the code and the test runs which disclose that.

I'm sorry that these tests are noisy right now. I was frankly surprised to 
discover that some platforms require additional privileges in order to run the 
plugin. But that's real information. It's one of the significant values of the 
nightly and continuous integration tests: they give you visibility into the 
behavior of your code on a spectrum of platforms you don't normally test. I 
would really like to understand how big this privilege issue is. I want the 
plugin to go out with a template policy file which will make it work on all the 
platforms which are important to Oracle, IBM, and other contributors.

I hope this doesn't seem onerous. I do appreciate your patience.

Thanks,
-Rick

> 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)

Reply via email to