Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3508

ClassCastException during RestoreView with MyFaces 2.1.7-SNAPSHOT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.7-SNAPSHOT
    • 2.0.13, 2.1.7
    • JSR-314
    • None
    • Tomcat 6.x jdk 1.6 linux/windows

    Description

      With MyFaces 2.1.7-SNAPSHOT sometimes we see this stacktrace:

      Caused by: java.lang.ClassCastException:
      org.apache.myfaces.renderkit.html.HtmlTextRenderer cannot be cast to
      javax.faces.event.ComponentSystemEventListener
      at
      javax.faces.component.UIComponent$EventListenerWrapper.restoreState(UIComponent.java:1600)
      at
      javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1878)
      at javax.faces.component._DeltaList.restoreState(_DeltaList.java:254)
      at
      javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1878)
      at
      javax.faces.component.UIComponentBase.restoreFullSystemEventListenerClassMap(UIComponentBase.java:2181)
      at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:2021)
      at javax.faces.component.UIOutput.restoreState(UIOutput.java:209)
      at
      javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1593)
      at
      org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy$2.invokeContextCallback(DefaultFaceletsStateManagementStrategy.java:441)
      at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:227)
      at
      javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:1136)
      at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:238)
      at
      javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:1136)

      test and other informations:
      http://www.mail-archive.com/users@myfaces.apache.org/msg58543.html

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            wojtask9 wojtask
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: