From torque-dev-return-7677-apmail-db-torque-dev-archive=db.apache.org@db.apache.org Thu Jan 18 15:35:51 2007 Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 29288 invoked from network); 18 Jan 2007 15:35:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2007 15:35:51 -0000 Received: (qmail 19153 invoked by uid 500); 18 Jan 2007 15:35:57 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 19127 invoked by uid 500); 18 Jan 2007 15:35:57 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 19108 invoked by uid 99); 18 Jan 2007 15:35:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 07:35:57 -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; Thu, 18 Jan 2007 07:35:50 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5007D714295 for ; Thu, 18 Jan 2007 07:35:30 -0800 (PST) Message-ID: <3399401.1169134530324.JavaMail.jira@brutus> Date: Thu, 18 Jan 2007 07:35:30 -0800 (PST) From: "Thomas Vandahl (JIRA)" To: torque-dev@db.apache.org Subject: [jira] Assigned: (TORQUE-68) DatabaseMap remains empty if Torque is stopped and restarted, causes NPEs In-Reply-To: <26860175.1164568041077.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/TORQUE-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Vandahl reassigned TORQUE-68: ------------------------------------ Assignee: Thomas Vandahl > DatabaseMap remains empty if Torque is stopped and restarted, causes NPEs > ------------------------------------------------------------------------- > > Key: TORQUE-68 > URL: https://issues.apache.org/jira/browse/TORQUE-68 > Project: Torque > Issue Type: Bug > Components: Generator, Runtime > Affects Versions: 3.3 > Environment: Avalon, JUnit-Tests > Reporter: Thomas Vandahl > Assigned To: Thomas Vandahl > > When running tests with the Fulcrum-Testcontainer, the TorqueComponent is instantiated on every lookup (setUp()) and shutdown on every tearDown(). In this scenario the first test succeeds and all others fail because the DatabaseMap contains no tables. This is probably caused by invalid static references to the DatabaseMap of the previous instance. This situation causes NullPointerExceptions in several BasePeer methods(e.g. processTables()). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org