aspose file tools*
The moose likes JSF and the fly likes javax.el.ELException: AjaxUpdate component not found for id Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "javax.el.ELException: AjaxUpdate component not found for id" Watch "javax.el.ELException: AjaxUpdate component not found for id" New topic
Author

javax.el.ELException: AjaxUpdate component not found for id

Aditya Mandal
Greenhorn

Joined: Mar 22, 2012
Posts: 3
Hi All,

<a4j:commandLink styleClass="redLink"
oncomplete="javascript:Richfaces.showModalPanel('miscellaneous_maintenance');"
value="Class" action="#{Miscfields.setCtypeDetails}"
reRender="miscellaneous_maintenance, ctypedetails"
status="waitStatus">
<f:setPropertyActionListener target="#{Miscfields.currentCtype}"
value="CUSTCLASS" />
</a4j:commandLink>


This is one of link on my page. When i click on this, open a rich:modalPanel.
The main problem is that this is working fine but some of time randomly it gives below exception.


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: javax.el.ELException: AjaxUpdate component not found for id: :j_id_jsp_1837504875_132:ctypedetails:j_id_jsp_1837504875_150
javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:349)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
com.gemsimple.managedbeans.IE9CompatablityFixServlet.doFilter(IE9CompatablityFixServlet.java:22)
com.gemsimple.managedbeans.IE9CompatablityFixServlet.doFilter(IE9CompatablityFixServlet.java:22)

root cause

javax.faces.FacesException: javax.el.ELException: AjaxUpdate component not found for id: :j_id_jsp_1837504875_132:ctypedetails:j_id_jsp_1837504875_150
org.richfaces.component.html.HtmlInplaceInput.getOnviewactivated(HtmlInplaceInput.java:1422)
sun.reflect.GeneratedMethodAccessor3268.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1609)
org.richfaces.renderkit.html.InplaceInputRenderer.doEncodeEnd(InplaceInputRenderer.java:492)
org.richfaces.renderkit.html.InplaceInputRenderer.doEncodeEnd(InplaceInputRenderer.java:557)
org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:134)
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:864)
org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:281)
org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer$6.renderContent(ScrollableDataTableBaseRenderer.java:312)
org.richfaces.renderkit.html.ExtendedColumnVisitor.visit(ExtendedColumnVisitor.java:48)
org.richfaces.renderkit.html.ColumnWalker.iterateOverColumns(ColumnWalker.java:60)
org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer$7.process(ScrollableDataTableBaseRenderer.java:354)
org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:101)
org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:1133)
org.richfaces.component.UIScrollableDataTable.walk(UIScrollableDataTable.java:448)
org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer.renderGridBody(ScrollableDataTableBaseRenderer.java:555)
org.richfaces.renderkit.html.ScrollableDataTableRenderer.doEncodeEnd(ScrollableDataTableRenderer.java:413)
org.richfaces.renderkit.html.ScrollableDataTableRenderer.doEncodeEnd(ScrollableDataTableRenderer.java:590)
org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:134)
org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer.encodeEnd(ScrollableDataTableBaseRenderer.java:888)
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:864)
org.richfaces.component.UIScrollableDataTable.encodeEnd(UIScrollableDataTable.java:454)
org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:281)
org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:279)
org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
org.richfaces.renderkit.html.ModalPanelRenderer.doEncodeChildren(ModalPanelRenderer.java:368)
org.richfaces.renderkit.html.ModalPanelRenderer.doEncodeChildren(ModalPanelRenderer.java:363)
org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:840)
org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:166)
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
org.ajax4jsf.renderkit.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:123)
org.ajax4jsf.component.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:680)
org.ajax4jsf.component.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:551)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)
com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:349)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
com.gemsimple.managedbeans.IE9CompatablityFixServlet.doFilter(IE9CompatablityFixServlet.java:22)
com.gemsimple.managedbeans.IE9CompatablityFixServlet.doFilter(IE9CompatablityFixServlet.java:22)

root cause

javax.el.ELException: AjaxUpdate component not found for id: :j_id_jsp_1837504875_132:ctypedetails:j_id_jsp_1837504875_150
org.ajax4jsf.component.EventValueExpression.getComponent(EventValueExpression.java:82)
org.ajax4jsf.component.EventValueExpression.getValue(EventValueExpression.java:130)
org.richfaces.component.html.HtmlInplaceInput.getOnviewactivated(HtmlInplaceInput.java:1420)
sun.reflect.GeneratedMethodAccessor3268.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1609)
org.richfaces.renderkit.html.InplaceInputRenderer.doEncodeEnd(InplaceInputRenderer.java:492)
org.richfaces.renderkit.html.InplaceInputRenderer.doEncodeEnd(InplaceInputRenderer.java:557)
org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:134)
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:864)
org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:281)
org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer$6.renderContent(ScrollableDataTableBaseRenderer.java:312)
org.richfaces.renderkit.html.ExtendedColumnVisitor.visit(ExtendedColumnVisitor.java:48)
org.richfaces.renderkit.html.ColumnWalker.iterateOverColumns(ColumnWalker.java:60)
org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer$7.process(ScrollableDataTableBaseRenderer.java:354)
org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:101)
org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:1133)
org.richfaces.component.UIScrollableDataTable.walk(UIScrollableDataTable.java:448)
org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer.renderGridBody(ScrollableDataTableBaseRenderer.java:555)
org.richfaces.renderkit.html.ScrollableDataTableRenderer.doEncodeEnd(ScrollableDataTableRenderer.java:413)
org.richfaces.renderkit.html.ScrollableDataTableRenderer.doEncodeEnd(ScrollableDataTableRenderer.java:590)
org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:134)
org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer.encodeEnd(ScrollableDataTableBaseRenderer.java:888)
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:864)
org.richfaces.component.UIScrollableDataTable.encodeEnd(UIScrollableDataTable.java:454)
org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:281)
org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:279)
org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
org.richfaces.renderkit.html.ModalPanelRenderer.doEncodeChildren(ModalPanelRenderer.java:368)
org.richfaces.renderkit.html.ModalPanelRenderer.doEncodeChildren(ModalPanelRenderer.java:363)
org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:840)
org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:166)
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)
org.ajax4jsf.renderkit.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:123)
org.ajax4jsf.component.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:680)
org.ajax4jsf.component.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:551)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)
com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:349)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
com.gemsimple.managedbeans.IE9CompatablityFixServlet.doFilter(IE9CompatablityFixServlet.java:22)
com.gemsimple.managedbeans.IE9CompatablityFixServlet.doFilter(IE9CompatablityFixServlet.java:22)

note The full stack trace of the root cause is available in the JBoss Web/3.0.0-CR1 logs.
JBoss Web/3.0.0-CR1


Please give me some clue why is exception is come randomly.......
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: javax.el.ELException: AjaxUpdate component not found for id