nullpointerexception « Seam « JSF Q&A

1. JSF NullPointerException at SeamViewHandler.calculateLocale

I have been trying to read a database in my JSF webapp. I am using the code given from BalusC Code blog:

However when I set up everything ...

2. Getting NullPointerException in Seam when trying to get ResponseWriter from FacesContext

I am working on a Seam app. I am trying to get the ResponseWriter from the FacesContext, but I get a NullPointerException. I can get a FacesContext by calling

FacesContext context ...