nullpointerexception « JSF « Spring Q&A

1. facescontext.getcurrentinstance returns nullpointerexception

I am creating a Spring based JSF application, where I am getting FacesContext.getCurrentInstance which returns null. Here is my Java code

public static ServletContext getServletContext() 

2. java.lang.NullPointerException at org.springframework.faces.webflow.FlowViewStateManager.saveView

I started a project with JSF 2.1, Spring 3.0.5, Spring Web Flow 2.3.0 in Tomcat 7.0.22. When I put SWF JAR files (binding, faces, js, js.resources and webflow) in classpath, I can't ...

3. Getting NullPointerException while trying to auth with jsf

Getting NullPointerException while trying to auth with jsf Hi, based on Victors blog, who is busy and has no time to respond I am trying to use his way he implemented ...