[ http://issues.apache.org/jira/browse/MYFACES-765?page=comments#action_12356468 ]
Simon Kitching commented on MYFACES-765: ---------------------------------------- The exception is due to some stricter error-checking implemented recently in the _ComponentChildrenList class. No component is supposed to have two child components with the same ID value; this wasn't being checked before but now is. So the exception probably means there was always a bug of some sort but now it's been revealed. Are you by any chance using explicit IDs anywhere in your jsp page related to the calendar object? Perhaps you've accidentally assigned the same explicit ID to two different components. The id "calendar" certainly isn't a JSF-generated id! If not, then I guess that id must be used within the calendar component somewhere. Note that commenting code out with <!-- --> does *not* stop JSP from executing tags within the comment and therefore adding components to the JSF component tree. I've been bitten by this a few times - commenting out old code while trying experiments and being confused by the result. Or maybe that's just me :-). > <t:inputCalendar/> stops working > -------------------------------- > > Key: MYFACES-765 > URL: http://issues.apache.org/jira/browse/MYFACES-765 > Project: MyFaces > Type: Bug > Components: Tomahawk > Versions: 1.1.1 > Environment: JDK 1.4.2, Unix, Windows, Resin 3.0.14 > Reporter: Boris Kovalenko > Assignee: Martin Marinschek > Fix For: Nightly > > Today, 31.10.2005 <t:inputCalendar> stops working with exception. Not sure > but may be this is regarding to TZ change? > [2005-10-31 10:38:59.315] Error Rendering View > [2005-10-31 10:38:59.315] java.lang.IllegalStateException: Client-id : > calendar_1130737139296_link is duplicated in the faces tree. > [2005-10-31 10:38:59.315] at > org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:241) > [2005-10-31 10:38:59.315] at > org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:255) > [2005-10-31 10:38:59.315] at > org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:255) > [2005-10-31 10:38:59.315] at > org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:204) > [2005-10-31 10:38:59.315] at > org.apache.myfaces.renderkit.html.util.DummyFormUtils.writeDummyForm(DummyFormUtils.java:111) > [2005-10-31 10:38:59.315] at > org.apache.myfaces.renderkit.html.HtmlResponseWriterImpl.endDocument(HtmlResponseWriterImpl.java:156) > [2005-10-31 10:38:59.315] at > com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:449) > [2005-10-31 10:38:59.315] at > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) > [2005-10-31 10:38:59.315] at > javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) > [2005-10-31 10:38:59.315] at > com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99) > [2005-10-31 10:38:59.315] at > org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122) > [2005-10-31 10:38:59.315] at > com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) > [2005-10-31 10:38:59.315] at > com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163) > [2005-10-31 10:38:59.315] at > com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) > [2005-10-31 10:38:59.315] at > com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:396) > [2005-10-31 10:38:59.315] at > com.caucho.server.port.TcpConnection.run(TcpConnection.java:363) > [2005-10-31 10:38:59.315] at > com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) > [2005-10-31 10:38:59.315] at > com.caucho.util.ThreadPool.run(ThreadPool.java:423) > [2005-10-31 10:38:59.315] at java.lang.Thread.run(Thread.java:534) > [10:38:59.316] Took Type: java.io.PrintWriter > [2005-10-31 10:38:59.316] Took Type: java.io.PrintWriter -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
