java.lang.ClassCastException: com.sun.facelets.component.UIFacelet at com.sun.faces.application.StateManagerImpl.restoreTree(StateManagerIm pl.java:607) at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerIm pl.java:166) at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl .java:256) at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.ja va:233) at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.jav a:129)

Oracle Community | smelb | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JSF 1.2 RESTORE_VIEW postback exception

    Oracle Community | 1 decade ago | smelb
    java.lang.ClassCastException: com.sun.facelets.component.UIFacelet at com.sun.faces.application.StateManagerImpl.restoreTree(StateManagerIm pl.java:607) at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerIm pl.java:166) at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl .java:256) at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.ja va:233) at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.jav a:129)
  2. 0

    PrimeFaces Community Forum • View topic - ClassCastException when processing AJAX request

    primefaces.org | 2 years ago
    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.util.Map

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.facelets.component.UIFacelet at com.sun.faces.application.StateManagerImpl.restoreTree(StateManagerIm pl.java:607) at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerIm pl.java:166) at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl .java:256) at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.ja va:233) at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.jav a:129)

      at com.sun.faces.lifecycle.LifecycleImpl.phase()
    2. JSF
      LifecycleImpl.execute
      1. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:243)
      2. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
      2 frames
    3. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      1 frame