Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 1185 invoked from network); 6 Oct 2008 15:02:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Oct 2008 15:02:30 -0000 Received: (qmail 45341 invoked by uid 500); 6 Oct 2008 15:02:18 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 45304 invoked by uid 500); 6 Oct 2008 15:02:18 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 45293 invoked by uid 99); 6 Oct 2008 15:02:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 08:02:17 -0700 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=DNS_FROM_SECURITYSAGE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.111.113 as permitted sender) Received: from [65.55.111.113] (HELO blu0-omc2-s38.blu0.hotmail.com) (65.55.111.113) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 15:01:12 +0000 Received: from BLU142-W3 ([65.55.111.72]) by blu0-omc2-s38.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 6 Oct 2008 08:01:46 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_fd20cf59-9506-4680-b48b-8d4227d6c740_" X-Originating-IP: [65.96.228.65] From: Martin Gainty To: Struts Users Mailing List , Subject: RE: SV: Ognl versions Date: Mon, 6 Oct 2008 11:01:46 -0400 Importance: Normal In-Reply-To: References: <763ca2a0810020645q60db1f6dha41a749f4728e932@mail.gmail.com> <42db7f0a0810020842k6049ce85m4abf165b0cd35881@mail.gmail.com> <867e1f9a0810031531w2c6be580gb00c7fb137958549@mail.gmail.com> MIME-Version: 1.0 X-OriginalArrivalTime: 06 Oct 2008 15:01:46.0681 (UTC) FILETIME=[73CF5290:01C927C4] X-Virus-Checked: Checked by ClamAV on apache.org --_fd20cf59-9506-4680-b48b-8d4227d6c740_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable he's trying to determine where the failure occurs so you'll need to get your jobTypeList array populated and is set to the ValueStack=20 http://struts.apache.org/2.1.2/docs/set.html you can then use property to check if you see "a default value" you'll know you started with null valuehth Martin=20 ______________________________________________=20 Disclaimer and confidentiality note=20 Everything in this e-mail and any attachments relates to the official busin= ess of Sender. This transmission is of a confidential nature and Sender doe= s not endorse distribution to any party other than intended recipient. Send= er does not necessarily endorse content contained within this transmission.= =20 > Subject: SV: Ognl versions > Date: Mon=2C 6 Oct 2008 16:08:52 +0200 > From: Gunnar.Bostrom@tietoenator.com > To: user@struts.apache.org=3B Dale@Newfield.org >=20 > Hi=2C > The jobTypelist is empty=2C but it worked with 2.6.11 version of ognl. > The applications is our own. > Thanks for trying to help! > :-) > =20 >=20 > > -----Ursprungligt meddelande----- > > Fr=E5n: Dale Newfield [mailto:dale@newfield.org]=20 > > Skickat: den 4 oktober 2008 00:31 > > Till: Struts Users Mailing List > > =C4mne: Re: Ognl versions > >=20 > > So this is saying that it can't find=20 > > %{jobTypeList[0].searchJobVO.type}? > > Can you confirm where that data lives=2C should live=2C and that=20 > > there's not some specific reason that might not work? > > Is this in your own app=2C or some published test/demo? > >=20 > > -Dale > >=20 > > for example: > > || > > || > |value=3D"%{jobTypeList[0].searchJobVO}"/>| > > || > >=20 > > On Fri=2C Oct 3=2C 2008 at 10:01 AM=2C=20 > > wrote: > >=20 > > > Hi=2C > > > I get the same error from 2.7.2 as 2.7.3. > > > > > > Here is the jsp fragment that fails > > > > > name=3D"searchJobVO.type" > > > label=3D"Typ av =E4rende:" > > > required=3D"false" > > > headerKey=3D"-1" > > > headerValue=3D"Alla" > > > list=3D"jobTypeList" > > > /> > > > > > > And the error is: > > > > > > 2008-10-03 15:55:32=2C280 ERROR- > > > [localhost].[/serf-web].[default]:253=2Chttp-8080-Processor25 - > > > Servlet.service() for servlet default threw exception tag 'select'=2C= =20 > > > field 'list'=2C name 'searchJobVO.type': The requested list key=20 > > > 'jobTypeList' could not be resolved as a=20 > > > collection/array/map/enumeration/iterator type. Example: people or=20 > > > people.{name} - [unknown location] > > > at > > >=20 > > org.apache.struts2.components.Component.fieldError(Component.java:231) > > > at > > >=20 > > org.apache.struts2.components.Component.findValue(Component.java:293) > > > at > > >=20 > > org.apache.struts2.components.ListUIBean.evaluateExtraParams(L > > istUIBean.java:79) > > > at > > >=20 > > org.apache.struts2.components.Select.evaluateExtraParams(Selec > > t.java:99) > > > at > > > org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:780) > > > at org.apache.struts2.components.UIBean.end(UIBean.java:481) > > > at > > >=20 > > org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(Comp > > onentTagSupport.java:43) > > > at > > >=20 > > org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.on > > goingOrderSearch_jsp._jspx_meth_s_005fselect_005f4(ongoingOrde > > rSearch_jsp.java:1024) > > > at > > >=20 > > org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.on > > goingOrderSearch_jsp._jspx_meth_s_005fform_005f0(ongoingOrderS > > earch_jsp.java:456) > > > at > > >=20 > > org.apache.jsp.WEB_002dINF.jsp.ordermanagement.ongoingOrder.ongoingOrd > > > erSearch_jsp._jspService(ongoingOrderSearch_jsp.java:166) > > > > > > In the same jsp page I have a few other drop down lists that still=20 > > > works with the new version of ognl! > > > > > > Any ideas? > > > > > > /Gunnar > > > > > > > > > > -----Ursprungligt meddelande----- > > > > Fr=E5n: Gunnar.Bostrom@tietoenator.com=20 > > > > [mailto:Gunnar.Bostrom@tietoenator.com] > > > > Skickat: den 3 oktober 2008 08:24 > > > > Till: user@struts.apache.org > > > > =C4mne: SV: Ognl versions > > > > > > > > Ok=2C then I take version 2.7.2 for a spin. > > > > /Gunnar > > > > > > > > > > > > > -----Ursprungligt meddelande----- > > > > > Fr=E5n: Chris Pratt [mailto:thechrispratt@gmail.com] > > > > > Skickat: den 2 oktober 2008 17:42 > > > > > Till: Struts Users Mailing List > > > > > =C4mne: Re: Ognl versions > > > > > > > > > > I have been using OGNL 2.7.2 with Struts 2.0.11.2 and=20 > > 2.1.2 for a=20 > > > > > while without any problems. Maybe it's something in OGNL > > > > 2.7.3 that > > > > > is incompatible. > > > > > (*Chris*) > > > > > > > > > > On Thu=2C Oct 2=2C 2008 at 6:45 AM=2C Owen Berry=20 > > > > > > > wrote: > > > > > > > > > > > In light of this issue=2C it would be nice if a newer > > > > version of ognl > > > > > > could be used within struts. I'm using the 2.1.2 beta and it=20 > > > > > > also depends on ognl-2.6.11. Not sure how simple it=20 > > would be to > > > > > update to a > > > > > > newer ognl though as struts-2.1.2 also depends on > > > > > xwork-2.1.1=2C which > > > > > > depends on ognl-2.6.11=2C so it would need to be updated too. > > > > > > > > > > > > On Thu=2C Oct 2=2C 2008 at 7:41 AM=2C > > > > > wrote: > > > > > > > Hi=2C > > > > > > > I can see that many of my threads stays blocked for a > > > > long time in > > > > > > gnl.OgnlRuntime.invokeMethod line 511. > > > > > > > If this is to any help. > > > > > > > :-) > > > > > > > > > > > > > > > > > > > > >> -----Ursprungligt meddelande----- > > > > > > >> Fr=E5n: Gunnar.Bostrom@tietoenator.com=20 > > > > > > >> [mailto:Gunnar.Bostrom@tietoenator.com] > > > > > > >> Skickat: den 2 oktober 2008 12:11 > > > > > > >> Till: user@struts.apache.org > > > > > > >> =C4mne: Ognl versions > > > > > > >> > > > > > > >> Hi=2C > > > > > > >> We use struts2-core 2.0.11.2 which according to maven use=20 > > > > > > >> opensymphony.ognl version 2.6.11. > > > > > > >> > > > > > > >> I wonder what the relationships is to ognl.ognl and > > > > > specifically if > > > > > > >> the opensymphony version also has the bug > > > > > > >> http://jira.opensymphony.com/browse/OGNL-141 > > > > > > >> > > > > > > >> When we are doing load tests we get very long=20 > > response times. > > > > > > >> I tried to replace opensymphony.ognl version 2.6.11 with > > > > > ognl.ognl > > > > > > >> version 2.7.3 but got functional errors. > > > > > > >> > > > > > > >> Regards > > > > > > >> Gunnar > > > > > > >> > > > > > > >> > > > > > > >> > > > > >=20 > > ------------------------------------------------------------------ > > > > > - > > > > > > >> -- To unsubscribe=2C e-mail:=20 > > user-unsubscribe@struts.apache.org > > > > > > >> For additional commands=2C e-mail:=20 > > user-help@struts.apache.org > > > > > > >> > > > > > > >> > > > > > > > > > > > > > > > > > > >=20 > > ------------------------------------------------------------------ > > > > > -- > > > > > > > - To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.or= g > > > > > > > For additional commands=2C e-mail: user-help@struts.apache.or= g > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >=20 > > -------------------------------------------------------------------- > > > > - > > > > > > To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.org > > > > > > For additional commands=2C e-mail: user-help@struts.apache.org > > > > > > > > > > > > > > > > > > > > > > > > >=20 > > -------------------------------------------------------------------- > > > > - To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.org > > > > For additional commands=2C e-mail: user-help@struts.apache.org > > > > > > > > > > > > > >=20 > > --------------------------------------------------------------------- > > > To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.org > > > For additional commands=2C e-mail: user-help@struts.apache.org > > > > > > > >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.org > For additional commands=2C e-mail: user-help@struts.apache.org >=20 _________________________________________________________________ See how Windows connects the people=2C information=2C and fun that are part= of your life. http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/= --_fd20cf59-9506-4680-b48b-8d4227d6c740_--