Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 33798 invoked from network); 21 Feb 2007 18:55:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2007 18:55:29 -0000 Received: (qmail 79179 invoked by uid 500); 21 Feb 2007 18:55:36 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 79138 invoked by uid 500); 21 Feb 2007 18:55:36 -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 78994 invoked by uid 99); 21 Feb 2007 18:55:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Feb 2007 10:55:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Wed, 21 Feb 2007 10:55:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 278597141EE for ; Wed, 21 Feb 2007 10:55:06 -0800 (PST) Message-ID: <27404070.1172084106158.JavaMail.jira@brutus> Date: Wed, 21 Feb 2007 10:55:06 -0800 (PST) From: "A B (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-1537) Boot-time exception when running Derby tests with derbytools.jar in front of derby.jar in the classpath. In-Reply-To: <4748074.1153328594835.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-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] A B closed DERBY-1537. ---------------------- > Boot-time exception when running Derby tests with derbytools.jar in front of derby.jar in the classpath. > -------------------------------------------------------------------------------------------------------- > > Key: DERBY-1537 > URL: https://issues.apache.org/jira/browse/DERBY-1537 > Project: Derby > Issue Type: Bug > Components: Build tools > Affects Versions: 10.2.1.6 > Reporter: A B > Assigned To: Andrew McIntyre > Priority: Critical > Fix For: 10.2.1.6 > > Attachments: derby-1537-v1.diff > > > When running derbyall against sane jars all tests that create the "wombat" database fail at boot-time if the classpath has derbytools.jar before derby.jar. The failure occurs when the test tries to create the database. I can successfully create a database manually, but for whatever reason the test harness is unable to do so. > I've set the component to "Test" but I don't know if this a test harness problem or something more severe. > The full stack trace is below. If I switch the order of derby.jar and derbytools.jar, everything works as expected. > ERROR XBM01: Startup failed due to an exception. See next exception for details. > at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:297) > at org.apache.derby.iapi.services.monitor.Monitor.exceptionStartingModule(Monitor.java:668) > at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java:1849) > at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(BaseMonitor.java:1013) > at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Monitor.java:587) > at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(EmbedConnection.java:1563) > at org.apache.derby.impl.jdbc.EmbedConnection.(EmbedConnection.java:243) > at org.apache.derby.impl.jdbc.EmbedConnection30.(EmbedConnection30.java:72) > at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java:73) > at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.java:209) > at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.java:116) > at java.sql.DriverManager.getConnection(DriverManager.java:539) > at java.sql.DriverManager.getConnection(DriverManager.java:158) > at org.apache.derby.impl.tools.ij.util.startJBMS(util.java:491) > at org.apache.derby.impl.tools.ij.util.startJBMS(util.java:571) > at org.apache.derby.impl.tools.ij.ConnectionEnv.init(ConnectionEnv.java:62) > at org.apache.derby.impl.tools.ij.utilMain.(utilMain.java:149) > at org.apache.derby.impl.tools.ij.utilMain14.(utilMain14.java:51) > at org.apache.derby.impl.tools.ij.Main14.getutilMain(Main14.java:102) > at org.apache.derby.impl.tools.ij.Main.(Main.java:232) > at org.apache.derby.impl.tools.ij.Main14.(Main14.java:68) > at org.apache.derby.impl.tools.ij.Main14.getMain(Main14.java:91) > at org.apache.derby.impl.tools.ij.Main.mainCore(Main.java:170) > at org.apache.derby.impl.tools.ij.Main14.main(Main14.java:55) > at org.apache.derby.tools.ij.main(ij.java:60) > ============= begin nested exception, level (1) =========== > java.lang.NullPointerException > at java.io.Reader.(Reader.java(Inlined Compiled Code)) > at java.io.InputStreamReader.(InputStreamReader.java(Inlined Compiled Code)) > at java.util.Properties.load(Properties.java(Compiled Code)) > at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.run(DataDictionaryImpl.java:9757) > at java.security.AccessController.doPrivileged1(Native Method) > at java.security.AccessController.doPrivileged(AccessController.java:287) > at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getQueryDescriptions(DataDictionaryImpl.java:9747) > at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.createSPSSet(DataDictionaryImpl.java:8275) > at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.createSystemSps(DataDictionaryImpl.java:8262) > at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.boot(DataDictionaryImpl.java:651) > at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:1996) > at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:290) > at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:542) > at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:418) > at org.apache.derby.impl.sql.conn.GenericLanguageConnectionFactory.bootDataDictionary(GenericLanguageConnectionFactory.java:357) > at org.apache.derby.impl.sql.conn.GenericLanguageConnectionFactory.boot(GenericLanguageConnectionFactory.java:330) > at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:1996) > at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:290) > at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:542) > at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:418) > at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.java:193) > at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:1996) > at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:290) > at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java:1831) > at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(BaseMonitor.java:1013) > at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Monitor.java:587) > at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(EmbedConnection.java:1563) > at org.apache.derby.impl.jdbc.EmbedConnection.(EmbedConnection.java:243) > at org.apache.derby.impl.jdbc.EmbedConnection30.(EmbedConnection30.java:72) > at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java:73) > at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.java:209) > at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.java:116) > at java.sql.DriverManager.getConnection(DriverManager.java:539) > at java.sql.DriverManager.getConnection(DriverManager.java:158) > at org.apache.derby.impl.tools.ij.util.startJBMS(util.java:491) > at org.apache.derby.impl.tools.ij.util.startJBMS(util.java:571) > at org.apache.derby.impl.tools.ij.ConnectionEnv.init(ConnectionEnv.java:62) > at org.apache.derby.impl.tools.ij.utilMain.(utilMain.java:149) > at org.apache.derby.impl.tools.ij.utilMain14.(utilMain14.java:51) > at org.apache.derby.impl.tools.ij.Main14.getutilMain(Main14.java:102) > at org.apache.derby.impl.tools.ij.Main.(Main.java:232) > at org.apache.derby.impl.tools.ij.Main14.(Main14.java:68) > at org.apache.derby.impl.tools.ij.Main14.getMain(Main14.java:91) > at org.apache.derby.impl.tools.ij.Main.mainCore(Main.java:170) > at org.apache.derby.impl.tools.ij.Main14.main(Main14.java:55) > at org.apache.derby.tools.ij.main(ij.java:60) > ============= end nested exception, level (1) =========== > Cleanup action completed -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.