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 | 10 years ago
  1. 0

    JSF 1.2 RESTORE_VIEW postback exception

    Oracle Community | 10 years 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 | 1 year ago
    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.util.Map
  3. 0

    Eclipse Community Forums: EMF » ClassCastException on.DynamicEObjectImpl

    eclipse.org | 6 months ago
    java.lang.ClassCastException: org.eclipse.emf.ecore.impl.DynamicEObjectImpl cannot be cast to fr.irit.ifclipse.metamodel.IFConfig.IFConfig at fr.irit.ifclipse.views.IFConfigurationView$ViewContentProvid er.initialize(IFConfigurationView.java:233) at fr.irit.ifclipse.views.IFConfigurationView$ViewContentProvid er.getElements(IFConfigurationView.java:158) at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(St ructuredViewer.java:989) at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(Column Viewer.java:703) at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren( AbstractTreeViewer.java:1332) at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeView er.java:391) at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildr en(StructuredViewer.java:896) at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildr en(AbstractTreeViewer.java:601) at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:801) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:778) at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:644) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:749) at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitial izeTree(AbstractTreeViewer.java:1492) at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree( TreeViewer.java:833) at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractT reeViewer.java:1476) at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1422) at org.eclipse.jface.viewers.TreeViewer.preservingSelection(Tre eViewer.java:403) at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1383) at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(Ab stractTreeViewer.java:1469) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:274) at org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1664) at fr.irit.ifclipse.views.IFConfigurationView.createPartControl (IFConfigurationView.java:303) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:375) at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:229) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:31 3) at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:52 9) at org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180) at org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473) at org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1254) at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:666) at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:574) at org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568) at org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:272) at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:981) at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:2632) at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWind ow.java:2986) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:2967) at org.eclipse.ui.internal.WorkbenchWindow$21.runWithException( WorkbenchWindow.java:2284) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3660) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803) at org.eclipse.ui.internal.Workbench$31.runWithException(Workbe nch.java:1567) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3660) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:24 38)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    deserializing ArrayList with Hashtable fails

    flexjson | 6 years ago | maverick1st
    java.lang.ClassCastException: java.util.HashMap at *****.CheckListAdapter.getView(CheckListAdapter.java:129)
  6. 0

    Eclipse Community Forums: EMF » ClassCastException on.DynamicEObjectImpl

    eclipse.org | 6 months ago
    java.lang.ClassCastException: org.eclipse.emf.ecore.impl.DynamicEObjectImpl cannot be cast to fr.irit.ifclipse.metamodel.IFConfig.IFConfig at fr.irit.ifclipse.views.IFConfigurationView$ViewContentProvid er.initialize(IFConfigurationView.java:233) at fr.irit.ifclipse.views.IFConfigurationView$ViewContentProvid er.getElements(IFConfigurationView.java:158) at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(St ructuredViewer.java:989) at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(Column Viewer.java:703) at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren( AbstractTreeViewer.java:1332) at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeView er.java:391) at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildr en(StructuredViewer.java:896) at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildr en(AbstractTreeViewer.java:601) at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:801) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:778) at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:644) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:749) at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitial izeTree(AbstractTreeViewer.java:1492) at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree( TreeViewer.java:833) at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractT reeViewer.java:1476) at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1422) at org.eclipse.jface.viewers.TreeViewer.preservingSelection(Tre eViewer.java:403) at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1383) at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(Ab stractTreeViewer.java:1469) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:274) at org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1664) at fr.irit.ifclipse.views.IFConfigurationView.createPartControl (IFConfigurationView.java:303) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:375) at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:229) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:31 3) at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:52 9) at org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180) at org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473) at org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1254) at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:666) at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:574) at org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568) at org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:272) at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:981) at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:2632) at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWind ow.java:2986) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:2967) at org.eclipse.ui.internal.WorkbenchWindow$21.runWithException( WorkbenchWindow.java:2284) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3660) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803) at org.eclipse.ui.internal.Workbench$31.runWithException(Workbe nch.java:1567) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3660) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:24 38)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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