Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 17455 invoked from network); 27 Aug 2007 06:17:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Aug 2007 06:17:52 -0000 Received: (qmail 7524 invoked by uid 500); 27 Aug 2007 06:17:47 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 7490 invoked by uid 500); 27 Aug 2007 06:17:47 -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 7481 invoked by uid 99); 27 Aug 2007 06:17:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Aug 2007 23:17:47 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 06:17:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BC98B714187 for ; Sun, 26 Aug 2007 23:17:30 -0700 (PDT) Message-ID: <16393026.1188195450761.JavaMail.jira@brutus> Date: Sun, 26 Aug 2007 23:17:30 -0700 (PDT) From: "Mamta A. Satoor (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3027) CollationTest fails with "Unexpected row count: expected:<0> but was:<1>" when Xalan 2.7 jars are in classpath In-Reply-To: <6864922.1187939443359.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522935 ] Mamta A. Satoor commented on DERBY-3027: ---------------------------------------- I think the problem is that the test was checking for incorrect result from the query in question (line 1056 in CollationTest). I have checked in a fix for it in both main(570003) and 10.3 client (570013). > CollationTest fails with "Unexpected row count: expected:<0> but was:<1>" when Xalan 2.7 jars are in classpath > -------------------------------------------------------------------------------------------------------------- > > Key: DERBY-3027 > URL: https://issues.apache.org/jira/browse/DERBY-3027 > Project: Derby > Issue Type: Bug > Components: Regression Test Failure, Test > Affects Versions: 10.4.0.0 > Environment: Solaris 10, Sun Java SE 5.0, Sun Java SE 6, Xalan 2.7.0, Derby trunk #569146 > Reporter: Knut Anders Hatlen > Assignee: Mamta A. Satoor > > When I have the Xalan jars in the classpath, testEnglishCollation(), testNorwayCollation() and testPolishCollation() fail with this stack trace: > 1) testEnglishCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest)junit.framework.AssertionFailedError: Unexpected row count: expected:<0> but was:<1> > at org.apache.derbyTesting.junit.JDBC.assertDrainResults(JDBC.java:540) > at org.apache.derbyTesting.junit.JDBC.assertEmpty(JDBC.java:468) > at org.apache.derbyTesting.functionTests.tests.lang.CollationTest.checkLangBasedQuery(CollationTest.java:1129) > at org.apache.derbyTesting.functionTests.tests.lang.CollationTest.commonTestingForTerritoryBasedDB(CollationTest.java:1056) > at org.apache.derbyTesting.functionTests.tests.lang.CollationTest.testEnglishCollation(CollationTest.java:512) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95) > 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) > If I remove the Xalan jars from the classpath, the test runs cleanly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.