Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 96836 invoked from network); 29 May 2005 10:44:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 May 2005 10:44:03 -0000 Received: (qmail 89425 invoked by uid 500); 29 May 2005 10:44:02 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 89163 invoked by uid 500); 29 May 2005 10:44:01 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 89148 invoked by uid 99); 29 May 2005 10:44:01 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of t.schapitz@lycos.de designates 212.78.202.65 as permitted sender) Received: from lmfilto01.st1.spray.net (HELO lmfilto01.st1.spray.net) (212.78.202.65) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 29 May 2005 03:43:59 -0700 Received: from localhost (localhost [127.0.0.1]) by lmfilto01.st1.spray.net (Postfix) with ESMTP id EBF6816FC27 for ; Sun, 29 May 2005 10:43:55 +0000 (GMT) Received: from lmsmtp02.st1.spray.net ([212.78.202.112]) by localhost (lmfilto01.st1.spray.net [212.78.202.32]) (amavisd-new, port 10024) with ESMTP id 26657-02 for ; Sun, 29 May 2005 10:43:55 +0000 (GMT) Received: from [127.0.0.1] (p54B07EAE.dip.t-dialin.net [84.176.126.174]) by lmsmtp02.st1.spray.net (Postfix) with ESMTP id 83CD99F for ; Sun, 29 May 2005 10:43:55 +0000 (GMT) Message-ID: <42999CE0.7060904@lycos.de> Date: Sun, 29 May 2005 12:43:44 +0200 From: Thomas Schapitz User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: DO NOT REPLY [Bug 30548] - NPE in oata.Project when executing emma task from netbeans. References: <20050529102506.21A3917F@ajax.apache.org> In-Reply-To: <20050529102506.21A3917F@ajax.apache.org> X-Enigmail-Version: 0.90.1.1 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at spray.net X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N bugzilla@apache.org schrieb: >DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� >RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT >. >ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� >INSERTED IN THE BUG DATABASE. > >http://issues.apache.org/bugzilla/show_bug.cgi?id=30548 > > > > > >------- Additional Comments From t.schapitz@lycos.de 2005-05-29 12:25 ------- >I later on found out, that this had partly to do with the clean up code in the >ant-bridge of NB 3.6. >Looks like the ant-bridge is trying to prevent memory leaks by forcing some >of the ANT-Internal variables to 'null' via reflection API. >(Possible only, if there is no security manager, or security manager permissions >are set accordingly). >So anyway, this isn't ANTs fault, but could be considered a blatand breach of >ANTs isolation by Netbeans... >The problem vanished in NB 4.0. > > > As an after thought: NB resorting to a means like this might indicate, that integrating ANT into another application has its difficulties with house keeping. I'm not good at ANTs internals, and don't know if something alike is already there, but maybee it would be of help for IDEs like NB, if there was an explicitly defined lifecycle for all important ANT Objects, namely Projects, Targets, and Tasks, including a cleanUp() method, releasing internal resources. Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org