Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 63514 invoked from network); 7 May 2008 13:58:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 May 2008 13:58:27 -0000 Received: (qmail 17569 invoked by uid 500); 7 May 2008 13:58:20 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 17520 invoked by uid 500); 7 May 2008 13:58:20 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 17492 invoked by uid 99); 7 May 2008 13:58:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 06:58:20 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [194.152.182.1] (HELO mgate.ops.co.at) (194.152.182.1) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 13:57:34 +0000 Received: from smtp.ops.co.at (smtp.int.ops.co.at [172.27.0.4]) by mgate.ops.co.at (OPS Mail Gateway - authorized use only - NO UCE/UBE C=AT L=VIE) with ESMTP id 9094BAFE3B for ; Wed, 7 May 2008 15:56:25 +0200 (CEST) Received: by smtp.ops.co.at (Postfix, from userid 65534) id 9EE656E023F; Wed, 7 May 2008 15:56:24 +0200 (CEST) Received: from [172.27.1.104] (lints2.int.ops.co.at [172.27.1.104]) by smtp.ops.co.at (Postfix) with ESMTP id EED696E0234 for ; Wed, 7 May 2008 15:56:23 +0200 (CEST) Message-ID: <4821B508.2070803@chello.at> Date: Wed, 07 May 2008 15:56:24 +0200 From: "simon.kitching@chello.at" User-Agent: Thunderbird 2.0.0.0 (X11/20070418) MIME-Version: 1.0 To: MyFaces Discussion Subject: Re: getting java.util.NoSuchElementException occasionally References: <48206157.8000307@chello.at> <833675.1968.qm@web56103.mail.re3.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on smtp.ops.co.at X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, hits=-3.6 required=7.0 tests=AWL,BAYES_00,IMPRONONCABLE_2, LOCAL_URI_FOUND_BOL,RATWR10_MESSID,SARE_TOCC_USER autolearn=no version=2.64 Well, that only "mostly" works with Orchestra. Everything is ok as long as the user never uses "right-click>open in new tab", or copies/pastes the complete url. I expect that the same limitation applies for Seam's conversation scopes, though I haven't checked. Regards, Simon Andrew Robinson schrieb: > You could also use conversation scoped beans (Seam or Orchestra). That > way your beans would be bound to the window and not the session. > > Andrew > > On 5/7/08, Nitin Deshmukh wrote: > >> >> --- On Tue, 5/6/08, simon.kitching@chello.at >> wrote: >> >> >>> From: simon.kitching@chello.at >>> Subject: Re: getting java.util.NoSuchElementException occasionally >>> To: "MyFaces Discussion" >>> Date: Tuesday, May 6, 2008, 9:47 AM >>> Nitin Deshmukh schrieb: >>> >>>> Hi All, >>>> >>>> I am using MyFaces1.1.5, Tomahawk 1.1.6, ajax4jsf1.1.1 >>>> >>> on weblogic 8.1 sp6. Users are sometimes getting >>> NoSuchElementException. Following is the StackTrace of the >>> exception. StackTrace doesn't give any information >>> regarding where in the application is started and hence I >>> am not able to figure out what action might have caused it. >>> >>>> Any help is appreciated. >>>> >>>> Thanks in advance, >>>> Nitin >>>> >>>> ====================================================== >>>> java.util.NoSuchElementException >>>> at >>>> >>> java.util.AbstractList$Itr.next(AbstractList.java:426) >>> >>>> at >>>> >> javax.faces.component._FacetsAndChildrenIterator.next(_FacetsAndChildrenIterator.java:56) >> >>>> at >>>> >> javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:604) >> >>>> at >>>> >> javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:605) >> >>>> at >>>> >>> javax.faces.component.UIForm.processDecodes(UIForm.java:56) >>> >>>> at >>>> >> javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:605) >> >>>> at >>>> >> javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:605) >> >>>> at >>>> >>> javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:138) >>> >>>> at >>>> >>> org.ajax4jsf.framework.ajax.AjaxViewRoot.access$001(AjaxViewRoot.java:53) >>> >>>> at >>>> >> org.ajax4jsf.framework.ajax.AjaxViewRoot$1.invokeRoot(AjaxViewRoot.java:256) >> >>>> at >>>> >> org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:53) >> >>>> at >>>> >> org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxContext.java:191) >> >>> I wonder if you have the same problem as someone else >>> posting today. Do >>> your users happen to have multiple windows open at once, in >>> which they >>> are doing simultaneous requests? Perhaps due to some >>> automatic periodic >>> ajax request that is configured to execute in each page? >>> >>> Regards, >>> Simon >>> >> Users can open multiple windows, that is possible. But I don't have any >> automatic ajax requests. I am using ajax on the home page only. But I >> suppose what you are saying is possible that user is trying to do multiple >> simultaneous request and that might have caused it. >> Also, I do have reports that users also get >> java.util.ConcurrentModificationException occasionally. I wonder if both the >> exceptions are because of the same reason.. The second exception arises from >> the action method of a session scoped bean. so, if two threads are trying to >> modify the list at the same time, it is possible to get this exception. >> In the second case, I think the only option I see is to make my action >> method synchronized, or at least to synchronize the block where list is >> being modified.. Is there any other option for me? >> and about the first exception, I have no idea where it starts. >> Thanks, >> Nitin >> >> >> >> ____________________________________________________________________________________ >> Be a better friend, newshound, and >> know-it-all with Yahoo! Mobile. Try it now. >> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ >> >> > >