com.sun.rave.web.ui.appbase.ApplicationException: FacesContext not instance of BridgeFacesContext

Icesoft | bbergquist | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem trying to get simple app with woodstock and icefaces 1.8 to play nice

    Icesoft | 8 years ago | bbergquist
    com.sun.rave.web.ui.appbase.ApplicationException: FacesContext not instance of BridgeFacesContext

    Root Cause Analysis

    1. java.lang.IllegalStateException

      FacesContext not instance of BridgeFacesContext

      at com.icesoft.faces.application.ViewRootStateManagerImpl.saveView()
    2. com.icesoft.faces
      ViewRootStateManagerImpl.saveView
      1. com.icesoft.faces.application.ViewRootStateManagerImpl.saveView(ViewRootStateManagerImpl.java:145)
      1 frame
    3. com.sun.faces
      DeferredStateManager.saveView
      1. com.sun.faces.extensions.avatar.application.DeferredStateManager.saveView(DeferredStateManager.java:69)
      1 frame
    4. JSF
      ViewHandlerImpl.renderView
      1. com.sun.faces.application.ViewHandlerImpl$WriteBehindStateWriter.flushToWriter(ViewHandlerImpl.java:897)
      2. com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:184)
      2 frames
    5. com.sun.rave
      ViewHandlerImpl.renderView
      1. com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:320)
      1 frame
    6. com.icesoft.faces
      D2DViewHandler.renderView
      1. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:145)
      1 frame
    7. org.icefaces.netbeans
      ViewHandlerImpl.renderView
      1. org.icefaces.netbeans.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:296)
      1 frame
    8. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      3 frames
    9. com.sun.faces
      PartialTraversalLifecycle.render
      1. com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:106)
      1 frame
    10. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      1 frame
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
      3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      3 frames
    12. com.sun.webui
      UploadFilter.doFilter
      1. com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267)
      1 frame
    13. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
      4. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
      6. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      7 frames
    14. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
      2 frames
    15. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
      6. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
      10 frames
    16. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
      1 frame
    17. Glassfish Core
      DefaultProcessorTask.invokeAdapter
      1. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
      1 frame
    18. Grizzly Compat
      CometAsyncFilter.doFilter
      1. com.sun.enterprise.web.connector.grizzly.comet.CometEngine.executeServlet(CometEngine.java:609)
      2. com.sun.enterprise.web.connector.grizzly.comet.CometEngine.handle(CometEngine.java:356)
      3. com.sun.enterprise.web.connector.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:84)
      3 frames
    19. Grizzly HTTP
      AsyncProcessorTask.doTask
      1. com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:175)
      2. com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:153)
      3. com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask.doTask(AsyncProcessorTask.java:92)
      3 frames
    20. Glassfish Core
      TaskBase.run
      1. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
      1 frame
    21. Grizzly HTTP
      SSLWorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      1 frame