javax.faces.FacesException: Problem in renderResponse: null

ICEsoft JIRA Issue Tracker | Aymangh Elgharabawy | 8 years ago
  1. 0

    I am using spring webflow 2.0.3 and icefaces 1.7.2. Icefaces and springwebflow is worken fine when navigation is defined in the spring webflow. However I have jsf page not defined in spring webflow. It works fine without any icefaces component. When I add icefaces form I got the following exception javax.faces.FacesException: Problem in renderResponse: null at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:294) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18) at com.icesoft.faces.context.View$2.respond(View.java:44) at com.icesoft.faces.webapp.http.servlet.GlassFishAdaptingServlet$GlassFishRequestResponse.respondWith(GlassFishAdaptingServlet.java:159) at com.icesoft.faces.context.View.servePage(View.java:274) at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38) at com.icesoft.faces.webapp.http.servlet.GlassFishAdaptingServlet.service(GlassFishAdaptingServlet.java:60) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:309) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:192) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:404) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.executeServlet(CometEngine.java:547) at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.handle(CometEngine.java:299) at com.sun.enterprise.web.connector.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:87) at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:175) at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:153) at com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask.doTask(AsyncProcessorTask.java:92) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) Caused by: java.lang.NullPointerException at com.icesoft.util.SeamUtilities.getSpringFlowId(SeamUtilities.java:521) at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.encodeBegin(FormRenderer.java:150) at com.icesoft.faces.component.ext.renderkit.FormRenderer.encodeBegin(FormRenderer.java:53) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:568) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575) at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282) ... 53 more I found in line 512 in SeamUtilities file that RequestContextHolder.getRequestContext() returns null. Can Icefaces skip getting the flowexecutionkey when I am runing jsf page not define in spring webflow even if the spring environment is loaded ?

    ICEsoft JIRA Issue Tracker | 8 years ago | Aymangh Elgharabawy
    javax.faces.FacesException: Problem in renderResponse: null
  2. 0

    I am using spring webflow 2.0.3 and icefaces 1.7.2. Icefaces and springwebflow is worken fine when navigation is defined in the spring webflow. However I have jsf page not defined in spring webflow. It works fine without any icefaces component. When I add icefaces form I got the following exception javax.faces.FacesException: Problem in renderResponse: null at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:294) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18) at com.icesoft.faces.context.View$2.respond(View.java:44) at com.icesoft.faces.webapp.http.servlet.GlassFishAdaptingServlet$GlassFishRequestResponse.respondWith(GlassFishAdaptingServlet.java:159) at com.icesoft.faces.context.View.servePage(View.java:274) at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38) at com.icesoft.faces.webapp.http.servlet.GlassFishAdaptingServlet.service(GlassFishAdaptingServlet.java:60) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:309) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:192) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:404) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.executeServlet(CometEngine.java:547) at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.handle(CometEngine.java:299) at com.sun.enterprise.web.connector.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:87) at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:175) at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:153) at com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask.doTask(AsyncProcessorTask.java:92) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) Caused by: java.lang.NullPointerException at com.icesoft.util.SeamUtilities.getSpringFlowId(SeamUtilities.java:521) at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.encodeBegin(FormRenderer.java:150) at com.icesoft.faces.component.ext.renderkit.FormRenderer.encodeBegin(FormRenderer.java:53) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:568) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575) at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282) ... 53 more I found in line 512 in SeamUtilities file that RequestContextHolder.getRequestContext() returns null. Can Icefaces skip getting the flowexecutionkey when I am runing jsf page not define in spring webflow even if the spring environment is loaded ?

    ICEsoft JIRA Issue Tracker | 8 years ago | Aymangh Elgharabawy
    javax.faces.FacesException: Problem in renderResponse: null
  3. 0

    Icefaces and Spring Web Flow 2.0 Integration

    icesoft.org | 1 year ago
    javax.faces.FacesException: Problem in renderResponse: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error with Icefaces 1.8.2 and SWF 2.0.8

    Icesoft | 7 years ago | perrotekel
    javax.faces.FacesException: Problem in renderResponse: null
  6. 0

    Re:SWF 2.0.7 anybody?

    Icesoft | 8 years ago | sanshrine
    javax.faces.FacesException: Problem in renderResponse: null

    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.NullPointerException

      No message provided

      at com.icesoft.util.SeamUtilities.getSpringFlowId()
    2. com.icesoft.util
      SeamUtilities.getSpringFlowId
      1. com.icesoft.util.SeamUtilities.getSpringFlowId(SeamUtilities.java:521)
      1 frame
    3. com.icesoft.faces
      FormRenderer.encodeBegin
      1. com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.encodeBegin(FormRenderer.java:150)
      2. com.icesoft.faces.component.ext.renderkit.FormRenderer.encodeBegin(FormRenderer.java:53)
      2 frames
    4. JavaEE 7
      UIComponentBase.encodeBegin
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
      1 frame
    5. com.icesoft.faces
      D2DViewHandler.renderView
      1. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:568)
      2. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
      3. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
      4. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
      5. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
      6. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
      7. com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282)
      8. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159)
      8 frames
    6. 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
    7. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
      2. com.icesoft.faces.context.View$2.respond(View.java:44)
      3. com.icesoft.faces.webapp.http.servlet.GlassFishAdaptingServlet$GlassFishRequestResponse.respondWith(GlassFishAdaptingServlet.java:159)
      4. com.icesoft.faces.context.View.servePage(View.java:274)
      5. com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)
      6. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
      7. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
      8. com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
      9. com.icesoft.faces.webapp.http.servlet.GlassFishAdaptingServlet.service(GlassFishAdaptingServlet.java:60)
      10. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
      11. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
      12. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
      13. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
      13 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    10. Glassfish Core
      SecurityUtil$1.run
      1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276)
      1 frame
    11. Java RT
      Subject.doAsPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      2 frames
    12. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:309)
      2. org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:192)
      3. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:404)
      4. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
      5. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
      6. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      8 frames
    13. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      1 frame
    14. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      6. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      10 frames
    15. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
      1 frame
    16. Glassfish Core
      DefaultProcessorTask.invokeAdapter
      1. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
      1 frame
    17. Grizzly Compat
      CometAsyncFilter.doFilter
      1. com.sun.enterprise.web.connector.grizzly.comet.CometEngine.executeServlet(CometEngine.java:547)
      2. com.sun.enterprise.web.connector.grizzly.comet.CometEngine.handle(CometEngine.java:299)
      3. com.sun.enterprise.web.connector.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:87)
      3 frames
    18. 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
    19. Glassfish Core
      TaskBase.run
      1. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
      1 frame
    20. Grizzly HTTP
      SSLWorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      1 frame