Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 72589 invoked from network); 15 Apr 2007 08:53:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2007 08:53:54 -0000 Received: (qmail 64045 invoked by uid 500); 15 Apr 2007 08:54:00 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 64028 invoked by uid 500); 15 Apr 2007 08:53:59 -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 64017 invoked by uid 99); 15 Apr 2007 08:53:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2007 01:53:59 -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.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 15 Apr 2007 01:53:53 -0700 Received: (qmail 72458 invoked by uid 1977); 15 Apr 2007 08:53:33 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 15 Apr 2007 08:53:33 -0000 Date: Sun, 15 Apr 2007 01:53:33 -0700 (PDT) From: Thomas Fischer To: Apache Torque Developers List Subject: Re: [jira] Resolved: (TORQUE-68) DatabaseMap remains empty if Torque is stopped and restarted, causes NPEs In-Reply-To: <30454439.1176553816702.JavaMail.jira@brutus> Message-ID: <20070415015229.L70611@minotaur.apache.org> References: <30454439.1176553816702.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org Sorry for not knowing what I'm talking about, but does this also fix the Turbine problem ? Thomas On Sat, 14 Apr 2007, Thomas Vandahl (JIRA) wrote: > > [ https://issues.apache.org/jira/browse/TORQUE-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] > > Thomas Vandahl resolved TORQUE-68. > ---------------------------------- > > Resolution: Fixed > Fix Version/s: (was: 3.3) > 3.3-RC3 > > Hopefully last attempt to fix this. A test case has been created which fails before and passes after the fix. What more can you ask... :-) > >> 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: Runtime >> Affects Versions: 3.3-RC2 >> Environment: Avalon, JUnit-Tests >> Reporter: Thomas Vandahl >> Assigned To: Thomas Vandahl >> Fix For: 3.3-RC3 >> >> >> 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. > - > You can reply to this email to add a comment to the issue online. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org > For additional commands, e-mail: torque-dev-help@db.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org