Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 21784 invoked from network); 26 Jun 2007 08:54:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2007 08:54:41 -0000 Received: (qmail 77599 invoked by uid 500); 26 Jun 2007 08:54:43 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 77404 invoked by uid 500); 26 Jun 2007 08:54:42 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 77395 invoked by uid 99); 26 Jun 2007 08:54:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 01:54:42 -0700 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=HTML_MESSAGE,MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of liyilei1979@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 01:54:38 -0700 Received: by ug-out-1314.google.com with SMTP id o2so45318uge for ; Tue, 26 Jun 2007 01:54:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=fNS6DmJtbmCGeaJHwQ04C323NoCRJo8ecWfStYKJHtrLXOggip7odwMMzmfCgAgnpVw0LVKDe0VvSuO2mi/7eQM2pjDKtBjaLZzI85OVoUpqH3eq9VELp0UhrKAk5jEQKoxwbz3QjGf9d1wXXoPSFtQasoKEQLV4QTiI0OHeEYk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Kt5bdmVmxuCcuBaq97KUZalJSj0wiTliUeXogWiJbnQ/GESWbh4Z9cHjMMA6ACcHDn4MR7qoA6jVP/zxjDtl6YDJq5/91CYBIG8DmIKtZksDEubxMzXr1rGhjQOX3gw8/5B7GVglgR7bjRn5k28u5x1w3p00afYViJopefhYkl0= Received: by 10.82.111.8 with SMTP id j8mr14464185buc.1182848055544; Tue, 26 Jun 2007 01:54:15 -0700 (PDT) Received: by 10.82.161.7 with HTTP; Tue, 26 Jun 2007 01:54:10 -0700 (PDT) Message-ID: Date: Tue, 26 Jun 2007 16:54:10 +0800 From: "Leo Li" To: dev@harmony.apache.org Subject: Re: [classlib][beans]java.beans.beancontext.BeanContextSupport.getResource throws NullPointerException In-Reply-To: <7273946b0706260137j28175ed3w523048e3dcfaf822@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10303_5417581.1182848050400" References: <7273946b0706260137j28175ed3w523048e3dcfaf822@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10303_5417581.1182848050400 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Vladimir: It seems not the case. The fail in the report is about serialization. And it just occurs on windows2003 x86_64? If so, it seems to be another cross-platform problem although the phenomena is a pure java problem.(Quite interesting.) I would like to look at it but I have no win2003 on hand.:( Good luck! On 6/26/07, Vladimir Ivanov wrote: > > Could you please look at failures of beans tests on Windows 2003 x86_64 at > http://www.harmonytest.org/upload/nstdrlew14_8080.classlib-drlvm.html. > > Is it this issue? > > thanks, Vladimir > > On 6/26/07, Leo Li wrote: > > Hi, all: > > I found that BeanContextSupport.getResource(String name, > > BeanContextChild bcc) will throw NullPointerException due to its wrongly > > selected classloader. > > Here is a testcase: > > public void testGetResource(){ > > BeanContextChildSupport bean = new BeanContextChildSupport(); > > BeanContextSupport beanContextSupport = new BeanContextSupport(); > > beanContextSupport.add(bean); > > beanContextSupport.getResource("test.txt", bean); > > } > > > > RI passes and Harmony fails. > > It is an undetected regression after M1 due to my modification > > to BeanContextSupport. > > I am not quite sure of the influence of this defect. Applications > might > > be affected. > > Shall we apply a patch for it now or after M2? > > > > > > Good luck! > > -- > > Leo Li > > China Software Development Lab, IBM > > > -- Leo Li China Software Development Lab, IBM ------=_Part_10303_5417581.1182848050400--