You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Lisa Sanchez (JIRA)" <de...@myfaces.apache.org> on 2007/03/01 22:34:50 UTC

[jira] Created: (MYFACES-1550) generated MyFaces id's produce duplicates which throw exceptions in container, rendering existing apps unusable

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 <f:facet tag.  I have a page with a <t:dataTable and several columns that use the <f:facet> 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.


[jira] Commented: (MYFACES-1550) generated MyFaces id's produce duplicates which throw exceptions in container, rendering existing apps unusable

Posted by "Guy Coleman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478040 ] 

Guy Coleman commented on MYFACES-1550:
--------------------------------------

The duplicate IDs I'm getting turned out to be programmer error with manually assigned IDs.

1.1.3 displayed the warning "There is more than one JSF tag with an id.." whereas 1.1.5 throws an exception. Our JSPs need fixing.

> 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: Lisanchez
>            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 <f:facet tag.  I have a page with a <t:dataTable and several columns that use the <f:facet> 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.


[jira] Commented: (MYFACES-1550) generated MyFaces id's produce duplicates which throw exceptions in container, rendering existing apps unusable

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531067 ] 

Martin Marinschek commented on MYFACES-1550:
--------------------------------------------

Facelets has a duplicate id problem with facets in the latest released version (1.1.11) this has been fixed in the beta releases thereafter and the current head. This is therefore not a problem with MyFaces.

regards,

Martin

> 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: Lisanchez
>            Priority: Blocker
>             Fix For: 1.1.6
>
>
> 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 <f:facet tag.  I have a page with a <t:dataTable and several columns that use the <f:facet> 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.


[jira] Commented: (MYFACES-1550) generated MyFaces id's produce duplicates which throw exceptions in container, rendering existing apps unusable

Posted by "Guy Coleman (JIRA)" <de...@myfaces.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 <f:facet tag.  I have a page with a <t:dataTable and several columns that use the <f:facet> 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.


[jira] Commented: (MYFACES-1550) generated MyFaces id's produce duplicates which throw exceptions in container, rendering existing apps unusable

Posted by "Guy Coleman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477251 ] 

Guy Coleman commented on MYFACES-1550:
--------------------------------------

I'm using JSP.

> 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: Lisanchez
>            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 <f:facet tag.  I have a page with a <t:dataTable and several columns that use the <f:facet> 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.


[jira] Commented: (MYFACES-1550) generated MyFaces id's produce duplicates which throw exceptions in container, rendering existing apps unusable

Posted by "Scott Seiter (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477236 ] 

Scott Seiter commented on MYFACES-1550:
---------------------------------------

I notice we're both using Facelets (I'm using version 1.1.11).  The 1.1.5 release version isn't working for me either.

In my own testing, this is also broken in the Feb 3 1.1.5 snapshot currently found at http://people.apache.org/maven-snapshot-repository/org/apache/myfaces/core/myfaces-api/1.1.5-SNAPSHOT/.

It does work using Tomahawk 1.1.3 in conjunction with MyFaces 1.1.4.

> 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: Lisanchez
>            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 <f:facet tag.  I have a page with a <t:dataTable and several columns that use the <f:facet> 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.


[jira] Resolved: (MYFACES-1550) generated MyFaces id's produce duplicates which throw exceptions in container, rendering existing apps unusable

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Marinschek resolved MYFACES-1550.
----------------------------------------

    Resolution: Invalid

> 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: Lisanchez
>            Priority: Blocker
>             Fix For: 1.1.6
>
>
> 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 <f:facet tag.  I have a page with a <t:dataTable and several columns that use the <f:facet> 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.