java.lang.IllegalStateException: java.lang.InstantiationException: com.op.framework.navigation.NavigationToolbarItem.

ICEsoft JIRA Issue Tracker | Guido Patanella | 6 years ago
  1. 0

    Using: - latest version of Glassfish 3.0.1 ( Includes Mojarra 2.0.2 compatible to IceFaces 2 Beta 1 ). - Netbeans 6.9 - IceFaces 2 Beta1 plugin I have updated the plugin from an Alpha3 to Beta1 and got this issue, then I wipped out my NetBeans instlalation and reinstalled it, applying the new Beta1 plugin from scratch. Still same problem. The same application used to work perfectly on Alpha3. Deploying the app the initial page loads, but any action results in an IllegalStateException with the following stack trace: [#|2010-07-23T08:45:55.208-0500|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=Thread-1;|javax.faces.FacesException: Unexpected err or restoring state for component with id j_idt7:j_idt144:j_idt149. Cause: java.lang.IllegalStateException: java.lang.InstantiationException: com.op.framework.navigation.NavigationToolbarItem. at com.sun.faces.application.view.StateManagementStrategyImpl$2.visit(StateManagementStrategyImpl.java:239) at com.sun.faces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:147) at com.icesoft.faces.component.panelseries.UISeries.visitTree(UISeries.java:830) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457) 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.UIComponent.visitTree(UIComponent.java:1457) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457) 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 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 javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:288) 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 com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.IllegalStateException: java.lang.InstantiationException: com.op.framework.navigation.NavigationToolbarItem at javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:110) at javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1582) at javax.faces.component.ComponentStateHelper.restoreState(ComponentStateHelper.java:290) at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1444) 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) ... 48 more Caused by: java.lang.InstantiationException: com.op.framework.navigation.NavigationToolbarItem at java.lang.Class.newInstance0(Class.java:340) at java.lang.Class.newInstance(Class.java:308) at javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:107) ... 54 more

    ICEsoft JIRA Issue Tracker | 6 years ago | Guido Patanella
    java.lang.IllegalStateException: java.lang.InstantiationException: com.op.framework.navigation.NavigationToolbarItem.
  2. 0

    Using: - latest version of Glassfish 3.0.1 ( Includes Mojarra 2.0.2 compatible to IceFaces 2 Beta 1 ). - Netbeans 6.9 - IceFaces 2 Beta1 plugin I have updated the plugin from an Alpha3 to Beta1 and got this issue, then I wipped out my NetBeans instlalation and reinstalled it, applying the new Beta1 plugin from scratch. Still same problem. The same application used to work perfectly on Alpha3. Deploying the app the initial page loads, but any action results in an IllegalStateException with the following stack trace: [#|2010-07-23T08:45:55.208-0500|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=Thread-1;|javax.faces.FacesException: Unexpected err or restoring state for component with id j_idt7:j_idt144:j_idt149. Cause: java.lang.IllegalStateException: java.lang.InstantiationException: com.op.framework.navigation.NavigationToolbarItem. at com.sun.faces.application.view.StateManagementStrategyImpl$2.visit(StateManagementStrategyImpl.java:239) at com.sun.faces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:147) at com.icesoft.faces.component.panelseries.UISeries.visitTree(UISeries.java:830) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457) 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.UIComponent.visitTree(UIComponent.java:1457) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457) 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 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 javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:288) 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 com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.IllegalStateException: java.lang.InstantiationException: com.op.framework.navigation.NavigationToolbarItem at javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:110) at javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1582) at javax.faces.component.ComponentStateHelper.restoreState(ComponentStateHelper.java:290) at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1444) 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) ... 48 more Caused by: java.lang.InstantiationException: com.op.framework.navigation.NavigationToolbarItem at java.lang.Class.newInstance0(Class.java:340) at java.lang.Class.newInstance(Class.java:308) at javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:107) ... 54 more

    ICEsoft JIRA Issue Tracker | 6 years ago | Guido Patanella
    java.lang.IllegalStateException: java.lang.InstantiationException: com.op.framework.navigation.NavigationToolbarItem.
  3. 0

    Problem with PanelSeries inside CollapsiblePanel

    Icesoft | 6 years ago | jmerino
    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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.InstantiationException: my.package.CustomActionListener with non-default constructor

    Stack Overflow | 2 years ago | programmer
    java.lang.IllegalStateException: java.lang.InstantiationException: my.package.CustomActionListener
  6. 0

    Apache Spark re-split large files

    Stack Overflow | 2 years ago | TudorV
    java.lang.InstantiationException: $iwC$$iwC$NLinesInputFormat

  1. tzrlk 1 times, last 3 weeks ago
  2. lribeiro 2 times, last 3 months ago
  3. brunosatriani 40 times, last 5 months ago
  4. Diogo Jaym 2 times, last 5 months ago
  5. Ranjana Dangol 12 times, last 5 months ago
7 more registered users
44 unregistered visitors
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.InstantiationException

    com.op.framework.navigation.NavigationToolbarItem

    at java.lang.Class.newInstance0()
  2. Java RT
    Class.newInstance
    1. java.lang.Class.newInstance0(Class.java:340)
    2. java.lang.Class.newInstance(Class.java:308)
    2 frames
  3. JavaEE 7
    UIComponentBase.restoreState
    1. javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:107)
    2. javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1582)
    3. javax.faces.component.ComponentStateHelper.restoreState(ComponentStateHelper.java:290)
    4. javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1444)
    4 frames
  4. com.icesoft.faces
    PanelSeries.restoreState
    1. com.icesoft.faces.component.panelseries.UISeries.restoreState(UISeries.java:644)
    2. com.icesoft.faces.component.panelseries.PanelSeries.restoreState(PanelSeries.java:138)
    2 frames
  5. JSF
    FullVisitContext.invokeVisitCallback
    1. com.sun.faces.application.view.StateManagementStrategyImpl$2.visit(StateManagementStrategyImpl.java:231)
    2. com.sun.faces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:147)
    2 frames
  6. com.icesoft.faces
    UISeries.visitTree
    1. com.icesoft.faces.component.panelseries.UISeries.visitTree(UISeries.java:830)
    1 frame
  7. JavaEE 7
    UIComponent.visitTree
    1. javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    2. javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    2 frames
  8. com.icesoft.faces
    UISeries.visitTree
    1. com.icesoft.faces.component.panelseries.UISeries.visitColumnsAndRows(UISeries.java:914)
    2. com.icesoft.faces.component.panelseries.UISeries.visitTree(UISeries.java:848)
    2 frames
  9. JavaEE 7
    UIComponent.visitTree
    1. javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    2. javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    3. javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    4. javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    5. javax.faces.component.UIForm.visitTree(UIForm.java:333)
    6. javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    7. javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    7 frames
  10. JSF
    MultiViewHandler.restoreView
    1. com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStrategyImpl.java:223)
    2. com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:177)
    3. com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:131)
    4. com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:430)
    5. com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:143)
    5 frames
  11. JavaEE 7
    ViewHandlerWrapper.restoreView
    1. javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:288)
    1 frame
  12. JSF
    LifecycleImpl.execute
    1. com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:199)
    2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    3. com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
    4. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    4 frames
  13. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
    1 frame
  14. Glassfish Core
    StandardPipeline.invoke
    1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
    2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
    3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
    4 frames
  15. Glassfish
    PESessionLockingStandardPipeline.invoke
    1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
    2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
    2 frames
  16. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
    2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
    3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
    3 frames
  17. Kernel Classes
    ContainerMapper.service
    1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
    1 frame
  18. Grizzly WS
    AbstractThreadPool$Worker.run
    1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
    2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
    3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
    4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
    5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
    6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
    7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
    8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
    10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
    11. com.sun.grizzly.ContextTask.run(ContextTask.java:69)
    12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
    13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
    13 frames
  19. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame