Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 13027 invoked from network); 12 Oct 2005 07:02:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Oct 2005 07:02:49 -0000 Received: (qmail 27661 invoked by uid 500); 12 Oct 2005 07:02:41 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 27602 invoked by uid 500); 12 Oct 2005 07:02:40 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 27585 invoked by uid 99); 12 Oct 2005 07:02:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 00:02:40 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gcjcu-commons-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 00:02:41 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EPacC-0004H3-KC for commons-user@jakarta.apache.org; Wed, 12 Oct 2005 09:01:28 +0200 Received: from digbyk.plus.com ([81.174.129.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Oct 2005 09:01:28 +0200 Received: from lists by digbyk.plus.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Oct 2005 09:01:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: commons-user@jakarta.apache.org From: digby Subject: Re: common EL bug? Date: Wed, 12 Oct 2005 07:58:30 +0100 Lines: 79 Message-ID: References: <63BAEF7DCB973A469B1A60CBE113C1650ADD251D@cmss-mail.back.tickets.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: digbyk.plus.com User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en In-Reply-To: <63BAEF7DCB973A469B1A60CBE113C1650ADD251D@cmss-mail.back.tickets.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Could you paste your code in case this isn't a bug? Trieu, Danny wrote: > Hi, > > > > I am accessing a nested bean property via EL and getting a > java.lang.IllegalAccessException: > > > > java.lang.IllegalAccessException: Class org.apache.commons.el.ArraySuffix > can not access a member of class com.xxx.patron.domain.BasePerson with > modifiers "public" > > at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) > > at java.lang.reflect.Method.invoke(Method.java:578) > > at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:314) > > at > org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145) > > at > org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorIm > pl.java:263) > > at > org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorIm > pl.java:190) > > at > org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImp > l.java:922) > > at > org.apache.jsp.html.portlet.patron.PatronDetails_jsp._jspx_meth_html_form_0( > org.apache.jsp.html.portlet.patron.PatronDetails_jsp:156) > > at > org.apache.jsp.html.portlet.patron.PatronDetails_jsp._jspService(org.apache. > jsp.html.portlet.patron.PatronDetails_jsp:102) > > > > my bean has the default package access modifier, but its properties are > declared "public". I think this is bug with the commons.el package. > > Can someone verify if this is true? If it is a bug. Can someone tell when is > the next release that will have a fix for this bug? > > > > Thanks for any help, > > > > --danny > > > > "The essence of knowledge is, having it, to apply it; not having it, to > confess your ignorance." -Confucius > > > > > > > > "The essence of knowledge is, having it, to apply it; not having it, to > confess your ignorance." -Confucius > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org