voyent
Could not find the MenuPopup UIComponent referenced by attribute menuPopup  XML
Forum Index -> General Help
Author Message
andreiij

Joined: 15/Feb/2009 00:00:00
Messages: 35
Offline


All,
I have two context menus / menuPopup in my application. At random occasions i get this exception that the component cant be found. I get this exception randomly maybe 10% of the time when interreacting with random objects on the page.

I have manually set id's on components.
Has anyone else encountered this exception?
Any suggestions?

IceFaces 1.8.2 facelets
AS: Tomcat 6, GF 2, GF 3, WAS 6.1....

Thanks
/Andy

Code:
  
                           <ice:menuPopup 
                     styleClass="contextMenu" id="mngCtxMnu"
                     style="z-index:35000;position:absolute;top:0px;left:0px;"
                     displayListener="#{selectionController.ctxMnuDisplayListener}"
                     binding="#{.selectionController.menuPopup}"/>
 


Code:
<ice:panelGroup id="NCtxMnu" style="width:300px;overflow:hidden;" menuPopup=":::mngCtxMnu" contextValue="#{row}">


Code:
 2009-dec-16 17:24:11 com.sun.faces.lifecycle.Phase doPhase
 ALLVARLIG: JSF1054: (Phase ID: APPLY_REQUEST_VALUES 2, View ID: /Main.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@1214726]
 2009-dec-16 17:24:11 org.apache.catalina.core.StandardWrapperValve invoke
 ALLVARLIG: Servlet.service() for servlet Blocking Servlet threw exception
 java.lang.IllegalArgumentException: Could not find the MenuPopup UIComponent referenced by attribute menuPopup=":::mngCtxMnu" in UIComponent of type: com.icesoft.faces.component.ext.HtmlPanelGroup with id: "NCtxMnu"
 	at com.icesoft.faces.component.menupopup.MenuPopupHelper.findMenuPopup(MenuPopupHelper.java:111)
 	at com.icesoft.faces.component.menupopup.MenuPopupHelper.processDisplayListener(MenuPopupHelper.java:78)
 	at com.icesoft.faces.component.menupopup.MenuPopupHelper.decodeMenuContext(MenuPopupHelper.java:49)
 	at com.icesoft.faces.component.ext.renderkit.GroupRenderer.decode(GroupRenderer.java:264)
 	at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
 	at com.icesoft.faces.component.ext.HtmlPanelGroup.decode(HtmlPanelGroup.java:134)
 	at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1031)
 	at com.icesoft.faces.component.ext.HtmlDataTable.processKids(HtmlDataTable.java:338)
 	at com.icesoft.faces.component.ext.HtmlDataTable.iterate(HtmlDataTable.java:293)
 	at com.icesoft.faces.component.panelseries.UISeries.processDecodes(UISeries.java:315)
 	at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
 	at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
 	at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
 	at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
 	at javax.faces.component.UIForm.processDecodes(UIForm.java:208)
 	at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
 	at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
 	at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
 	at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:540)
 	at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
 	at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
 	at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:132)
 	at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:74)
 	at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:31)
 	at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
 	at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
 	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
 	at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:26)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
 	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 	at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:359)
 	at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
 	at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
 	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
 	at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
 	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
 	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
 	at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
 	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
 	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
 	at org.springframework.security.ui.preauth.AbstractPreAuthenticatedProcessingFilter.doFilterHttp(AbstractPreAuthenticatedProcessingFilter.java:60)
 	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
 	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
 	at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
 	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
 	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
 	at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:174)
 	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
 	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
 	at java.lang.Thread.run(Unknown Source)
 
andreiij

Joined: 15/Feb/2009 00:00:00
Messages: 35
Offline


No one encountered this, mostly random, exception?
Can the icefaces team point me in any direction?

Thanks,
Andy
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team