Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 17373 invoked from network); 2 Mar 2007 09:31:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2007 09:31:15 -0000 Received: (qmail 46692 invoked by uid 500); 2 Mar 2007 09:31:23 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 46397 invoked by uid 500); 2 Mar 2007 09:31:21 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 46376 invoked by uid 99); 2 Mar 2007 09:31:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2007 01:31:21 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2007 01:31:11 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D15EA7142E0 for ; Fri, 2 Mar 2007 01:30:50 -0800 (PST) Message-ID: <2347507.1172827850855.JavaMail.jira@brutus> Date: Fri, 2 Mar 2007 01:30:50 -0800 (PST) From: "Guy Coleman (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-1550) generated MyFaces id's produce duplicates which throw exceptions in container, rendering existing apps unusable In-Reply-To: <27543775.1172784890947.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MYFACES-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477233 ] Guy Coleman commented on MYFACES-1550: -------------------------------------- I've seen this after upgrading from 1.1.3 to 1.1.5. It happens when an action method returns null. > generated MyFaces id's produce duplicates which throw exceptions in container, rendering existing apps unusable > --------------------------------------------------------------------------------------------------------------- > > Key: MYFACES-1550 > URL: https://issues.apache.org/jira/browse/MYFACES-1550 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 1.1.5 > Environment: MyFaces 1.1.5, WindowsXP, Tomcat5.5.20 > Reporter: Lisa Sanchez > Priority: Blocker > Fix For: 1.1.5 > > > Pages that once worked (1.1.5) stopped working for some reason (within the past week). The issue seems to be with generated id's on components. > You will see this where you load a page and then reload the same page through a hyperlink or rendering for the second time. > There seems to be some correlation with the tag to provide the column header. The page loads just fine initially but if I reload, I get a blank screen and the following message in my Tomcat log file. > If I remove the column header and the facet tag, I do not see the error. About a week ago there were no problems with this page so it is something new that has been introduced and should be fixed. > --- > Mar 1, 2007 2:29:16 PM com.sun.facelets.FaceletViewHandler handleRenderException > SEVERE: Error Rendering View[/web/Summary.xhtml] > java.lang.IllegalStateException: Client-id : _id32 is duplicated in the faces tr > ee. Component : _id30:_id31:_id32, path: {Component-Path : [Class: javax.faces.c > omponent.UIViewRoot,ViewId: /web/Summary.xhtml][Class: org.ap > ache.myfaces.custom.document.Document,Id: _id12][Class: javax.faces.component.ht > ml.HtmlForm,Id: _id30][Class: org.apache.myfaces.component.html.ext.HtmlDataTabl > e,Id: _id31][Class: javax.faces.component.UIColumn,Id: _id32][Class: javax.faces > .component.html.HtmlOutputText,Id: _id32]} > at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic > ateIds(JspStateManagerImpl.java:329) > at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic > ateIds(JspStateManagerImpl.java:341) > at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic > ateIds(JspStateManagerImpl.java:338) > at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic > ateIds(JspStateManagerImpl.java:338) > at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic > ateIds(JspStateManagerImpl.java:341) > at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic > ateIds(JspStateManagerImpl.java:341) > at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerialized > View(JspStateManagerImpl.java:286) > at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav > a:601) > at com.presence.util.bb.customjsf.PtViewHandler.renderView(PtViewHandler > .java:107) > at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderRes > ponseExecutor.java:41) > at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java: > 132) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl > icationFilterChain.java:252) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF > ilterChain.java:173) > at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.do > FilterInternal(OpenSessionInViewFilter.java:173) > at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR > equestFilter.java:77) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl > icationFilterChain.java:202) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF > ilterChain.java:173) > at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions > Filter.java:190) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl > icationFilterChain.java:202) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF > ilterChain.java:173) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV > alve.java:213) > at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV > alve.java:178) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j > ava:126) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j > ava:105) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal > ve.java:107) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav > a:148) > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java > :869) > at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p > rocessConnection(Http11BaseProtocol.java:664) > at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo > int.java:527) > at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol > lowerWorkerThread.java:80) > at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP > ool.java:684) > at java.lang.Thread.run(Thread.java:619) > --- -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.