javax.faces.FacesException

Cannot add the same component twice: javax_faces_location_HEAD

Solutions on the web673

  • via ICEsoft JIRA Issue Tracker by Arran Mccullough, 1 year ago
    Cannot add the same component twice: javax_faces_location_HEAD
  • via ICEsoft JIRA Issue Tracker by Arran Mccullough, 1 year ago
    Cannot add the same component twice: javax_faces_location_HEAD
  • via ICEsoft JIRA Issue Tracker by Arran Mccullough, 1 year ago
    Cannot add the same component twice: javax_faces_location_HEAD
  • Stack trace

    • javax.faces.FacesException: Cannot add the same component twice: javax_faces_location_HEAD at com.sun.faces.context.StateContext$DynamicAddRemoveListener.handleAddRemoveWithAutoPrune(StateContext.java:748) at com.sun.faces.context.StateContext$DynamicAddRemoveListener.handleAdd(StateContext.java:664) at com.sun.faces.context.StateContext$AddRemoveListener.processEvent(StateContext.java:347) at com.sun.faces.context.StateContext$DynamicAddRemoveListener.processEvent(StateContext.java:565) at javax.faces.event.SystemEvent.processListener(SystemEvent.java:108) at javax.faces.event.ComponentSystemEvent.processListener(ComponentSystemEvent.java:118) at com.sun.faces.application.ApplicationImpl.processListenersAccountingForAdds(ApplicationImpl.java:2218) at com.sun.faces.application.ApplicationImpl.invokeViewListenersFor(ApplicationImpl.java:2036) at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:290) at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:245) at javax.faces.component.UIComponentBase.publishAfterViewEvents(UIComponentBase.java:2253) at javax.faces.component.UIComponentBase.doPostAddProcessing(UIComponentBase.java:1934) at javax.faces.component.UIComponentBase.setParent(UIComponentBase.java:447) at javax.faces.component.UIComponentBase$FacetsMap.put(UIComponentBase.java:2993) at javax.faces.component.UIComponentBase$FacetsMap.put(UIComponentBase.java:2953) at javax.faces.component.UIViewRoot.getComponentResources(UIViewRoot.java:1818) at javax.faces.component.UIViewRoot.addComponentResource(UIViewRoot.java:521) at org.icefaces.impl.application.InitializeHeadAndBodyFacetContainers.initializeFacetContainer(InitializeHeadAndBodyFacetContainers.java:49) at org.icefaces.impl.application.InitializeHeadAndBodyFacetContainers.beforePhase(InitializeHeadAndBodyFacetContainers.java:34) at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:655) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago