Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 76333 invoked from network); 14 Mar 2011 20:17:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Mar 2011 20:17:57 -0000 Received: (qmail 66749 invoked by uid 500); 14 Mar 2011 20:17:57 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 66720 invoked by uid 500); 14 Mar 2011 20:17:57 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 66713 invoked by uid 99); 14 Mar 2011 20:17:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 20:17:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 20:17:54 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2EB483A9DB6 for ; Mon, 14 Mar 2011 20:17:32 +0000 (UTC) Date: Mon, 14 Mar 2011 20:17:32 +0000 (UTC) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Message-ID: <379879605.1885.1300133852188.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1950368712.8832.1299697859817.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (DERBY-5119) testQualifiers(org.apache.derbyTesting.functionTests.tests.store.AccessTest)java.sql.SQLException: Table/View 'FOO' already exists in Schema 'APP'. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006615#comment-13006615 ] Kathey Marsden commented on DERBY-5119: --------------------------------------- In this test most fixtures create and later drop the table foo. If any of the prior fixtures fail. On this day testCaseCS4595B_NonUniqueIndex DERBY-4550, then the subsequent fixture will fail trying to create table foo. I think I will just add to the teardown method to drop foo if it exists, so the fixtures don't impact each other. > testQualifiers(org.apache.derbyTesting.functionTests.tests.store.AccessTest)java.sql.SQLException: Table/View 'FOO' already exists in Schema 'APP'. > ---------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-5119 > URL: https://issues.apache.org/jira/browse/DERBY-5119 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.8.0.0 > Environment: IBM 1.6 Windows 2011-03-08 > 10.8.0.1 alpha - (1079643) > Reporter: Kathey Marsden > > 1) testQualifiers(org.apache.derbyTesting.functionTests.tests.store.AccessTest)java.sql.SQLException: Table/View 'FOO' already exists in Schema 'APP'. > at java.lang.Throwable.(Throwable.java:80) > at java.sql.SQLException.(SQLException.java:153) > at java.sql.SQLException.(SQLException.java:176) > at org.apache.derby.impl.jdbc.SQLExceptionFactory40.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.executeUpdate(Unknown Source) > at org.apache.derbyTesting.functionTests.tests.store.AccessTest.testQualifiers(AccessTest.java:1807) > 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:112) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:16) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:51) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:16) > Caused by: java.sql.SQLException: Table/View 'FOO' already exists in Schema 'APP'. > at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) > ... 47 more > Caused by: ERROR X0Y32: Table/View 'FOO' already exists in Schema 'APP'. > 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) > ... 41 more > Note this was followed by another failure DERBY-4550. Not sure if the failure to create the table might have impacted that test. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira