java.lang.NullPointerException: FacesContext is null

Icesoft | czareko | 8 years ago
  1. 0

    Logout problem

    Icesoft | 8 years ago | czareko
    java.lang.NullPointerException: FacesContext is null
  2. 0

    application running fine - .NullPointerException: FacesContext is null

    Oracle Community | 7 years ago | 843844
    java.lang.NullPointerException: FacesContext is null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    JSF SWF-2.0-m3 - Spring Forum

    spring.io | 12 months ago
    java.lang.NullPointerException: FacesContext is null
  5. 0

    Seam view aliases

    Stack Overflow | 7 years ago
    java.lang.NullPointerException: FacesContext is null

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

      FacesContext is null

      at org.ajax4jsf.context.AjaxContext.getCurrentInstance()
    2. org.ajax4jsf.context
      AjaxContext.getCurrentInstance
      1. org.ajax4jsf.context.AjaxContext.getCurrentInstance(AjaxContext.java:111)
      2. org.ajax4jsf.context.AjaxContext.getCurrentInstance(AjaxContext.java:95)
      2 frames
    3. RichFaces Core API
      AjaxViewRoot.getViewId
      1. org.ajax4jsf.component.AjaxViewRoot.getViewId(AjaxViewRoot.java:439)
      1 frame
    4. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:178)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      3 frames
    5. 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.ServletRequestResponse.respondWith(ServletRequestResponse.java:167)
      4. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
      5. com.icesoft.faces.context.View.servePage(View.java:274)
      6. com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)
      7. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
      8. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
      9. com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
      10. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
      11. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
      12. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
      13. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
      14. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
      14 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      1 frame
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    8. org.jboss.seam
      SeamFilter$FilterChainImpl.doFilter
      1. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      2. org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      3. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      4. org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      5. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      5 frames
    9. org.ajax4jsf.webapp
      BaseFilter.doFilter
      1. org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      2. org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      2 frames
    10. org.jboss.seam
      SeamFilter.doFilter
      1. org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      2. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      3. org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      4. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      5. org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
      6. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      7. org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      7 frames
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    12. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    13. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      4 frames
    14. JBoss Application Server Tomcat
      JaccContextValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
      2. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      2 frames
    15. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      2 frames
    16. JBoss Application Server Tomcat
      CachedConnectionValve.invoke
      1. org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      1 frame
    17. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      2 frames
    18. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      3 frames
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame