myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hazem Saleh" <hazem.sa...@gmail.com>
Subject Re: getting java.util.NoSuchElementException occasionally
Date Tue, 06 May 2008 14:35:04 GMT
Hi Nitin,

Do you have selectOneMenus or selectOneLists ?
This error happened with me before because the selectItem was empty, and
other times because the selectItem had a wrong value.
Please try to look in your application pages from this perspective.

On Tue, May 6, 2008 at 4:34 PM, Nitin Deshmukh <deshmukh73@yahoo.com> wrote:

> 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)
>        at
> org.ajax4jsf.framework.ajax.AjaxViewRoot.processDecodes(AjaxViewRoot.java:272)
>        at
> org.apache.myfaces.lifecycle.ApplyRequestValuesExecutor.execute(ApplyRequestValuesExecutor.java:32)
>        at
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
>        at
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
>        at
> org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:77)
>        at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
>        at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
>        at
> weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
>        at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
>        at
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:100)
>        at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
>        at
> org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
>        at
> org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
>        at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
>        at
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
>        at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
>        at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
>        at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>        at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>        at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
>        at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
>        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
>        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
>
>
>  ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>



-- 
Hazem Ahmed Saleh Ahmed
http://www.jroller.com/page/HazemBlog

Mime
View raw message