myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias We├čendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Resolved: (TRINIDAD-1025) HTML Comment causes ClassCastException
Date Sat, 16 Jan 2010 16:09:54 GMT

     [ https://issues.apache.org/jira/browse/TRINIDAD-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matthias We├čendorf resolved TRINIDAD-1025.
------------------------------------------

    Resolution: Cannot Reproduce

works in jspx for me

> HTML Comment causes ClassCastException
> --------------------------------------
>
>                 Key: TRINIDAD-1025
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1025
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.5-core, 1.0.6-core
>         Environment: WinXP / JBoss
>            Reporter: Steve Horne
>            Priority: Minor
>         Attachments: commentTest.jsp, TableTest.java
>
>
> An HTML Comment following a <tr:table> tag will result in a ClassCastException.
 The first time the page is rendered, everything works OK.  Submitting the form and re-rendering
causes the exception.
> The cause has been localized to the presence of an HTML Comment (e.g.  <!-- comment
 -->) immediately following the <tr:table> tag.
> An example is attached.  To recreate, when the page renders, click the button at the
bottom of the screen labeled "go for it".
> The stack trace is as follows:
> 14:24:31,383 INFO  [STDOUT] 14:24:31,383 ERROR [[faces]] Servlet.service() for servlet
faces threw exception
> java.lang.ClassCastException: org.apache.myfaces.trinidad.component.UIXCollection$Transient
> 	at org.apache.myfaces.trinidad.component.StampState.restoreChildStampState(StampState.java:204)
> 	at org.apache.myfaces.trinidad.component.UIXTable.restoreStampState(UIXTable.java:335)
> 	at org.apache.myfaces.trinidad.component.UIXCollection._restoreStampState(UIXCollection.java:1229)
> 	at org.apache.myfaces.trinidad.component.UIXCollection.postRowDataChange(UIXCollection.java:743)
> 	at org.apache.myfaces.trinidad.component.UIXCollection.setRowIndex(UIXCollection.java:439)
> 	at org.apache.myfaces.trinidad.component.UIXTable._processStamps(UIXTable.java:426)
> 	at org.apache.myfaces.trinidad.component.UIXTable.processFacetsAndChildren(UIXTable.java:283)
> 	at org.apache.myfaces.trinidad.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:194)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:905)
> 	at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:188)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:920)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:905)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:759)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:920)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:905)
> 	at org.apache.myfaces.trinidad.component.UIXForm.processDecodes(UIXForm.java:75)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:920)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:905)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:759)
> 	at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:605)
> 	at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:138)
> 	at org.apache.myfaces.lifecycle.ApplyRequestValuesExecutor.execute(ApplyRequestValuesExecutor.java:32)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:250)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:207)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:161)
> 	at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> 	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:230)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
> 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
> 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 	at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message