javax.faces.FacesException: Unexpected error restoring state for component with id navigationMenuForm:j_idt30:j_idt33. Cause: java.lang.IllegalStateException: java.lang.InstantiationException: com.genericos.PuntoMenu.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This happens when you try to instantiate a class that can't be instantiated, either because the class object is abstract, an interface, an array class, a primitive type, void, or because the class has no nullary constructor.

Solutions on the web

via Icesoft by jmerino, 1 year ago
Unexpected error restoring state for component with id navigationMenuForm:j_idt30:j_idt33. Cause: java.lang.IllegalStateException: java.lang.InstantiationException: com.genericos.PuntoMenu.
via Oracle Community by 835390, 11 months ago
Unexpected error restoring state for component with id castle-list:j_idt12:castle-resident-list. Cause: org.hibernate.LazyInitializationException: failed to lazily initialize a collection, no session or session was closed.
via Stack Overflow by Selvin
, 2 years ago
Unexpected error restoring state for component with id j_idt7. Cause: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0.
via Stack Overflow by user871611
, 1 year ago
Unexpected error restoring state for component with id someForm:someField. Cause: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1.
via primefaces.org by Unknown author, 2 years ago
Unexpected error restoring state for component with id j_idt3.  Cause: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0.
via icesoft.org by Unknown author, 1 year ago
Unexpected error restoring state for component with id javax_faces_location_HEAD. Cause: java.lang.ClassCastException: com.sun.faces.application.view.StateHolderSaver cannot be cast to [Ljava.lang.Object;.
javax.faces.FacesException: Unexpected error restoring state for component with id navigationMenuForm:j_idt30:j_idt33. Cause: java.lang.IllegalStateException: java.lang.InstantiationException: com.genericos.PuntoMenu.
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:107)
at javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1582)
at javax.faces.component.ComponentStateHelper.restoreState(ComponentStateHelper.java:290)
at com.icesoft.faces.component.panelseries.UISeries.restoreState(UISeries.java:644)
at com.icesoft.faces.component.panelseries.PanelSeries.restoreState(PanelSeries.java:138)
at com.sun.faces.application.view.StateManagementStrategyImpl$2.visit(StateManagementStrategyImpl.java:231)
at com.icesoft.faces.component.panelseries.UISeries.visitTree(UISeries.java:830)
at com.icesoft.faces.component.panelseries.UISeries.visitColumnsAndRows(UISeries.java:914)
at com.icesoft.faces.component.panelseries.UISeries.visitTree(UISeries.java:848)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
at javax.faces.component.UIForm.visitTree(UIForm.java:333)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
at com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStrategyImpl.java:223)
at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:177)
at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:131)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:430)
at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:143)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:199)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
178 times, 5 months ago
2 times, 6 months ago
8 times, 8 months ago
38 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.